Is it possible to republish via a mqtt message Domoticz/out {body with idx} to Domoticz/out/idx
Where the idx is the device number in domoticz
I will neeed this to select the right device message in "homepoint"
In the programm "homepoint" the only way to select a specific device is by selecting "gettopic(domoticz/out/idx) as far as I know.
But domoticz only publishes topc as domoticz/out, in the body or message following is the according data like dx number, valueus etc
Republish via MQTT "Domoticz/OUT" to "Domoticz/OUT/idx
Moderator: leecollings
-
- Posts: 331
- Joined: Sunday 22 February 2015 12:19
- Target OS: Linux
- Domoticz version: 2020.x
- Location: Netherlands
- Contact:
Re: Republish via MQTT "Domoticz/OUT" to "Domoticz/OUT/idx
Sure, just read the information with the MQTT Client Gateway at the "Publish Topic" setting.
If you set this at "Index" it will publish on Domotiz/out/idx
If you set this at "Index" it will publish on Domotiz/out/idx
- waltervl
- Posts: 5148
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Republish via MQTT "Domoticz/OUT" to "Domoticz/OUT/idx
Just a side note: this index feature (and name feature) is available on beta version only. Not on stable 2020.2.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Who is online
Users browsing this forum: No registered users and 0 guests