Question about Node-red serial input > Mqtt > Domoticz
Posted: Tuesday 14 March 2017 7:23
I'm triying out with a project where i connect the serial printer port output from my alarmpanel to a node-red serial input. From there I want to read these values per sensor in domoticz. The serial input works and I have installed the mqtt broker. In domoticz I've created a hardware input for mqtt.
I created dummy devices for the alarm inputs.
I have a node red flow (created for openhab) which works in openhab. But how do I make node red talk to Domoticz.
How should a function in node red look like to inject via mqtt to domoticz?
The output of the function in the log of domoticz shows:
Domoticz/in message: idx : 80, nvalue : 0, svalue : "1"
Error mqtt invalid data
This it where the project stops!
How do I get the state of a detector in domoticz.
I created dummy devices for the alarm inputs.
I have a node red flow (created for openhab) which works in openhab. But how do I make node red talk to Domoticz.
How should a function in node red look like to inject via mqtt to domoticz?
The output of the function in the log of domoticz shows:
Domoticz/in message: idx : 80, nvalue : 0, svalue : "1"
Error mqtt invalid data
This it where the project stops!
How do I get the state of a detector in domoticz.