Search found 2 matches
- Saturday 20 August 2022 17:47
- Forum: dzVents
- Topic: publish data under specific MQTT topic [Solved]
- Replies: 14
- Views: 8695
Re: publish data under specific MQTT topic [Solved]
Maybe I should publish the whole script. --local myDevicename = 148 -- change to the name of the device that will trigger this script local MyDevices = {1,2,7,8,9,10,11,12} return { on = { timer = { 'every minute', }, }, logging = { level = domoticz.LOG_DEBUG, -- change to LOG_ERROR when ok ...
- Saturday 20 August 2022 17:37
- Forum: dzVents
- Topic: publish data under specific MQTT topic [Solved]
- Replies: 14
- Views: 8695
Re: publish data under specific MQTT topic [Solved]
I would like to forward temperatures, pressure, on/off etc. to mosquitto, but I do not manage to send the values. Tried different aproaches, but alwasy get errors when creating "myMessage". Only the one which is commented out works, but it only sends sensorname\nil. for i,device in ipairs(MyDevices ...