Jan200101 / ShellyPy

Python library to interact with Shelly devices
MIT License
22 stars 14 forks source link

introduce meter example, add meter information on update function #9

Closed h3tz closed 1 year ago

h3tz commented 1 year ago

Please have a look into the "update" change if this is still consistent with your idea of "update"

h3tz commented 1 year ago

Please update the comments in the example area, I am running out of time today and missed doing this. Thanks

Attributes

Attribute | Type | Description -- | -- | -- power | number | Current real AC power being drawn, in Watts is_valid | bool | Whether power metering self-checks OK overpower | number | Value in Watts, on which an overpower condition is detected timestamp | number | Timestamp of the last energy counter value, with the applied timezone counters | array of numbers | Energy counter value for the last 3 round minutes in Watt-minute total | number | Total energy consumed by the attached electrical appliance in Watt-minute
h3tz commented 1 year ago

is there something i need to do or you already did the fixes? I am not aware of "Change requested" state.

Jan200101 commented 1 year ago

Sorry for the delay, I cannot edit the branch of this PR, so I am going to merge this end change commit the suggestions directly