{"action":"closed","issue":{"url":"https://api.github.com/repos/iancmcc/ouimeaux/issues/133","repository_url":"https://api.github.com/repos/iancmcc/ouimeaux","labels_url":"https://api.github.com/repos/iancmcc/ouimeaux/issues/133/labels{/name}","comments_url":"https://api.github.com/repos/iancmcc/ouimeaux/issues/133/comments","events_url":"https://api.github.com/repos/iancmcc/ouimeaux/issues/133/events","html_url":"https://github.com/iancmcc/ouimeaux/issues/133","id":170769057,"number":133,"title":"Switch stopped worked","user":{"login":"MysticRyuujin","id":8877131,"avatar_url":"https://avatars.githubusercontent.com/u/8877131?v=3","gravatar_id":"","url":"https://api.github.com/users/MysticRyuujin","html_url":"https://github.com/MysticRyuujin","followers_url":"https://api.github.com/users/MysticRyuujin/followers","following_url":"https://api.github.com/users/MysticRyuujin/following{/other_user}","gists_url":"https://api.github.com/users/MysticRyuujin/gists{/gist_id}","starred_url":"https://api.github.com/users/MysticRyuujin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MysticRyuujin/subscriptions","organizations_url":"https://api.github.com/users/MysticRyuujin/orgs","repos_url":"https://api.github.com/users/MysticRyuujin/repos","events_url":"https://api.github.com/users/MysticRyuujin/events{/privacy}","received_events_url":"https://api.github.com/users/MysticRyuujin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-11T23:18:46Z","updated_at":"2016-08-14T17:51:10Z","closed_at":"2016-08-14T17:51:10Z","body":"I've been using the API for a few months now and it suddenly stopped working, I think maybe after doing an apt-get dist-upgrade on Ubuntu 15.10. This is what I'm getting now:\r\n\r\nwemo -d switch \"Modem\" off\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/wemo\", line 9, in <module>\r\n    load_entry_point('ouimeaux==0.7.9.post0', 'console_scripts', 'wemo')()\r\n  File \"/usr/local/lib/python2.7/dist-packages/ouimeaux-0.7.9.post0-py2.7.egg/ouimeaux/cli.py\", line 361, in wemo\r\n    args.func(args)\r\n  File \"/usr/local/lib/python2.7/dist-packages/ouimeaux-0.7.9.post0-py2.7.egg/ouimeaux/cli.py\", line 81, in switch\r\n    scan(args, on_switch)\r\n  File \"/usr/local/lib/python2.7/dist-packages/ouimeaux-0.7.9.post0-py2.7.egg/ouimeaux/cli.py\", line 29, in scan\r\n    env.start()\r\n  File \"/usr/local/lib/python2.7/dist-packages/ouimeaux-0.7.9.post0-py2.7.egg/ouimeaux/environment.py\", line 82, in start\r\n    self._process_device(dev, cache=False)\r\n  File \"/usr/local/lib/python2.7/dist-packages/ouimeaux-0.7.9.post0-py2.7.egg/ouimeaux/environment.py\", line 184, in _process_device\r\n    callback(device)\r\n  File \"/usr/local/lib/python2.7/dist-packages/ouimeaux-0.7.9.post0-py2.7.egg/ouimeaux/cli.py\", line 78, in on_switch\r\n    getattr(switch, state)()\r\n  File \"/usr/local/lib/python2.7/dist-packages/ouimeaux-0.7.9.post0-py2.7.egg/ouimeaux/device/switch.py\", line 19, in off\r\n    return self.set_state(0)\r\n  File \"/usr/local/lib/python2.7/dist-packages/ouimeaux-0.7.9.post0-py2.7.egg/ouimeaux/device/switch.py\", line 12, in set_state\r\n    self.basicevent.SetBinaryState(BinaryState=int(state))\r\n  File \"/usr/local/lib/python2.7/dist-packages/ouimeaux-0.7.9.post0-py2.7.egg/ouimeaux/device/api/service.py\", line 50, in __call__\r\n    response = requests_post(self.controlURL, body.strip(), headers=self.headers)\r\n  File \"/usr/local/lib/python2.7/dist-packages/ouimeaux-0.7.9.post0-py2.7.egg/ouimeaux/utils.py\", line 80, in inner\r\n    return f(*args, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests-2.9.1-py2.7.egg/requests/api.py\", line 107, in post\r\n    return request('post', url, data=data, json=json, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests-2.9.1-py2.7.egg/requests/api.py\", line 53, in request\r\n    return session.request(method=method, url=url, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests-2.9.1-py2.7.egg/requests/sessions.py\", line 468, in request\r\n    resp = self.send(prep, **send_kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests-2.9.1-py2.7.egg/requests/sessions.py\", line 576, in send\r\n    r = adapter.send(request, **kwargs)\r\n  File \"/usr/local/lib/python2.7/dist-packages/requests-2.9.1-py2.7.egg/requests/adapters.py\", line 449, in send\r\n    raise ReadTimeout(e, request=request)\r\nrequests.exceptions.ReadTimeout: HTTPConnectionPool(host='192.168.5.109', port=49153): Read timed out. (read timeout=5)"}}
{"actor":{"display_login":"MysticRyuujin"}}