{"action":"created","issue":{"url":"https://api.github.com/repos/jneilliii/OctoPrint-ipOnConnect/issues/2","repository_url":"https://api.github.com/repos/jneilliii/OctoPrint-ipOnConnect","labels_url":"https://api.github.com/repos/jneilliii/OctoPrint-ipOnConnect/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/jneilliii/OctoPrint-ipOnConnect/issues/2/comments","events_url":"https://api.github.com/repos/jneilliii/OctoPrint-ipOnConnect/issues/2/events","html_url":"https://github.com/jneilliii/OctoPrint-ipOnConnect/issues/2","id":325862531,"number":2,"title":"OctoPrint 1.3.8 - Plugin works only once after it's been installed","user":{"login":"devilhunter84","id":38408115,"avatar_url":"https://avatars3.githubusercontent.com/u/38408115?v=4","gravatar_id":"","url":"https://api.github.com/users/devilhunter84","html_url":"https://github.com/devilhunter84","followers_url":"https://api.github.com/users/devilhunter84/followers","following_url":"https://api.github.com/users/devilhunter84/following{/other_user}","gists_url":"https://api.github.com/users/devilhunter84/gists{/gist_id}","starred_url":"https://api.github.com/users/devilhunter84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devilhunter84/subscriptions","organizations_url":"https://api.github.com/users/devilhunter84/orgs","repos_url":"https://api.github.com/users/devilhunter84/repos","events_url":"https://api.github.com/users/devilhunter84/events{/privacy}","received_events_url":"https://api.github.com/users/devilhunter84/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-05-23T20:32:29Z","updated_at":"2018-05-24T00:07:38Z","closed_at":null,"author_association":"NONE","body":"Hi there. \r\n\r\nI've seen ipOnConnect has been added to the official OctoPrint plugins repo recently, and installed it on my two Pi's running OctoPi 0.14 and OctoPrint 1.3.8.\r\n\r\nIt's working, but only once, after the plugin is installed and OctoPrint is restarted. \r\nAfter that, i cannot get it to work again anymore. \r\nUninstalling the plugin (+OP restart), and reinstalling the plugin (+OP restart), then it works again, only once. Next restart of OctoPrint or even the whole Pi OP connects to the printer automatically, but doesn't display the message onscreen. \r\n\r\nTried this via a stock 0.14 OctoPi image, and my current image, which has a lot of plugins installed.\r\n\r\nI'm using OctoPi's ability to automatically connect to a WiFi hotspot. \r\nWhen it's not finding known hotspot, it turns the Pi's WiFi into a hotspot itself\r\nhttps://medium.com/@kennethjiang/painless-wi-fi-for-octoprint-4e6b68005400\r\n\r\nipOnConnect works in both situations (no known wifi or a local wifi is found), tested that, but again, works only once after it's installed. \r\n\r\nInstalled the Plugin from the Plugin interface of Octoprint. \r\n\r\nI'm thinking, perhaps the script to display the message does not get activated on the next start of the Pi?\r\n(only once, after it's been installed)"},"comment":{"url":"https://api.github.com/repos/jneilliii/OctoPrint-ipOnConnect/issues/comments/391542430","html_url":"https://github.com/jneilliii/OctoPrint-ipOnConnect/issues/2#issuecomment-391542430","issue_url":"https://api.github.com/repos/jneilliii/OctoPrint-ipOnConnect/issues/2","id":391542430,"user":{"login":"devilhunter84","id":38408115,"avatar_url":"https://avatars3.githubusercontent.com/u/38408115?v=4","gravatar_id":"","url":"https://api.github.com/users/devilhunter84","html_url":"https://github.com/devilhunter84","followers_url":"https://api.github.com/users/devilhunter84/followers","following_url":"https://api.github.com/users/devilhunter84/following{/other_user}","gists_url":"https://api.github.com/users/devilhunter84/gists{/gist_id}","starred_url":"https://api.github.com/users/devilhunter84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/devilhunter84/subscriptions","organizations_url":"https://api.github.com/users/devilhunter84/orgs","repos_url":"https://api.github.com/users/devilhunter84/repos","events_url":"https://api.github.com/users/devilhunter84/events{/privacy}","received_events_url":"https://api.github.com/users/devilhunter84/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T00:07:38Z","updated_at":"2018-05-24T00:07:38Z","author_association":"NONE","body":"So far i've found out that it sometimes works (like 2 out of 8 times) when the Pi is connected to wifi, and it works every time when the Pi is connected over a ethernet cable. \r\n\r\nAlso another weird thing here is that if both are connected (wifi + ethernet) the plugin will display the wifi address in the printer's display."}}
{"actor":{"display_login":"devilhunter84"}}