You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if ( 'active_power_l1_w' in Data ): self.active_power_l1_w = Data['active_power_l1_w']
if ( 'active_power_l2_w' in Data ): self.active_power_l2_w = Data['active_power_l2_w']
if ( 'active_power_l3_w' in Data ): self.active_power_l3_w = Data['active_power_l3_w']
in to
self.active_power_w = int(Data['active_power_w'])
if ( 'active_power_l1_w' in Data ): self.active_power_l1_w = int(Data['active_power_l1_w'])
if ( 'active_power_l2_w' in Data ): self.active_power_l2_w = int(Data['active_power_l2_w'])
if ( 'active_power_l3_w' in Data ): self.active_power_l3_w = int(Data['active_power_l3_w'])
Now it shows the right value, equal to the data shown in the api
http://"IP-adres van de P1 meter"/api/v1/data
from the meter "Sagemcom | T211 E0062"
Usage power shows not right value multyple by 10
I change in plugin
self.active_power_w = (Data['active_power_w'] / 10)
Now is shows right value
The text was updated successfully, but these errors were encountered: