MicroPython - ESP32 - Is is possible to update files?
MicroPython - ESP32 - Is is possible to update files?
Hi,
I'm using ESP32 to activate a scheduled GPIO on and off ( relay ).
Time schedule is defined in a file saved on ESP32.
Is it possible to change this text file while ESP32 is not connected to PC using cable (ESP32 is already installed on remote location ) ?
Guy
I'm using ESP32 to activate a scheduled GPIO on and off ( relay ).
Time schedule is defined in a file saved on ESP32.
Is it possible to change this text file while ESP32 is not connected to PC using cable (ESP32 is already installed on remote location ) ?
Guy
Re: MicroPython - ESP32 - Is is possible to update files?
If WiFI is activated, it may be possible. But that requires some agent being active on that device, like WebRepl.
Re: MicroPython - ESP32 - Is is possible to update files?
Hi,
Yes, Wifi is activated, but WEBRepl is available for ESP32 ?
Yes, Wifi is activated, but WEBRepl is available for ESP32 ?
-
- Posts: 847
- Joined: Mon Nov 20, 2017 10:18 am
Re: MicroPython - ESP32 - Is is possible to update files?
Do u have a ftp server running on the ESP32??
Re: MicroPython - ESP32 - Is is possible to update files?
Not one that I know of
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: MicroPython - ESP32 - Is is possible to update files?
You could use the loboris fork for esp32 which has a ftp-server built-in which just has to be enabled. Then you can easily modify that file.
A different approach would be to get the value you have in the file by mqtt subscription.
A different approach would be to get the value you have in the file by mqtt subscription.
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Re: MicroPython - ESP32 - Is is possible to update files?
Thank you for your answer.
1) I look for loboris - it seems interesting. Does it mean I'll have to flash a new bin of Micropython ? BTW - it is possible to run telnet without loboris ?
2) This is another way to look at it ")
1) I look for loboris - it seems interesting. Does it mean I'll have to flash a new bin of Micropython ? BTW - it is possible to run telnet without loboris ?
2) This is another way to look at it ")
-
- Posts: 969
- Joined: Sat Feb 03, 2018 7:02 pm
Re: MicroPython - ESP32 - Is is possible to update files?
1) yes, you can download the prebuilt firmware on his repository and flash it.
1b) I have not heard of telnet outside of loboris fork
1b) I have not heard of telnet outside of loboris fork
Kevin Köck
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
Micropython Smarthome Firmware (with Home-Assistant integration): https://github.com/kevinkk525/pysmartnode
- pythoncoder
- Posts: 5956
- Joined: Fri Jul 18, 2014 8:01 am
- Location: UK
- Contact:
Re: MicroPython - ESP32 - Is is possible to update files?
See this telnet server.
Peter Hinch
Index to my micropython libraries.
Index to my micropython libraries.
Re: MicroPython - ESP32 - Is is possible to update files?
TNKU very much - very usefull!
another- installing FTP server to gain ability to update file remotely.