Feeding Electric Instant + Counter
Posted: Sunday 07 January 2024 15:52
Hello,
I created a electric instant + counter device via auto discovery. That "stat_t" is set to the kWh topic. From the wiki I know that this device needs to values. Power and energy.
How can feed the power value to the device? Can I seprate the stat_topics somehow?
One alternative I tried is to use nodeRed and the MQTT Client Gateway with LAN interface using the payload like this:
{"command": "udevice", "idx" : 98, "nvalue" : 0, "svalue" : "POWER;ENERGY" ].
Thanks
I created a electric instant + counter device via auto discovery. That "stat_t" is set to the kWh topic. From the wiki I know that this device needs to values. Power and energy.
How can feed the power value to the device? Can I seprate the stat_topics somehow?
One alternative I tried is to use nodeRed and the MQTT Client Gateway with LAN interface using the payload like this:
{"command": "udevice", "idx" : 98, "nvalue" : 0, "svalue" : "POWER;ENERGY" ].
Thanks