Search found 15 matches
- Fri May 24, 2019 7:46 am
- Forum: ESP8266 boards
- Topic: ESP8266 goes down after sometime [SOLVED]
- Replies: 21
- Views: 13680
Re: ESP8266 goes down after sometime
After some tests i just realize that difference between my esp8266 and esp32 setup is only in hardware and position. So a removed esp32 with bme280 more close to a door ( wifi router is on stairs). And it partially solves a problem. This log is before i moved esp32. I see problems with wifi and exce...
- Mon May 20, 2019 9:56 am
- Forum: General Discussion and Questions
- Topic: Greenhouses automation botnet. Need your advice.
- Replies: 3
- Views: 2694
Greenhouses automation botnet. Need your advice.
Hi guys! I need your opinion about my project's architecture. We have a greenhouse complex with 4 greenhouses and 1 seedling lab. For now there no automation in greenhouses and some automation in seedling lab with sonoff 4ch pro. I am planning now how to build a greenhouse automation system on esp32...
- Mon May 20, 2019 8:43 am
- Forum: ESP8266 boards
- Topic: ESP8266 goes down after sometime [SOLVED]
- Replies: 21
- Views: 13680
Re: ESP8266 goes down after sometime
I have esp8266 and esp32 with similar codebase. Esp8266 has 4 DS18b20 sensors and send data to thingsspeak. Esp32 has bme280 sensor and send data to thingsspeak too. i've check a logs, and it was a few exceptions caught tonight on esp8266 in MQTT section, so no crashes. Esp32 still working but i've ...
- Sun May 19, 2019 10:45 am
- Forum: ESP8266 boards
- Topic: ESP8266 goes down after sometime [SOLVED]
- Replies: 21
- Views: 13680
Re: ESP8266 goes down after sometime
i've refactored code a little bit, and have started it to testing. It still working from yesterday. Put connection to wifi and WDT to separate module. Maybe it make sense. All exception works when i try to CTRL+C in REPL. import machine import time from machine import Pin import bme280_float import ...
- Sun May 19, 2019 7:15 am
- Forum: ESP8266 boards
- Topic: ESP8266 goes down after sometime [SOLVED]
- Replies: 21
- Views: 13680
Re: ESP8266 goes down after sometime
yes. i've check that receiving of data stops (widget on my android), come to ESP and see there is no led on. After that i go to sleep and come back at the morning, it was still off.
I just reset it and setted up an usb cable to see what happening.
I just reset it and setted up an usb cable to see what happening.
- Sat May 18, 2019 4:39 pm
- Forum: ESP8266 boards
- Topic: ESP8266 goes down after sometime [SOLVED]
- Replies: 21
- Views: 13680
Re: ESP8266 goes down after sometime
finally i catch an error: field1=58.55&field2=19.06 field1=60.30&field2=19.41 field1=59.20&field2=19.12 field1=58.71&field2=18.65 field1=57.84&field2=18.50 field1=59.69&field2=18.98 field1=60.58&field2=18.99 field1=58.97&field2=18.52 field1=58.40&field2=18.38 field1=60.12&field2=18.97 field1=60.62&f...
- Sat May 18, 2019 10:01 am
- Forum: ESP8266 boards
- Topic: ESP8266 goes down after sometime [SOLVED]
- Replies: 21
- Views: 13680
Re: ESP8266 goes down after sometime
https://i.imgur.com/f7XTpM4.jpg I think i found a bug. I have a poor connection on pins between esp and bme280, so when it import a library it cant found a bme, gives me error and crashes. Should WDT works meanwhile or it crashes too? can i use except on import? try: import bme280_float except: pri...
- Sat May 18, 2019 9:15 am
- Forum: ESP8266 boards
- Topic: ESP8266 goes down after sometime [SOLVED]
- Replies: 21
- Views: 13680
Re: ESP8266 goes down after sometime
damn. its still go to sleep. Even with your WDT. Uptime was 1 day. Any ideas what it may be? I will put it on notebook and will see whats happening on terminal, maybe i will see some debug. import machine import time from machine import Pin import bme280_float import network import micropython from ...
- Fri May 17, 2019 9:00 am
- Forum: Drivers for External Components
- Topic: convert ds18b20 serial number
- Replies: 7
- Views: 9709
Re: convert ds18b20 serial number
How to add this to the code? Testing this sensor as well. print('found devices:', hex(int.from_bytes(b'(roms', 'little')))) does not work roms is an array so you should use it like this: roms = ds.scan() print('found devices:', roms) #serialnum = hex(int.from_bytes(roms[0], 'little')) #print('seria...
- Thu May 16, 2019 6:19 pm
- Forum: ESP8266 boards
- Topic: ESP8266 goes down after sometime [SOLVED]
- Replies: 21
- Views: 13680
Re: ESP8266 goes down after sometime
Given that your main loop runs every 180s I think you need to change the WDT time from 120s to (say) 300s. You should then be able to place the feed() statement in your main loop. I'd suggest after the while(True) statement. The way a WDT works is that it resets the board if it is not fed during it...