Go Down

Topic: Serial Monitor with ESP-8266 OTA Port (Read 2811 times) previous topic - next topic



I think many developers would find it handy to be able to still be able to run the serial monitor when an OTA ethernet address is selected for the 'port'.

At present, when you are working on a sketch which your are uploading via OTA, every time you do an update and need to rum the Monitor, you have to change the port back to a physical comms port, then remember to switch it back to the OTA address before your next update.

When you select an ESP-8266 board, the tools menu has several additional options (clock freq etc).  What I'd suggest is replacing the 'port' property selection with two properties "Upload Port" and "Monitor Port", with 'Monitor Port' defaulting to the same value as 'Update Port', except when an OTA address is selected for 'Update Port', in which case 'Monitor Port' initially defaults to the last serial port used, which you can change if required.

This feature would enhance productivity by allowing repeated [code change -> update -> debug] cycles to be performed without having to constantly change to port back and forth between the OTA address and the comms port.




you can use any Terminal application to monitor the serial port.
You can't write an Arduino sketch if you didn't learn programming. Not the language, but the concepts of programming - algorithms and data types.


I used OTA once and then shifted to a more global solution.

Move a step away from OTA and use HTTP.update.

you can then either locally serve up the bin files or put them on a server.

it is a joy to see 50 esp's updating at the same time.


Go Up