{"action":"created","issue":{"url":"https://api.github.com/repos/SevenW/Plugwise-2-py/issues/61","repository_url":"https://api.github.com/repos/SevenW/Plugwise-2-py","labels_url":"https://api.github.com/repos/SevenW/Plugwise-2-py/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/SevenW/Plugwise-2-py/issues/61/comments","events_url":"https://api.github.com/repos/SevenW/Plugwise-2-py/issues/61/events","html_url":"https://github.com/SevenW/Plugwise-2-py/issues/61","id":373994141,"node_id":"MDU6SXNzdWUzNzM5OTQxNDE=","number":61,"title":"How does always_on in pw-conf.json work?","user":{"login":"MagnusThome","id":32169384,"node_id":"MDQ6VXNlcjMyMTY5Mzg0","avatar_url":"https://avatars2.githubusercontent.com/u/32169384?v=4","gravatar_id":"","url":"https://api.github.com/users/MagnusThome","html_url":"https://github.com/MagnusThome","followers_url":"https://api.github.com/users/MagnusThome/followers","following_url":"https://api.github.com/users/MagnusThome/following{/other_user}","gists_url":"https://api.github.com/users/MagnusThome/gists{/gist_id}","starred_url":"https://api.github.com/users/MagnusThome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagnusThome/subscriptions","organizations_url":"https://api.github.com/users/MagnusThome/orgs","repos_url":"https://api.github.com/users/MagnusThome/repos","events_url":"https://api.github.com/users/MagnusThome/events{/privacy}","received_events_url":"https://api.github.com/users/MagnusThome/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-25T15:04:05Z","updated_at":"2018-11-05T22:05:41Z","closed_at":null,"author_association":"NONE","body":"If I change always_on from False to True on a circle I get a crash on startup. \r\n\r\nSo I guess this is a \"read only\" setting that needs to match how a circle was set up in Plugwise source rather than a setting I can set to either mode in pw-conf.json to change how a circle works?\r\n\r\n\r\n(I guess it's used in P2py to show the lock on the web page and disable the web page switch?)"},"comment":{"url":"https://api.github.com/repos/SevenW/Plugwise-2-py/issues/comments/436052958","html_url":"https://github.com/SevenW/Plugwise-2-py/issues/61#issuecomment-436052958","issue_url":"https://api.github.com/repos/SevenW/Plugwise-2-py/issues/61","id":436052958,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjA1Mjk1OA==","user":{"login":"MagnusThome","id":32169384,"node_id":"MDQ6VXNlcjMyMTY5Mzg0","avatar_url":"https://avatars2.githubusercontent.com/u/32169384?v=4","gravatar_id":"","url":"https://api.github.com/users/MagnusThome","html_url":"https://github.com/MagnusThome","followers_url":"https://api.github.com/users/MagnusThome/followers","following_url":"https://api.github.com/users/MagnusThome/following{/other_user}","gists_url":"https://api.github.com/users/MagnusThome/gists{/gist_id}","starred_url":"https://api.github.com/users/MagnusThome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MagnusThome/subscriptions","organizations_url":"https://api.github.com/users/MagnusThome/orgs","repos_url":"https://api.github.com/users/MagnusThome/repos","events_url":"https://api.github.com/users/MagnusThome/events{/privacy}","received_events_url":"https://api.github.com/users/MagnusThome/received_events","type":"User","site_admin":false},"created_at":"2018-11-05T22:05:41Z","updated_at":"2018-11-05T22:05:41Z","author_association":"NONE","body":"I might have figured out when it crashes. It's setting a plug to always on when it's in off state.\r\n\r\nThis happens:\r\n\r\n```\r\nNov 05 23:03:57 debianlandet python[15641]:   File \"/home/sommar/Plugwise-2-py/plugwise/api.py\", line 391, in __init__\r\nNov 05 23:03:57 debianlandet python[15641]:     self.reinit()\r\nNov 05 23:03:57 debianlandet python[15641]:   File \"/home/sommar/Plugwise-2-py/plugwise/api.py\", line 401, in reinit\r\nNov 05 23:03:57 debianlandet python[15641]:     self._get_interval()\r\nNov 05 23:03:57 debianlandet python[15641]:   File \"/home/sommar/Plugwise-2-py/plugwise/api.py\", line 946, in _get_interval\r\nNov 05 23:03:57 debianlandet python[15641]:     cur_idx = info['last_logaddr']\r\nNov 05 23:03:57 debianlandet python[15641]: TypeError: 'bool' object has no attribute '__getitem__'\r\nNov 05 23:03:57 debianlandet systemd[1]: plugwise.service: Main process exited, code=exited, status=1/FAILURE\r\nNov 05 23:03:57 debianlandet systemd[1]: plugwise.service: Unit entered failed state.\r\nNov 05 23:03:57 debianlandet systemd[1]: plugwise.service: Failed with result 'exit-code'.\r\n\r\n```\r\n"}}
{"actor":{"display_login":"MagnusThome"}}