Integrate DIY RF solution

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
rimram31
Posts: 26
Joined: Sunday 04 October 2015 11:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

Integrate DIY RF solution

Post by rimram31 »

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.
rimram31
Posts: 26
Joined: Sunday 04 October 2015 11:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: France
Contact:

Re: Integrate DIY RF solution

Post by rimram31 »

Coming back some weeks and some efforts later ...

I've finally wrote what I can call a RFlink tcp hardware and I've seen such a hardware now exist (git repository). On the other side, I've wrote a daemon dedicated to my hardware which talk rflink language throw tcp both side to and from RF radio.

I will use as soon as possible the new dz version with the hardware I was searching for some weeks ago :D but for now as everything seems to work fine, I will wait some time ... not to change everything every day ;)

So problem solved.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest