Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Detecting Kasa device reboots/crashes (Alerting for unintended power loss to connected loads) #745

Answered by rytilahti
rct asked this question in General
Discussion options

You must be logged in to vote

Hi,

There is no real uptime you could check to our knowledge, so the closest you get at the moment is by using the on_time information like you mentioned. This information is not at the moment exposed to homeassistant, but you can track #741 which aims to make more information accessible to homeassistant.

You can check out the fixture files to see what other data is available, e.g., https://github.com/python-kasa/python-kasa/blob/master/kasa/tests/fixtures/smart/EP25(US)_2.6_1.0.2.json for the authenticated EP25 variant or using the json output just like you already did. If you find something that should be made available as a sensor, let us know :-)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rytilahti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants