newAM / hisensetv

Python API to control Hisense brand TVs via their internal MQTT broker.
MIT License
37 stars 16 forks source link

Any way to check whether authorization has been already performed? #24

Open lanzorg opened 2 years ago

lanzorg commented 2 years ago

I have checked your __main__.py file and there is no prior verification for authorization.

I wonder if it's because there's no reliable way to know if the authorization has occurred or not. If not, do you have a way to find out if there has been successful authorization?

newAM commented 2 years ago

There is no way to check if it has occurred as far as I know. Everything we know about these TVs has come from reverse engineering, so there may be a solution that hasn't been found yet!

lanzorg commented 2 years ago

Unfortunately everything that is related to multimedia has to be reverse engineered.

I guess there is no way to revoke an authorization?

newAM commented 2 years ago

HDMI CEC works pretty well if you're looking for multimedia controls that don't require reverse engineering.


I was only able to revoke an auth by factory resetting the entire TV.

lanzorg commented 2 years ago

Is it possible to send keystrokes to hisense tv with hdmi-cec?

It could be very interesting because it doesn't need internet connection. I had some weird bandwidth usage with hisense television.

I will give this solution a try!

newAM commented 2 years ago

I don't know about keystrokes, I just use it for power controls these days, then my home theater PC does the rest.