Tying my MQTT messages with Domoticz

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Dembe
Posts: 9
Joined: Saturday 14 September 2019 9:45
Target OS: Windows
Domoticz version:
Contact:

Tying my MQTT messages with Domoticz

Post 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!
Last edited by Dembe on Thursday 07 November 2019 5:10, edited 1 time in total.
User avatar
FireWizard
Posts: 1747
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Tying my MQTT messages with Domoticz

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest