Skip to content

OTA Crashing WeMos device #530

Closed
Closed
@sillyfrog

Description

@sillyfrog

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.

I'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).

Basically, 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

I have tried using both Arduino, and PlatformIO (each with their own checkout), and ensured all libraries are up to date.

Things appear to otherwise work OK, until you go to do an OTA update, and then things fall apart.

Happy to provide any more information you may need - and I feel I'm just doing something silly, but not sure where to start looking :/

Thanks in advance.

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions