{"action":"created","issue":{"url":"https://api.github.com/repos/jneilliii/OctoPrint-Tasmota/issues/18","repository_url":"https://api.github.com/repos/jneilliii/OctoPrint-Tasmota","labels_url":"https://api.github.com/repos/jneilliii/OctoPrint-Tasmota/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/jneilliii/OctoPrint-Tasmota/issues/18/comments","events_url":"https://api.github.com/repos/jneilliii/OctoPrint-Tasmota/issues/18/events","html_url":"https://github.com/jneilliii/OctoPrint-Tasmota/issues/18","id":288160604,"node_id":"MDU6SXNzdWUyODgxNjA2MDQ=","number":18,"title":"Problem with idx or pw?","user":{"login":"rewegit","id":35307503,"node_id":"MDQ6VXNlcjM1MzA3NTAz","avatar_url":"https://avatars3.githubusercontent.com/u/35307503?v=4","gravatar_id":"","url":"https://api.github.com/users/rewegit","html_url":"https://github.com/rewegit","followers_url":"https://api.github.com/users/rewegit/followers","following_url":"https://api.github.com/users/rewegit/following{/other_user}","gists_url":"https://api.github.com/users/rewegit/gists{/gist_id}","starred_url":"https://api.github.com/users/rewegit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rewegit/subscriptions","organizations_url":"https://api.github.com/users/rewegit/orgs","repos_url":"https://api.github.com/users/rewegit/repos","events_url":"https://api.github.com/users/rewegit/events{/privacy}","received_events_url":"https://api.github.com/users/rewegit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":25,"created_at":"2018-01-12T15:47:50Z","updated_at":"2018-06-10T08:27:55Z","closed_at":null,"author_association":"NONE","body":"- plugin v 0.5.0\r\n- idx testet with 1 or empty\r\n- pw empty in plugin and tasmota\r\n- tasmota v5.11.1a\r\n\r\nHere my log:\r\n[2018-01-12 15:36:32,169] DEBUG: {u'username': u'admin', u'ip': u'192.168.99.24', u'password': u'', u'command': u'checkStatus', u'idx': u''}\r\n[2018-01-12 15:36:32,170] DEBUG: Using authentication for 192.168.99.24.\r\n[2018-01-12 15:36:32,170] DEBUG: Checking status of 192.168.99.24 index .\r\n[2018-01-12 15:36:32,195] ERROR: Invalid ip or unknown error connecting to 192.168.99.24.\r\nTraceback (most recent call last):\r\n  File \"/home/pi/oprint/local/lib/python2.7/site-packages/octoprint_tasmota/__init__.py\", line 132, in check_status\r\n    webresponse = urllib2.urlopen(\"http://\" + plugip + \"/cm?user=\" + username + \"&password=\" + password + \"&cmnd=Power\" + str(plugidx)).read()\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 154, in urlopen\r\n    return opener.open(url, data, timeout)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 437, in open\r\n    response = meth(req, response)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 550, in http_response\r\n    'http', request, response, code, msg, hdrs)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 475, in error\r\n    return self._call_chain(*args)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 409, in _call_chain\r\n    result = func(*args)\r\n  File \"/usr/lib/python2.7/urllib2.py\", line 558, in http_error_default\r\n    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)\r\nHTTPError: HTTP Error 401: Unauthorized\r\n[2018-01-12 15:36:32,199] DEBUG: 192.168.99.24 index  is UNKNOWN\r\n[2018-01-12 15:36:32,200] DEBUG: unknown error with 192.168.99.24.\r\n\r\nany ideas?\r\n "},"comment":{"url":"https://api.github.com/repos/jneilliii/OctoPrint-Tasmota/issues/comments/396031175","html_url":"https://github.com/jneilliii/OctoPrint-Tasmota/issues/18#issuecomment-396031175","issue_url":"https://api.github.com/repos/jneilliii/OctoPrint-Tasmota/issues/18","id":396031175,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NjAzMTE3NQ==","user":{"login":"sgoudelis","id":4840328,"node_id":"MDQ6VXNlcjQ4NDAzMjg=","avatar_url":"https://avatars2.githubusercontent.com/u/4840328?v=4","gravatar_id":"","url":"https://api.github.com/users/sgoudelis","html_url":"https://github.com/sgoudelis","followers_url":"https://api.github.com/users/sgoudelis/followers","following_url":"https://api.github.com/users/sgoudelis/following{/other_user}","gists_url":"https://api.github.com/users/sgoudelis/gists{/gist_id}","starred_url":"https://api.github.com/users/sgoudelis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgoudelis/subscriptions","organizations_url":"https://api.github.com/users/sgoudelis/orgs","repos_url":"https://api.github.com/users/sgoudelis/repos","events_url":"https://api.github.com/users/sgoudelis/events{/privacy}","received_events_url":"https://api.github.com/users/sgoudelis/received_events","type":"User","site_admin":false},"created_at":"2018-06-10T08:27:55Z","updated_at":"2018-06-10T08:27:55Z","author_association":"NONE","body":"I got this to work with leaving the index empty on my POW and the other one with index 1."}}
{"actor":{"display_login":"sgoudelis"}}