exiva / Vizio_SmartCast_API

API documentation for Vizio SmartCast TV's
175 stars 33 forks source link

TV Power State #3

Closed cbulock closed 7 years ago

cbulock commented 7 years ago

I hope I'm just missing something in the docs, but is there a way to determine what the current power state of the TV is?

exiva commented 7 years ago

The closest you can get is /state/device/power_mode the native SmartCast app hits this endpoint every second to see if the set is on. There's nothing really useful returned in it though.

cbulock commented 7 years ago

That works perfect, thank you!

exiva commented 7 years ago

No problem, I'll add this into the docs.