I'm using Domoticz & RFLink set to control some of my home appliances (blinds etc.). Some time ago I bought a few Livolo wall switches supporting 433 Mhz communication (mainly due to the fact that it was stated on RFLink official website it's supporting Livolo).
After installation of the wall switches I have a problem to synchronize it properly with the Domoticz. The problem is that I can't set a different codes for ON and OFF switch mode. The switch is working just in the toggle mode, which makes controlling the devices quite confusing (e.g. it may appear that I switch on light instead of switching it off etc.). I have reviewed the threads on this forum and look for some help in the Google but seems nobody discovered if (and how) it's possible to solve it somehow.
RFLink <=> Livolo support (ON/OFF mode instead of Toogle mode)
Moderators: rtenklooster, Voyager, BertB, Stuntteam
Re: RFLink <=> Livolo support (ON/OFF mode instead of Toogle mode)
It is no possible. Livolo only support toggle mode.
What you could try though is use a single remote ID and have all of the switches that you want learn first a toogle button (let’s say button 10), and then have them learn the On Only Scene button. This way you can turn them on with the On Only scene button, and turn them off with the remote’s ALL OFF button.
To be more specific, when you have a switch learn a remote’s TOGGLE BUTTON, then the switch will also respond to the remote’s ALL OFF button (no need to teach it the all off).
What you could try though is use a single remote ID and have all of the switches that you want learn first a toogle button (let’s say button 10), and then have them learn the On Only Scene button. This way you can turn them on with the On Only scene button, and turn them off with the remote’s ALL OFF button.
To be more specific, when you have a switch learn a remote’s TOGGLE BUTTON, then the switch will also respond to the remote’s ALL OFF button (no need to teach it the all off).
-
- Normal user
- Posts: 37
- Joined: 27 Aug 2019, 23:57
Re: RFLink <=> Livolo support (ON/OFF mode instead of Toogle mode)
I had the same problem with other hardware. I solved it by sending to Domoticz current state of the device (on or off), and adding a small piece of LUA code that send a toggle command only if required state is different of current state.
Re: RFLink <=> Livolo support (ON/OFF mode instead of Toogle mode)
It’s interesting but probably there no way to send back the current state of the device to the Domoticz using RF433MHz. Could you describe a bit more how you managed to send a current state of device to the Domoticz and what is the LUA code you mentioned?Flying Domotic wrote: ↑13 Nov 2019, 11:05 I solved it by sending to Domoticz current state of the device (on or off), and adding a small piece of LUA code that send a toggle command only if required state is different of current state.
Re: RFLink <=> Livolo support (ON/OFF mode instead of Toogle mode)
Do you think it will be possible with Domoticz? How should I simulate pressing e.g. ALL OFF button there?ligeza wrote: ↑12 Nov 2019, 09:31 What you could try though is use a single remote ID and have all of the switches that you want learn first a toogle button (let’s say button 10), and then have them learn the On Only Scene button. This way you can turn them on with the On Only scene button, and turn them off with the remote’s ALL OFF button.
To be more specific, when you have a switch learn a remote’s TOGGLE BUTTON, then the switch will also respond to the remote’s ALL OFF button (no need to teach it the all off).
-
- Normal user
- Posts: 37
- Joined: 27 Aug 2019, 23:57
Re: RFLink <=> Livolo support (ON/OFF mode instead of Toogle mode)
For that, you have to know current state of device (powered or not), and desired state (same values). If they're not the same, you have to send a toggle order. Like : if <current state> != <desired state> then <toggle device>shalwia wrote: ↑29 Nov 2019, 10:47It’s interesting but probably there no way to send back the current state of the device to the Domoticz using RF433MHz. Could you describe a bit more how you managed to send a current state of device to the Domoticz and what is the LUA code you mentioned?Flying Domotic wrote: ↑13 Nov 2019, 11:05 I solved it by sending to Domoticz current state of the device (on or off), and adding a small piece of LUA code that send a toggle command only if required state is different of current state.
In my case, I have a (sub)device which gets the current device value (a small neon bulb in front of a LDR within a dark enclosure), and another (sub)device to power the command to flip/flop device.
If you have no means to get current state of device, you may want to memorize it into your automation software, and switch device only if you need it.
FYI, LUA is one of Domoticz programming language (have a look at https://www.domoticz.com/wiki/Events for example)
Who is online
Users browsing this forum: No registered users and 1 guest