{"action":"created","issue":{"url":"https://api.github.com/repos/Aymkdn/assistant-freebox/issues/17","repository_url":"https://api.github.com/repos/Aymkdn/assistant-freebox","labels_url":"https://api.github.com/repos/Aymkdn/assistant-freebox/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/Aymkdn/assistant-freebox/issues/17/comments","events_url":"https://api.github.com/repos/Aymkdn/assistant-freebox/issues/17/events","html_url":"https://github.com/Aymkdn/assistant-freebox/issues/17","id":395730439,"node_id":"MDU6SXNzdWUzOTU3MzA0Mzk=","number":17,"title":"utiliser l'API Free pour la télécommande sans besoin d'appairage","user":{"login":"lboue","id":938089,"node_id":"MDQ6VXNlcjkzODA4OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/938089?v=4","gravatar_id":"","url":"https://api.github.com/users/lboue","html_url":"https://github.com/lboue","followers_url":"https://api.github.com/users/lboue/followers","following_url":"https://api.github.com/users/lboue/following{/other_user}","gists_url":"https://api.github.com/users/lboue/gists{/gist_id}","starred_url":"https://api.github.com/users/lboue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lboue/subscriptions","organizations_url":"https://api.github.com/users/lboue/orgs","repos_url":"https://api.github.com/users/lboue/repos","events_url":"https://api.github.com/users/lboue/events{/privacy}","received_events_url":"https://api.github.com/users/lboue/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2019-01-03T21:27:42Z","updated_at":"2019-01-03T21:54:09Z","closed_at":null,"author_association":"NONE","body":"Bonjour,\r\n\r\nPour info il existe une API Free pour la télécommande qui ne néssite par d'appairage : https://dev.freebox.fr/sdk/telec.html\r\n\r\nDe plus quelqu'un a déjà publié une librairie Python ici : https://github.com/MaximeCheramy/remotefreebox\r\n\r\nExemple:\r\n```\r\npi@raspberrypi:~ $ git clone https://github.com/MaximeCheramy/remotefreebox.git\r\nClonage dans 'remotefreebox'...\r\nremote: Enumerating objects: 129, done.\r\nremote: Total 129 (delta 0), reused 0 (delta 0), pack-reused 129\r\nRéception d'objets: 100% (129/129), 29.54 KiB | 0 bytes/s, fait.\r\nRésolution des deltas: 100% (74/74), fait.\r\n\r\npi@raspberrypi:~ $ \r\npi@raspberrypi:~ $ cd remotefreebox/\r\n\r\n\r\npi@raspberrypi:~/remotefreebox $ sudo pip3 install .\r\nProcessing /home/pi/remotefreebox\r\nRequirement already satisfied: zeroconf>=0.17 in /usr/local/lib/python3.5/dist-packages (from remotefreebox==0.3.1)\r\nRequirement already satisfied: ifaddr in /usr/local/lib/python3.5/dist-packages (from zeroconf>=0.17->remotefreebox==0.3.1)\r\nRequirement already satisfied: ipaddress in /usr/local/lib/python3.5/dist-packages (from ifaddr->zeroconf>=0.17->remotefreebox==0.3.1)\r\nInstalling collected packages: remotefreebox\r\n  Running setup.py install for remotefreebox ... done\r\nSuccessfully installed remotefreebox-0.3.1\r\n\r\npi@raspberrypi:~/remotefreebox $ \r\npi@raspberrypi:~/remotefreebox $ vim test.py\r\nfrom remotefreebox.freeboxcontroller import FreeboxController\r\n\r\nfbx = FreeboxController()\r\nfbx.press(\"Chan+\")\r\n\r\npi@raspberrypi:~/remotefreebox $ \r\npi@raspberrypi:~/remotefreebox $ python3 test.py \r\nFreebox-Player.local. found at 192.168.1.101:24322\r\nsetup_device\r\nbind sur  ('', 0)\r\nconnect called\r\nrun.\r\nconnected <remotefreebox.rudp.client.client object at 0x767a1790>\r\nconnected, calling device_new\r\ndevice_new called\r\npressing Chan+\r\n```\r\n\r\n\r\nCordialement,"},"comment":{"url":"https://api.github.com/repos/Aymkdn/assistant-freebox/issues/comments/451289690","html_url":"https://github.com/Aymkdn/assistant-freebox/issues/17#issuecomment-451289690","issue_url":"https://api.github.com/repos/Aymkdn/assistant-freebox/issues/17","id":451289690,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MTI4OTY5MA==","user":{"login":"Aymkdn","id":946315,"node_id":"MDQ6VXNlcjk0NjMxNQ==","avatar_url":"https://avatars2.githubusercontent.com/u/946315?v=4","gravatar_id":"","url":"https://api.github.com/users/Aymkdn","html_url":"https://github.com/Aymkdn","followers_url":"https://api.github.com/users/Aymkdn/followers","following_url":"https://api.github.com/users/Aymkdn/following{/other_user}","gists_url":"https://api.github.com/users/Aymkdn/gists{/gist_id}","starred_url":"https://api.github.com/users/Aymkdn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aymkdn/subscriptions","organizations_url":"https://api.github.com/users/Aymkdn/orgs","repos_url":"https://api.github.com/users/Aymkdn/repos","events_url":"https://api.github.com/users/Aymkdn/events{/privacy}","received_events_url":"https://api.github.com/users/Aymkdn/received_events","type":"User","site_admin":false},"created_at":"2019-01-03T21:54:09Z","updated_at":"2019-01-03T21:54:09Z","author_association":"OWNER","body":"Perso je n'ai pas réussi à faire la même chose en javascript, malgré quelques tentatives par le passé. Donc si tu sais comment faire, je suis preneur ! "}}
{"actor":{"display_login":"Aymkdn"}}