{"action":"created","issue":{"url":"https://api.github.com/repos/marvinroger/homie-esp8266/issues/530","repository_url":"https://api.github.com/repos/marvinroger/homie-esp8266","labels_url":"https://api.github.com/repos/marvinroger/homie-esp8266/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/marvinroger/homie-esp8266/issues/530/comments","events_url":"https://api.github.com/repos/marvinroger/homie-esp8266/issues/530/events","html_url":"https://github.com/marvinroger/homie-esp8266/issues/530","id":335153824,"node_id":"MDU6SXNzdWUzMzUxNTM4MjQ=","number":530,"title":"OTA Crashing WeMos device","user":{"login":"sillyfrog","id":816454,"node_id":"MDQ6VXNlcjgxNjQ1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/816454?v=4","gravatar_id":"","url":"https://api.github.com/users/sillyfrog","html_url":"https://github.com/sillyfrog","followers_url":"https://api.github.com/users/sillyfrog/followers","following_url":"https://api.github.com/users/sillyfrog/following{/other_user}","gists_url":"https://api.github.com/users/sillyfrog/gists{/gist_id}","starred_url":"https://api.github.com/users/sillyfrog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sillyfrog/subscriptions","organizations_url":"https://api.github.com/users/sillyfrog/orgs","repos_url":"https://api.github.com/users/sillyfrog/repos","events_url":"https://api.github.com/users/sillyfrog/events{/privacy}","received_events_url":"https://api.github.com/users/sillyfrog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-06-24T06:00:48Z","updated_at":"2018-10-22T09:17:20Z","closed_at":null,"author_association":"NONE","body":"After much testing, I have been able to find one of the examples is able to replicate my issue. The most basic example as per http://marvinroger.github.io/homie-esp8266/docs/2.0.0/quickstart/getting-started/ does work OK. The TemperatureSensor does not. I _think_ it maybe related to having two `temperatureNode.advertise` lines - but no idea how.\r\n\r\nI'm using a WeMos Mini Pro v1.1.0 and a v1.0.0 (both have the same behavior - so fairly sure it's not the device). I'm sure OTA used to work on these same devices but that may have been Homie <= 1.5. I'm only recently getting back into OTA updates using the v2.0 firmware (latest stable release).\r\n\r\nBasically, if I upload the \"TemperatureSensor\" example, then change the version to v1.0.1 (say), and recompile, and try to upload the newly built firmware using `ota_updater.py`, I get an Exception right away. The decoded exception looks like this: https://gist.github.com/sillyfrog/1e66895dd9b3ed576d31514c7bcface2\r\n\r\nI have tried using both Arduino, and PlatformIO (each with their own checkout), and ensured all libraries are up to date.\r\n\r\nThings appear to otherwise work OK, until you go to do an OTA update, and then things fall apart.\r\n\r\nHappy to provide any more information you may need - and I feel I'm just doing something silly, but not sure where to start looking :/ \r\n\r\nThanks in advance.\r\n\r\nCheers."},"comment":{"url":"https://api.github.com/repos/marvinroger/homie-esp8266/issues/comments/431782179","html_url":"https://github.com/marvinroger/homie-esp8266/issues/530#issuecomment-431782179","issue_url":"https://api.github.com/repos/marvinroger/homie-esp8266/issues/530","id":431782179,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTc4MjE3OQ==","user":{"login":"JorinL","id":33031729,"node_id":"MDQ6VXNlcjMzMDMxNzI5","avatar_url":"https://avatars2.githubusercontent.com/u/33031729?v=4","gravatar_id":"","url":"https://api.github.com/users/JorinL","html_url":"https://github.com/JorinL","followers_url":"https://api.github.com/users/JorinL/followers","following_url":"https://api.github.com/users/JorinL/following{/other_user}","gists_url":"https://api.github.com/users/JorinL/gists{/gist_id}","starred_url":"https://api.github.com/users/JorinL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JorinL/subscriptions","organizations_url":"https://api.github.com/users/JorinL/orgs","repos_url":"https://api.github.com/users/JorinL/repos","events_url":"https://api.github.com/users/JorinL/events{/privacy}","received_events_url":"https://api.github.com/users/JorinL/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T09:17:20Z","updated_at":"2018-10-22T09:17:20Z","author_association":"NONE","body":"@sillyfrog can you please try to execute this cmd (from windows/linux) to the ip of your Wemos Device:\r\n\r\n`echo \"0 48003 412864 50a61345aed86f6dabce66fca2de94a2\" >/dev/udp/IP-OF-YOUR-WEMOS/8266`\r\n\r\nPlease take a look into you mqtt in the same time and check if it resets everytime you send the command from above.\r\n\r\nPlease tell me if it resets everytime you send it. \r\n\r\n\r\nIf it does, then please check your config.json if you named your device in a poattern like \"sonoff-dual-01\" and if so remove the zero.  \r\n\r\nI can say to 100% that the name \"sonoff-dual-01\" causes reset in the moment that the device gets the OTA invitation. I will open a Bug for that - I'm currently testing if it is Homie oder Arduino-OTA where I have to do that.\r\n"}}
{"actor":{"display_login":"JorinL"}}