Page 1 of 1

Republish via MQTT "Domoticz/OUT" to "Domoticz/OUT/idx

Posted: Wednesday 17 February 2021 13:31
by nahoj
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

Re: Republish via MQTT "Domoticz/OUT" to "Domoticz/OUT/idx

Posted: Wednesday 17 February 2021 16:49
by Bikey
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

Re: Republish via MQTT "Domoticz/OUT" to "Domoticz/OUT/idx

Posted: Wednesday 17 February 2021 23:26
by waltervl
Bikey wrote: Wednesday 17 February 2021 16:49 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
Just a side note: this index feature (and name feature) is available on beta version only. Not on stable 2020.2.