I have gone through the docs of pio remote but couldn’t get the conditions for doing remote:-
- does the OTA sequence needs to be there in devices(ESP8266)?
- does the higher delay may cause failed upload to remote device?
- How can I make the remote upload command to wait for device in case of deep-sleep?
One of my ESP8266 having OTA sequence implemented, is connected to MQTT broker on raspberry pi. The ESP8266 sends data every 3.5min and when I try to do “pio remote” it always gives error:-
Looking for upload port…
Use manually specified: 192.168.43.11
Uploading .pioenvs/esp8266/firmware.bin
09:37:18 [DEBUG]: Options: {‘esp_ip’: ‘192.168.43.11’, ‘host_port’: 51012, ‘image’: ‘.pioenvs/esp8266/firmware.bin’,
‘host_ip’: ‘0.0.0.0’, ‘auth’: ‘’, ‘esp_port’: 8266, ‘spiffs’: False, ‘debug’: True, ‘progress’: True}
09:37:18 [INFO]: Starting on 0.0.0.0:51012
09:37:18 [INFO]: Upload size: 254960
09:37:18 [INFO]: Sending invitation to: 192.168.43.11
09:37:28 [ERROR]: No Answer
*** [upload] Error 1