Page 1 of 1

Custom hardware interface

Posted: Sunday 13 September 2015 15:17
by domoticzuser
Hello all,

After evaluating software like pimatic, pilight and homegenie i have ended up at Domoticz. This definitely looks like a nice option for my needs, but i would like to make custom hardware interfaces. I have looked at the "hardware" directory. I would like to start with a serial device that can receive commands from Domoticz and periodically sends data to Domoticz. So i need some kind of callback function for the serial data.
I took a look at Dummy.cpp and S0MeterSerial.cpp. I think adding a readCallback(const char *data, size_t len) to Dummy.cpp would be almost what i would need. But: i am not sure about the Domoticz framework and i cannot really find documentation of what functions are required and how the GUI is connected with the hardware. If there is good developer documentation it would help me immense.
Thanks in advance!

Re: Custom hardware interface

Posted: Sunday 27 December 2015 15:16
by docs
Hi domoticzuser,

I would like to do exactly the same as you (my custom hardware is communicating through CAN-bus, I would like to connect it to domoticz).

Could you find out any useful info?

Regards, docs

Re: Custom hardware interface

Posted: Thursday 18 May 2017 21:14
by EdddieN
Hi,

did you get anywhere with this?