Integrate DIY RF solution
Posted: Sunday 04 October 2015 14:46
Hi everybody,
I've work on a DIY RF solution (based on pi and a linx tranceiver). For now my prototype is working well, I'm looking for information, development documentation, on how to integrate this efficiently with domoticz, not simply virtual devices and scripts.
I've read domoticz hardware source code: RFXCom, RFLink and some others ... We can find information on the wiki on how to add a new hardware but not how to interface with domoticz ... As I've understood, this work mainly around two methods: WriteToHardware (domoticz to hardware) and sDecodeRXMessage (hardware to domoticz) with some helpers. But I cannot find any other information.
Alternatively, can we use mqtt interface or some generic solution to build an "external hardware" program ? Having a daemon running in parallel declaring/updating devices to domocitz and domoticz calling back this daemon the hardware to command devices ? Such solution don't require to change and recompile domoticz itself.
Thanks for any help.
I've work on a DIY RF solution (based on pi and a linx tranceiver). For now my prototype is working well, I'm looking for information, development documentation, on how to integrate this efficiently with domoticz, not simply virtual devices and scripts.
I've read domoticz hardware source code: RFXCom, RFLink and some others ... We can find information on the wiki on how to add a new hardware but not how to interface with domoticz ... As I've understood, this work mainly around two methods: WriteToHardware (domoticz to hardware) and sDecodeRXMessage (hardware to domoticz) with some helpers. But I cannot find any other information.
Alternatively, can we use mqtt interface or some generic solution to build an "external hardware" program ? Having a daemon running in parallel declaring/updating devices to domocitz and domoticz calling back this daemon the hardware to command devices ? Such solution don't require to change and recompile domoticz itself.
Thanks for any help.