Search found 9 matches

by Korrel
Tuesday 03 December 2024 16:02
Forum: Switches and Scenes
Topic: Keep push button pressed in Domoticz
Replies: 12
Views: 1511

Re: Keep push button pressed in Domoticz

waltervl wrote: Sunday 01 December 2024 0:25
waltervl wrote: Saturday 30 November 2024 15:58 For RF long press signal you better check this topic: viewtopic.php?t=41057

I read it, which part of this topic is a key to the solution ?
by Korrel
Tuesday 03 December 2024 15:59
Forum: Switches and Scenes
Topic: Keep push button pressed in Domoticz
Replies: 12
Views: 1511

Re: Keep push button pressed in Domoticz

@Korrel can you show us your script? Plus I guess that just the 40 switchOn() commands will give you the same result. The code : return { on = { devices = { 'Tuinhuisje - Verwarming' } }, execute = function(domoticz, device) if device.state == 'On' then local startTime = os.time() while os.time ...
by Korrel
Saturday 30 November 2024 16:32
Forum: Switches and Scenes
Topic: Keep push button pressed in Domoticz
Replies: 12
Views: 1511

Re: Keep push button pressed in Domoticz

Don't try the loop, it'll end up into an endless loop. Walters'solution domoticz.devices('YourSwitch').switchOn.forSec(3) is the one. I actually think your approach is the correct one, though it requires additional thinking. The challenge here is not to switch on and then switch off after some ...
by Korrel
Friday 29 November 2024 15:07
Forum: Switches and Scenes
Topic: Keep push button pressed in Domoticz
Replies: 12
Views: 1511

Keep push button pressed in Domoticz

Hi guys, I have a VEVOR diesel heater with a 4 button chinese remote control... When i want to switch the heater on or off i have te keep the button on that remote pressed for 3 seconds before the heater responds... The remote control is 433 Mhz and i have learned the remote control buttons to push ...
by Korrel
Thursday 04 April 2024 15:30
Forum: Switches and Scenes
Topic: Ring 2 Doorbell
Replies: 87
Views: 40409

Re: Ring 2 Doorbell

Does anyone has the last script working? I still get only Motion events in Domoticz and no downloaded video's in the rPi directory. What code is required to get a snapshot when Motion or Ding is detected? Several things have changed in the authorisation(-token) .... See my code for a working ding ...
by Korrel
Friday 13 January 2023 9:50
Forum: Switches and Scenes
Topic: Ring 2 Doorbell
Replies: 87
Views: 40409

Re: Ring 2 Doorbell

I installed this script today and it almost works, the problem is when i actived motion detection. "last_event_type" is in my case always 'motion'... Never 'ding'. When i disabled motion detection, my 'last_event_type' is 'ding' and the script is working fine. In the most ideal situation i want one ...
by Korrel
Tuesday 02 January 2018 11:08
Forum: Python
Topic: Python Plugin: Pioneer AVR
Replies: 21
Views: 6803

Re: Python Plugin: Pioneer AVR

Woooow, what a very good worked out plan... Just the plugin that i was looking for!!! Very good work !!! To contribute to this plugin, i added some lines to the input_modes in pioneerapi.py (to support the inputs on my vsx-922)... I also put them in order to help me finding the missing ones: (and ...
by Korrel
Tuesday 03 June 2014 15:29
Forum: Blockly
Topic: Blockly examples
Replies: 709
Views: 429654

Re: Blockly examples

I see people excluding days in their equations, like day <> saturday AND day <> sunday ...

This will also work flawlessly ;)
by Korrel
Tuesday 03 June 2014 15:24
Forum: Blockly
Topic: Blockly examples
Replies: 709
Views: 429654

Re: Blockly examples

I would to like to automate pomping water through my solar heating panel whenever the sun is clearly shining / heating so i tried the attached event ... (sun is on the solar panels between 11:00 and 16:00)


However, the UVI comparison never works, anyone a idea how to fix this ?