Git Product home page Git Product logo

Comments (7)

Imroy avatar Imroy commented on September 23, 2024

Sorry, it's been a while since I've made a release/tag. The 'payload_stream' method and OTA example were added since 1.99.1. I've just made a 1.99.2 release which will include everthing you should need.

from pubsubclient.

brutevinch avatar brutevinch commented on September 23, 2024

Thanks

from pubsubclient.

brutevinch avatar brutevinch commented on September 23, 2024

@Imroy Can you help me with another problem? After update OTA i've got loop.... i think problem in broker but i can't understand it.

Connecting to AirPort Extreme 2,4


WiFi connected
Hostname: meteostation.local
IP address: 10.0.1.102
Local Pressure: 750.9
Connecting to MQTT server
Connected to MQTT server
Subscribing to topic ota/10.0.1.102
Receiving OTA of 335312 bytes...
Clearing retained message.
Update Success: 12115
Rebooting...
rm 0
pm close 7 0 0/14577359
del if0
usl
sul 0 0

ets Jan 8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
@cp:0
ld

Connecting to AirPort Extreme 2,4


WiFi connected
Hostname: meteostation.local
IP address: 10.0.1.102
Local Pressure: 750.6
Connecting to MQTT server
Connected to MQTT server
Subscribing to topic ota/10.0.1.102
Receiving OTA of 335312 bytes...
Clearing retained message.
Update Success: 12062
Rebooting...
rm 0
pm close 7 0 0/14526063
del if0
usl
sul 0 0

ets Jan 8 2013,rst cause:4, boot mode:(3,6)

wdt reset
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
@cp:0
ld

from pubsubclient.

igrr avatar igrr commented on September 23, 2024

This looks like two successful OTAs to me. What's the issue?

from pubsubclient.

brutevinch avatar brutevinch commented on September 23, 2024

@igrr YES but it is in looop!!! I need using device not only update OTA ))))))))))) @igrr Эта хрень бесконечна! )

from pubsubclient.

Imroy avatar Imroy commented on September 23, 2024

Have you only sent the OTA message once? The sketch should be clearing the retained message once it has successfully flashed the new image.

from pubsubclient.

brutevinch avatar brutevinch commented on September 23, 2024

@Imroy Yes i sent only 1 message and when i stop mosquito broker problem is gone. i close this issue. i will use igrr ota. Thank you

from pubsubclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.