Search found 969 matches
- Wed May 23, 2018 7:51 am
- Forum: ESP8266 boards
- Topic: [workaround used] esp8266 gets stuck periodically
- Replies: 35
- Views: 22677
Re: Asyncio gets stuck periodically
That's how my test is designed as it tells if the interrupt was not executed during the outage and logs it to mqtt. The wdt could save a restart to a file and check it after boot but my esp8266 do not have a filesystem. But I'll see it as they request a configuration after boot which is logged. And ...
- Wed May 23, 2018 6:56 am
- Forum: ESP8266 boards
- Topic: [workaround used] esp8266 gets stuck periodically
- Replies: 35
- Views: 22677
Re: Asyncio gets stuck periodically
In my current test I included an irq that logs the time of execution and a coroutine that checks the time between the last 2 interrupt executions and if they are not right, logs it to mqtt. That way I'll know if interrupts also get stuck or if I can use it as a watchdog. I guess I could have set it ...
- Tue May 22, 2018 10:34 am
- Forum: ESP8266 boards
- Topic: [workaround used] esp8266 gets stuck periodically
- Replies: 35
- Views: 22677
Re: Asyncio gets stuck periodically
I'm actually trust uasyncio too. There is not much to the code and the used modules should not have any long delays as it's only a deque and utimeq. I don't use any streams of uasyncio either so there is not much to cause problems. One thing I just remembered is that these outages occured more often...
- Tue May 22, 2018 8:28 am
- Forum: ESP8266 boards
- Topic: [workaround used] esp8266 gets stuck periodically
- Replies: 35
- Views: 22677
Re: Asyncio gets stuck periodically
After over 1 week of no problems, the first of my mC went offline for 1h 10 minutes again. I changed the uasyncio library to report every execution of a coroutine that takes longer than a few seconds. My log was empty though, except for the message that the execution of coroutines was stopped for at...
- Mon May 21, 2018 8:06 am
- Forum: ESP8266 boards
- Topic: Maximise available RAM
- Replies: 6
- Views: 7401
Re: Maximise available RAM
Ah ok. Good that I understood that correctly. My modules are all frozen bytecode so I don't gain anything from this.
It's not an easy method though.
It's not an easy method though.
- Sun May 20, 2018 12:04 pm
- Forum: ESP8266 boards
- Topic: Maximise available RAM
- Replies: 6
- Views: 7401
Re: Maximise available RAM
no because I do not even understand what this is :/ I can execute micropython.qstr_info(1) and get a lot of entries that are my module names (with path) and a few constants I use, which do not really fit to the modules but how do I know which ones are invalid? And what does putting these into qstrde...
- Sun May 20, 2018 7:32 am
- Forum: ESP8266 boards
- Topic: Maximise available RAM
- Replies: 6
- Views: 7401
Re: Maximise available RAM
But that's a very expensive cheat method
An esp8266 costs about 2.5€ but an esp32 costs at least 6€ without psram...
Oh and I would like to keep my 10 esp8266 useful
I do have 2 esp32, one with psram, though.. for the really big projects.
An esp8266 costs about 2.5€ but an esp32 costs at least 6€ without psram...
Oh and I would like to keep my 10 esp8266 useful
I do have 2 esp32, one with psram, though.. for the really big projects.
- Sat May 19, 2018 9:10 pm
- Forum: ESP8266 boards
- Topic: Maximise available RAM
- Replies: 6
- Views: 7401
Maximise available RAM
[Update: My firmware build had an error resulting in 16kB less free RAM. Therefore this is not as important now] As my project grew, I was constantly hitting the RAM limit of the esp8266. Using frozen modules wasn't enough anymore so I started searching and getting "creative". This are ways I've fou...
- Mon May 14, 2018 7:52 am
- Forum: General Discussion and Questions
- Topic: adhesive/insulation for electronics in soil
- Replies: 8
- Views: 5014
Re: adhesive/insulation for electronics in soil
That sounds very interesting. Thank you all for your answers, I will read through it. @pythoncoder: you are right, the sensor is not for the garden as rain would be a problem. I'm using these in my glasshouse (or balcony garden :D ) So there won't be any rain except if I make it rain by using a wate...
- Sun May 13, 2018 11:33 am
- Forum: General Discussion and Questions
- Topic: uasyncio: best way to write to a file from a coroutine
- Replies: 9
- Views: 6600
Re: uasyncio: best way to write to a file from a coroutine
@pythoncoder: I'm using frozen bytecode and removed every unneccessary class but my project is already that big, it hardly fits into the RAM, and I only use a compressed version of your mqtt-library, a general component registration function, a htu21d, a generic gpio mqtt listener and a buzzer on pw...