-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
I managed to configure this node in node-red for my PowerMonitoring Plug
It works fine.
I am able to Turn ON/OFF view the Voltage/ Current/Watts value.
But When I disconnect the internet access for the device (Plug). I am able to control (ON/OFF) the device locally thru lan, but not see the Voltage/ Current/Watts values.
These power values are always Nan when the Internet to the device is disconnected.

I tried to make the Nodred config simple as below:
HA Config as follows:
switch :
- platform: mqtt
name: "3D Printer Tuya Local"
state_topic: "hass/tlsw01"
command_topic: "hass/tlsw01/set"
payload_on: "true"
payload_off: "false"
state_on: "true"
state_off: "false"
optimistic: false
qos: 0
retain: true
sensor:
- platform: mqtt
name: "3D Printer Watts"
state_topic: "hass/tlsw01/watts"
unit_of_measurement: W
value_template: "{{ value | round(1) }}"
- platform: mqtt
name: "3D Printer Current"
state_topic: "hass/tlsw01/amps"
unit_of_measurement: A
value_template: "{{ value | round(1) }}"
- platform: mqtt
name: "3D Printer Voltage"
state_topic: "hass/tlsw01/volts"
unit_of_measurement: V
value_template: "{{ value | round(1) }}"
Please help
Metadata
Metadata
Assignees
Labels
No labels
