Custom hardware interface

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
domoticzuser
Posts: 1
Joined: Sunday 13 September 2015 15:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Netherlands
Contact:

Custom hardware interface

Post 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!
docs
Posts: 1
Joined: Sunday 27 December 2015 14:54
Target OS: -
Domoticz version:
Contact:

Re: Custom hardware interface

Post 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
User avatar
EdddieN
Posts: 510
Joined: Wednesday 16 November 2016 11:31
Target OS: Raspberry Pi / ODroid
Domoticz version: 4.9700
Location: Scotland
Contact:

Re: Custom hardware interface

Post by EdddieN »

Hi,

did you get anywhere with this?
11101101 - www.machinon.com
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest