Custom hardware interface

On various Hardware and OS systems: pi / windows / routers / nas, etc
Post Reply
Posts: 3
Joined: Sunday 13 September 2015 15:07
Target OS: Raspberry Pi
Domoticz version:
Location: Netherlands

Custom hardware interface

Post by domoticzuser » Sunday 13 September 2015 15:17

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!

Posts: 1
Joined: Sunday 27 December 2015 15:54
Target OS: -
Domoticz version:

Re: Custom hardware interface

Post by docs » Sunday 27 December 2015 16:16

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

User avatar
Posts: 461
Joined: Wednesday 16 November 2016 12:31
Target OS: Raspberry Pi
Domoticz version: 4.9700
Location: Scotland

Re: Custom hardware interface

Post by EdddieN » Thursday 18 May 2017 21:14


did you get anywhere with this?
11101101 -

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests