Feeding Electric Instant + Counter

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
DrD86
Posts: 1
Joined: Sunday 07 January 2024 15:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Feeding Electric Instant + Counter

Post by DrD86 »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest