{"action":"created","issue":{"url":"https://api.github.com/repos/LinuxChristian/pyW215/issues/3","repository_url":"https://api.github.com/repos/LinuxChristian/pyW215","labels_url":"https://api.github.com/repos/LinuxChristian/pyW215/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/LinuxChristian/pyW215/issues/3/comments","events_url":"https://api.github.com/repos/LinuxChristian/pyW215/issues/3/events","html_url":"https://github.com/LinuxChristian/pyW215/issues/3","id":173635598,"number":3,"title":"Legacy firmware support","user":{"login":"nvella","id":8158648,"avatar_url":"https://avatars.githubusercontent.com/u/8158648?v=3","gravatar_id":"","url":"https://api.github.com/users/nvella","html_url":"https://github.com/nvella","followers_url":"https://api.github.com/users/nvella/followers","following_url":"https://api.github.com/users/nvella/following{/other_user}","gists_url":"https://api.github.com/users/nvella/gists{/gist_id}","starred_url":"https://api.github.com/users/nvella/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvella/subscriptions","organizations_url":"https://api.github.com/users/nvella/orgs","repos_url":"https://api.github.com/users/nvella/repos","events_url":"https://api.github.com/users/nvella/events{/privacy}","received_events_url":"https://api.github.com/users/nvella/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-28T08:19:02Z","updated_at":"2016-08-28T11:44:35Z","closed_at":"2016-08-28T10:51:11Z","body":"Hi,\r\n\r\nI live in Australia and was excited to integrate my DSP-W215 plug into my home automation system via home-assistant, which leverages the pyW215 library. However after I managed to get D-Link's app working the plug firmware would only update to v1.24, which uses a fundamentally different API than v2.00 onwards. I then proceeded to email D-Link Australia Support, where they then confirmed that v1.24 is the latest available version for the Australian plug.\r\n\r\nI'd like to propose that legacy firmware version support be added to pyW215. I would be willing to reverse engineer my plug and app and create a PR containing support for v1.24, but I'd need some pointers on where and how you would like that to happen in regards to the greater scope of the project. Would I create a seperate class for the legacy firmware plug, or would it just be a firmware version specifier as an argument to the current SmartPlug \\__init__?\r\n\r\nRegards,\r\nNick."},"comment":{"url":"https://api.github.com/repos/LinuxChristian/pyW215/issues/comments/242970385","html_url":"https://github.com/LinuxChristian/pyW215/issues/3#issuecomment-242970385","issue_url":"https://api.github.com/repos/LinuxChristian/pyW215/issues/3","id":242970385,"user":{"login":"LinuxChristian","id":3591721,"avatar_url":"https://avatars.githubusercontent.com/u/3591721?v=3","gravatar_id":"","url":"https://api.github.com/users/LinuxChristian","html_url":"https://github.com/LinuxChristian","followers_url":"https://api.github.com/users/LinuxChristian/followers","following_url":"https://api.github.com/users/LinuxChristian/following{/other_user}","gists_url":"https://api.github.com/users/LinuxChristian/gists{/gist_id}","starred_url":"https://api.github.com/users/LinuxChristian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LinuxChristian/subscriptions","organizations_url":"https://api.github.com/users/LinuxChristian/orgs","repos_url":"https://api.github.com/users/LinuxChristian/repos","events_url":"https://api.github.com/users/LinuxChristian/events{/privacy}","received_events_url":"https://api.github.com/users/LinuxChristian/received_events","type":"User","site_admin":false},"created_at":"2016-08-28T11:44:35Z","updated_at":"2016-08-28T11:44:35Z","body":"Try also to verify that it is using the same hash method for passwords. I use the https://docs.python.org/3/library/hmac.html library to hash passwords before sending them to the plug. That could also be a issue."}}
{"actor":{"display_login":"LinuxChristian"}}