La commande get_config me retourne du string au format json
meme envoyé dans un fichier, c'est inexploitable
Code : Tout sélectionner
LOGITECH WEB SERVICE LOGIN : BYPASSED
HARMONY COMMUNICATION LOGIN : SUCCESS
HARMONY COMMAND SUBMISSION : SUCCESS
PARSE ACTIVITIES AND DEVICES : SUCCESS
Logitech Harmony Configuration :
"dataConsent":false,"activity":[{"type":"PowerOff","isAVActivity":false,"label": "PowerOff","id":"-1","activityTypeDisplayName":"Default","controlGroup":[],"sequ ences":[],"fixit":{"62613694":{"id":"62613694","isRelativePower":true,"Power":"O ff"},"62613695":{"id":"62613695","isRelativeInput":true,"Power":"Off"},"62613696 ":{"id":"62613696","Power":"Off"},"62613697":{"id":"62613697","isRelativePower": true,"Power":"Off"}},"enterActions":[],"roles":[],"rules":[],"icon":"Default","s uggestedDisplay":"Default"},{"rules":[],"label":"Regarder TV","isTuningDefault": false,"activityTypeDisplayName":"Default","enterActions":[],"fixit":{"62613694": {"id":"62613694","isRelativePower":true,"Power":"On"},"62613695":{"id":"62613695 ","isRelativeInput":true,"Input":"HDMI 2","Power":"On"},"62613696":{"id":"626136 96","Input":"CBL\/SAT","Power":"On"},"62613697":{"id":"62613697","isRelativePowe r":true,"Input":"","Power":"On"}},"baseImageUri":"https:\/\/rcbu-test-ssl-amr.s3
les autres commandes me retournent rien.
Tu as fais comment pour avoir un fichier lisible ?