Page 1 of 1

Tying my MQTT messages with Domoticz

Posted: Monday 04 November 2019 21:27
by Dembe
Hello everyone,,
I have my product (poliprekidac.com) which sends MQTT temperature and relay control messages.
It has a standard i have to follow and cant change it to Domoticz json.reverse image search email checker port checker
I have been searching for days around forums and cant seem to get around how to show my sensor in Domoticz.

I have setup MQTT server, and it works fine, dummy sensor with simulated messages works fine.
But my MQTT messages go on a different channel and in different format.

topic: poliswitch19117/temperature
message is just float number ex: 25.00

I've tried working with events, but cant figure how to get it to the sensor.

Any help would be great.

Regards!

Re: Tying my MQTT messages with Domoticz

Posted: Monday 04 November 2019 23:16
by FireWizard
Hi,

As you have already a MQTT server running, I recommend to install Node Red on that machine as well. This is the easiest tool to convert your MQTT message to a MQTT message that is suitable for Domoticz.

A brief description is given here: https://www.domoticz.com/forum/viewtopi ... tt#p227219.
It is for another application, but it describes howto install:
- Mosquitto broker.
- NodeJS
- Node Red
- Tool Mosquitto client.

If you have done this, please post your results here. Afterwards we can give you a flow description.

Regards