{"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":3,"created_at":"2016-08-28T08:19:02Z","updated_at":"2016-08-28T11:20:43Z","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/242969378","html_url":"https://github.com/LinuxChristian/pyW215/issues/3#issuecomment-242969378","issue_url":"https://api.github.com/repos/LinuxChristian/pyW215/issues/3","id":242969378,"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},"created_at":"2016-08-28T11:20:43Z","updated_at":"2016-08-28T11:20:43Z","body":"Yeah, unfortunately I've tried all the proof-of-concepts and it seems that they've all been patched on versions past v1.10. After doing some tests with the library I've found that the plug seems to be responding normally to authentication; it's just rejecting whatever passwords I'm throwing at it (like the plug PIN, etc). So I'd say at the current point in time legacy support isn't needed.\r\n\r\nNext I'm going to try resetting the plug and packet capturing on the wireless network it creates for setup, maybe the app is setting a different password on the plug."}}
{"actor":{"display_login":"nvella"}}