Hi,
just finished to patch V2.2258 (will merge with latest beta ASAP) for one can manually add a Lighting4 switch in Domoticz (provided he can find the command 24 bits and pulse somehow). Works nicely for something like http://www.aliexpress.com/snapshot/6473215080.html .
In addition to minor changes in frontend and backend, I had to change the LIGHTING4 struct in RFXtrx.h to add a command byte in order for Domoticz to show both on and off switches states, so I'm not sure this will be accepted as-is, but still: reading the forums I'm clearly not alone in needing something like that (with such a 12 channels relay boards, I'll be able to drive all the watering valves in the garden for example).
Now, I don't know how to proceed to submit this more-than-one-liner patch, so if someone is interested, please tell me.
Lighting4 manual Add Switch patch.
Moderators: leecollings, remb0
- gizmocuz
- Posts: 2552
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Lighting4 manual Add Switch patch.
You can email me your patch.
The file rfxtrx.h needs to be untouched, so this is not going to work.
The file rfxtrx.h needs to be untouched, so this is not going to work.
Quality outlives Quantity!
-
- Posts: 2
- Joined: Monday 19 January 2015 19:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Nimes, France
- Contact:
Re: Lighting4 manual Add Switch patch.
Sent patch to [email protected]. BTW, Domoticz doesn't compile anymore on Raspian from rev. 2263 (bad usage of std::stringstream() for GCC AFAIK).
-
- Posts: 2
- Joined: Wednesday 17 February 2016 10:54
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Lighting4 manual Add Switch patch.
Was this patch ever added?
I can't see it in the latest release...
/ Linus
I can't see it in the latest release...
/ Linus
/ Linus
- gizmocuz
- Posts: 2552
- Joined: Thursday 11 July 2013 18:59
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Top of the world
- Contact:
Re: Lighting4 manual Add Switch patch.
I did not get the patch
you can or post your patch here, or make a github pull request (preferred)
you can or post your patch here, or make a github pull request (preferred)
Quality outlives Quantity!
-
- Posts: 2
- Joined: Wednesday 17 February 2016 10:54
- Target OS: Windows
- Domoticz version:
- Contact:
Re: Lighting4 manual Add Switch patch.
Ok, it wasn't me who changed/wrote the lighting4 code. I just stubled across this post since I need to add lighting4 devices manually.
-
- Posts: 3
- Joined: Monday 01 May 2017 20:53
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5877
- Location: Noord Brabant
- Contact:
Re: Lighting4 manual Add Switch patch.
People,
I'm dealing with the same problem!
Need to add Lighting4 devices with a specific pulse Timing of 230usec.
I have an old set of Ranex RX 2582 switches (433,92MHz) and a remote.
Already discovered the below codes and Pulse timing. (230usec)
Via the "learn" mode the remote commands are not recognized.
I need to manually add these switches according to the below codes and a Pulse timing of 230usec.
How can I add a switch according to the specific settings?
Example:
1 OFF = 3F 00 00 - 0011 1111 0000 0000
1 ON = 3F 00 C0 - 0011 1111 1100 0000
I'm dealing with the same problem!
Need to add Lighting4 devices with a specific pulse Timing of 230usec.
I have an old set of Ranex RX 2582 switches (433,92MHz) and a remote.
Already discovered the below codes and Pulse timing. (230usec)
Via the "learn" mode the remote commands are not recognized.
I need to manually add these switches according to the below codes and a Pulse timing of 230usec.
How can I add a switch according to the specific settings?
Example:
1 OFF = 3F 00 00 - 0011 1111 0000 0000
1 ON = 3F 00 C0 - 0011 1111 1100 0000
Who is online
Users browsing this forum: No registered users and 1 guest