Comments (7)
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.
Thanks
from pubsubclient.
@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.
This looks like two successful OTAs to me. What's the issue?
from pubsubclient.
@igrr YES but it is in looop!!! I need using device not only update OTA ))))))))))) @igrr Эта хрень бесконечна! )
from pubsubclient.
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.
@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)
- Subscribe to two topics?
- Compatibility broken with original knolleary/pubsubclient lib HOT 1
- Wrong password HOT 3
- lib update installs the knolleary lib HOT 4
- Message published multiple times HOT 1
- MAX transfer size is not found
- more than one Nodemcu clients can't able to get published message at a time HOT 1
- Multiple unsubscribe or publish with QoS 1 in callback HOT 1
- How to set the callback from a c++ class? HOT 1
- wrong hostname used
- esp12F heating issue HOT 1
- Unable to ascertain if received message is 'retained'. HOT 15
- socket error
- ESP32 HOT 1
- Memory leak on loop() HOT 1
- can this library subscribe to mqtt topic ? HOT 1
- error "MQTT' does not name a type" when compiling ESP8266-OTA example HOT 1
- PubSubClient.connect with userName/password ? HOT 1
- control reaches end of non-void function HOT 1
- beebotte.com - retain vs write API (weird persistance, possible to add) - not a bug I think
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pubsubclient.