Got it, didn't know this has to be done by autoexec.bat, thought changes had to be done inside the firmware or via "app".
I tried
"Question: How do I setup single button to control two relays (first on click, second on double click)?
A: If you set a pin role to 'Button', you will get a second textbox after saving pins. First checkbox is a channel to toggle on single click, and second textbox is a channel to toggle on double click."
under
Web Application, Pin Settings:
Here you can configure your device. "
Could not find 'Button' in the drop down list (is it Btn??)
Even Btn did not offer the toggle, just numbers.
Since the switch of this unit is at RXD1
https://www.elektroda.com/rtvforum/topic3958242.html#20836512
would this be correct?
setChannelType 1 toggle
setChannelType 2 toggle
setChannelType 3 toggle
// Btn_ScriptOnly is set on RXD1
addEventHandler OnClick RXD1 ToggleChannel 1
addEventHandler OnDblClick RXD1 ToggleChannel 2
addEventHandler On3Click RXD1 ToggleChannel 3
Aaaah CCtr meaning CloudCutter, got it. I was looking for OTA.
With 2 second delay I meant the time the switch is pressed. If I press it for ca 2 seconds and release, nothing happens.
I believe this is mostly due to the fact that it changes AFTER releasing the button, not like with another unit I have, right away-ish.
So I am trying to hold thinking it needs time to get that I'm pressing the switch...
thanks
Added after 2 [hours] 30 [minutes]:
Tried
setChannelType 1 toggle
setChannelType 2 toggle
setChannelType 3 toggle
// Btn_ScriptOnly is set on RXD1
addEventHandler OnClick RXD1 ToggleChannel 1
addEventHandler OnDblClick RXD1 ToggleChannel 2
addEventHandler On3Click RXD1 ToggleChannel 3
didn't work, bummer (did reboot etc)
Tried USART_ , nogo
Looked up what pin RXD1 is (10)
used this:
setChannelType 1 toggle
setChannelType 2 toggle
setChannelType 3 toggle
// Btn_ScriptOnly is set on 10
addEventHandler OnClick 10 ToggleChannel 1
addEventHandler OnDblClick 10 ToggleChannel 2
addEventHandler On3Click 10 ToggleChannel 3
Now:
1 click does nothing (there is a faint click, as if one of the relays wants to turn on but is stopped right immediately)
when on, 1 click turns all off,
2 clicks turn all on,
2 clicks turn all off,
3 clicks turn 3 on,
3 clicks turn 3 off
What am I doing wrong here?
I tried
"Question: How do I setup single button to control two relays (first on click, second on double click)?
A: If you set a pin role to 'Button', you will get a second textbox after saving pins. First checkbox is a channel to toggle on single click, and second textbox is a channel to toggle on double click."
under
Web Application, Pin Settings:
Here you can configure your device. "
Could not find 'Button' in the drop down list (is it Btn??)
Even Btn did not offer the toggle, just numbers.
Since the switch of this unit is at RXD1
https://www.elektroda.com/rtvforum/topic3958242.html#20836512
would this be correct?
setChannelType 1 toggle
setChannelType 2 toggle
setChannelType 3 toggle
// Btn_ScriptOnly is set on RXD1
addEventHandler OnClick RXD1 ToggleChannel 1
addEventHandler OnDblClick RXD1 ToggleChannel 2
addEventHandler On3Click RXD1 ToggleChannel 3
Aaaah CCtr meaning CloudCutter, got it. I was looking for OTA.
With 2 second delay I meant the time the switch is pressed. If I press it for ca 2 seconds and release, nothing happens.
I believe this is mostly due to the fact that it changes AFTER releasing the button, not like with another unit I have, right away-ish.
So I am trying to hold thinking it needs time to get that I'm pressing the switch...
thanks
Added after 2 [hours] 30 [minutes]:
Tried
setChannelType 1 toggle
setChannelType 2 toggle
setChannelType 3 toggle
// Btn_ScriptOnly is set on RXD1
addEventHandler OnClick RXD1 ToggleChannel 1
addEventHandler OnDblClick RXD1 ToggleChannel 2
addEventHandler On3Click RXD1 ToggleChannel 3
didn't work, bummer (did reboot etc)

Tried USART_ , nogo
Looked up what pin RXD1 is (10)
used this:
setChannelType 1 toggle
setChannelType 2 toggle
setChannelType 3 toggle
// Btn_ScriptOnly is set on 10
addEventHandler OnClick 10 ToggleChannel 1
addEventHandler OnDblClick 10 ToggleChannel 2
addEventHandler On3Click 10 ToggleChannel 3
Now:
1 click does nothing (there is a faint click, as if one of the relays wants to turn on but is stopped right immediately)
when on, 1 click turns all off,
2 clicks turn all on,
2 clicks turn all off,
3 clicks turn 3 on,
3 clicks turn 3 off
What am I doing wrong here?