Beiträge von ms-t

    Habe es nun lösen können. Obwohl das Modul requests installiert war, ging es nicht. Ich habe umständlich Python neu installiert.


    Dabei war es nicht nötig.


    Script mit python3 ausgeführt und siehe da, es geht. Pairing war/ist nun erfolgreich gewesen.


    Das Enhanced Plugin funktioniert bei mir auch nicht, das X schon. Schade, dass es dort die Lautstärke und die Inputsteuerung nicht gibt.



    Sent from my iPhone using Community

    Huhu,


    ich habe Tatsächlich einen AndroidTV aus dem Jahr 2018 (OLED873/12).


    Das Python Script prüft das Plugin doch aber so nicht, sondern führt nur das Pairing aus, oder irre ich mich da? Das Modeljahr hatte ich soweit schon angegeben, aber ich habe Probleme bei diesem Schritt hier:



    Code
    Credentials for 2016 models
    
    As of 2016 models Philips closed the open, non-https JointSpace API (v5) and switched to the secured API-version 6. Every control- or status-call needs digest authentification which contains of a pre generated username and password. You have to do this once for your TV. We reccomend to use the python script philips_android_tv.
    Here is an example pairing call for philips_android_tv :
    
    python ./philips.py --host 10.0.1.23 pair

    Die IP meines TVs habe ich natürlich angepasst. Auch habe ich das Script mit curl abgerufen und auf dem pi gespeichert.

    Eine Frage am Rande:


    wie habt ihr denn das Script zum Laufen bekommen? Ich habe Python nun in Version 2.7.9 installiert und wird mir auch als solche ausgegeben, allerdings erhalte ich weiterhin diesen Fehler:


    Code
    Traceback (most recent call last):
      File "./philips.py", line 6, in <module>
        import requests
    ImportError: No module named requests