03-29-2020, 06:06 PM
(03-29-2020, 05:58 PM)sud-domotique-expert a écrit : non tu es sensé avoir les données du Nest qui s'affichent , c'est donc que c'est pas bon.
Mince
Voici mon fichier INI (a quelques caracteres pret que j'ai viré dans les cookies et Token...)
Code :
issue_token = "https://accounts.google.com/o/oauth2/iframerpc?action=issueToken&response_type=token%20id_token&login_hint=AJDLjq9g&client_id=73324v9q.apps.googleusercontent.com&origin=https%3A%2F%2Fhome.nest.com&scope=openid%20profile%20email%20https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fnest-account&ss_domain=https%3A%2F%2Fhome.nest.com"
cookies = "OCAK=oc--lqDjZraxaaFowg; SMSV=ADHTe-A7Ulm1lOaNb8hbF-_GieigK5S4wUzShiF-gVUtXPc6c; SID=vAe_7Tqx5IuaKPWgfuDHiDVY-w.; __Secure-3PSID=vAe_7Tqx5IuV7AkkF4EVlOUp0xLw.; HSID=Albk ........... NtUWGHSoIFHL6aw:rkIZbmCNtcI_ISA7; SIDCC=AJi4b4a7-ExS3FLA"
; All on one line. remove any new-line character you might have
refresh = 5 ; main page refresh time [sec] - set 9999 to stop refresh
; if you want read functionnality on a domotic box
; if no box, leave Box_IP = ""
Box_IP = "192.168.87.201"
Box_Port = "8080" ; the external port who's redirected to the internal port
Box_Protocole = "http"
Box_Cmd = "UniversalListen"
; the script generates the followin url :
; $Box_url = $Box_Protocole."://".$Box_IP.":".$Box_Port."/".$Box_Cmd."?";
J'ai zappé quelque chose ?