Search found 969 matches
- Sat Jul 03, 2021 5:10 am
- Forum: General Discussion and Questions
- Topic: WebREPL freezes when pasting large code block
- Replies: 6
- Views: 2631
Re: WebREPL freezes when pasting large code block
I wouldn't worry about flash cycles on an esp8266 (and not just because they are dirt cheap). During my development I often end up uploading the whole firmware 20 times a day. For every change I make, I compile and flash a new firmware (which is ~700kB). And none of my devices have had any problems ...
- Mon Jun 28, 2021 6:13 pm
- Forum: Programs, Libraries and Tools
- Topic: mqtt_as subscribe problem
- Replies: 8
- Views: 3606
Re: mqtt_as subscribe problem
The only thing one has to be careful about is to use bytes and not strings. If the topics/messages are short, it will work either way. But if they are longer then the topics/messages will break the communication because they might get sent in multiple operations and therefore split into multiple par...
- Mon Jun 28, 2021 10:30 am
- Forum: ESP8266 boards
- Topic: ImportError: no module named 'uasyncio'
- Replies: 5
- Views: 4674
Re: ImportError: no module named 'uasyncio'
It's possible that the 1M still doesn't include the module uasyncio? It was not included earlier but I remember having had a discussion about it.
- Mon Jun 28, 2021 10:25 am
- Forum: Programs, Libraries and Tools
- Topic: mqtt_as subscribe problem
- Replies: 8
- Views: 3606
Re: mqtt_as subscribe problem
I have topics like home/binary_sensor/77c0b900/status/config and everything works just fine.
- Mon Jun 28, 2021 9:35 am
- Forum: ESP8266 boards
- Topic: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
- Replies: 15
- Views: 7166
Re: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
esp-idf has nothing to do with the repl, it's just the startup garbage and wifi debug messages and the likes. the repl comes from micropython and you can use the webrepl to control and program your device.
- Mon Jun 28, 2021 7:00 am
- Forum: ESP8266 boards
- Topic: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
- Replies: 15
- Views: 7166
Re: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
This should work for the esp8266 in the same way: https://forum.micropython.org/viewtopic.php?f=2&t=7844&p=44765&hilit=os.dupterm#p44765 (I'm sure I read posts about the esp8266 and esp32 too but can't find it at the moment) If you compile the firmware with no esp-idf output, the uart should be comp...
- Mon Jun 28, 2021 5:24 am
- Forum: ESP8266 boards
- Topic: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
- Replies: 15
- Views: 7166
Re: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
Alright, thanks for the info. (Just in case you or anyone reading this thread doesn't know this: The repl uart can be removed from the repl and used independently. For this alone, no micropython fork would be required)
- Sun Jun 27, 2021 8:49 pm
- Forum: ESP8266 boards
- Topic: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
- Replies: 15
- Views: 7166
Re: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
I was using https://github.com/dmascord/micropython since I need a UART. I tried again, but failed. Damien (dmascord) is going to help me with the UART, so I have to get that running again. Can you explain the differences between this fork and the main micropython? The uart on the esp8266 is availa...
- Sun Jun 27, 2021 8:47 pm
- Forum: ESP8266 boards
- Topic: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
- Replies: 15
- Views: 7166
Re: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
Unless the dependencies changed, this line is required. It might be possible to not need it if all tls/ssl modules are disabled but I'm not sure about that.
- Sun Jun 27, 2021 12:41 pm
- Forum: ESP8266 boards
- Topic: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
- Replies: 15
- Views: 7166
Re: Compiling firmware with pfalcon fork https://github.com/mongoose-os/esp-open-sdk
I have the esp8266 micropython build with the pfalcon esp-open-sdk working in this script: https://github.com/kevinkk525/pysmartnode/blob/dev/tools/esp8266/esp8266_get_repository.sh I should point out that this thread is only about the esp-open-sdk and has nothing to do with the pfalcon micropython ...