Krazy998 / mqtt-hisensetv

Details to connect to Hisense Smart TV MQTT broker for home automation
MIT License
118 stars 12 forks source link

Keyboard input and sharing media #17

Open nmalevich opened 1 month ago

nmalevich commented 1 month ago

Hi! I could realize connecting and controlling my Hisense Vidaa TV thanks to this repository and your work. I really appreciate this and must say thank you! My tv doesn't work with simple connection with constant username and password, but I could find new method in issue. In my opinion may be you could move new instruction to readme and your main instruction will be really more helpful. By the way, it's only your choice and I'm really grateful for this repository.

So I want to implement keyboard input and media sharing. It's possible because they could do it in official iOS app. But I'm not really good at Wireshark and sniffing and don't get how I can decrypt traffic.

Maybe you have found something about that or you can give me instruction about sniffing

Thank you one more time

Krazy998 commented 1 month ago

Hi!

You are most welcome to put in a pull request to update the documentation in this repository. I unfortunately haven't updated the guide in a while as I still have a quite old hisense and don't have a mechanism to test and update further.

That said in regards to doing packet captures. As far as I can see, this would be impossible do on newer version of the TV as the data is encrypted. So you would need to do either:

  1. Get the private certificate (you can get this from the TV itself, however you will need to get a serial connection).
  2. You bypass the need for packet captures and focus on getting serial connection to the TV physically and pull the mqtt configuration off the tv.
nmalevich commented 1 month ago

Thank you for your answer! If I have free time, I will create a pull request as soon as possible.

When I setup connection with TV via mqtt, TV provides their certificate. So maybe I can use it?

And I have implemented sharing media via DLNA protocol. But it will be really nice feature if I implement keyboard input