Hello,
I‘m using the „normal“ mqtt hardware to publish data from a general kWh meter. Is there a possibility to have also the counter today value published? That would be very helpful to not need to calculate this value in a different application again.
It seems that only the actual watts and the total counter are included in the data.
MQTT Gateway not publishing all data from device
Moderator: leecollings
- waltervl
- Posts: 5859
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: MQTT Gateway not publishing all data from device
If it is not in the mqtt message it cannot be published with standard Domoticz MQTT as there is no configuration option to do this.
You could write a dzvents script so send it with mosquitto_pub as it is a dzvents attribute of a counter device or have the external application read the getdevice JSON for the counter were it is listed.
You could write a dzvents script so send it with mosquitto_pub as it is a dzvents attribute of a counter device or have the external application read the getdevice JSON for the counter were it is listed.
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 1 guest