-
Data logging with Blynk Terminal
11/05/2017 at 19:56 • 0 commentsDevice should be down only if the internet is down. If sensor causing problems script continuously reset ESP8266 board until a sensor is fixed. The script should handle problematic sensor and continue to update other sensors. Picture show downtime before handling problems. Each time when sensor fali Blynk update terminal with name of fault sensor and time of fail.
-
Disabling Thermostat Regulation
11/01/2017 at 08:23 • 0 commentsIn rare occasion I want to block home heating. Thermostat is programed to turn on heating every day at specific time and it operates independently. This circuit can shut down home heating in every moment regardless of thermostat status.
-
Logging REPL response figure out downtime time
10/31/2017 at 16:06 • 0 commentsI'm loging data with MicroPython REPL prompt.
2017-10-30 22:24:43 ets Jan 8 2013,rst cause:4, boot mode:(3,0)
017-10-30 22:28:14 ets Jan 8 2013,rst cause:4, boot mode:(3,0)
2017-10-30 22:37:07 ets Jan 8 2013,rst cause:4, boot mode:(3,0)
2017-10-30 22:44:56 ets Jan 8 2013,rst cause:4, boot mode:(3,0)
2017-10-30 22:53:51 ets Jan 8 2013,rst cause:4, boot mode:(3,0)
2017-10-30 23:12:39 ets Jan 8 2013,rst cause:4, boot mode:(3,0)
2017-10-30 23:20:20 ets Jan 8 2013,rst cause:4, boot mode:(3,0)
2017-10-30 23:27:02 ets Jan 8 2013,rst cause:4, boot mode:(3,0)
2017-10-31 00:00:04 ets Jan 8 2013,rst cause:4, boot mode:(3,0)
2017-10-31 00:48:16 ets Jan 8 2013,rst cause:4, boot mode:(3,0)
2017-10-31 10:47:06 ets Jan 8 2013,rst cause:1, boot mode:(3,0)
2017-10-31 10:53:40 ets Jan 8 2013,rst cause:1, boot mode:(3,0)
2017-10-31 11:01:31 ets Jan 8 2013,rst cause:4, boot mode:(3,0)
2017-10-31 11:12:33 ets Jan 8 2013,rst cause:4, boot mode:(3,0)
2017-10-31 11:16:01 ets Jan 8 2013,rst cause:4, boot mode:(3,0)
2017-10-31 11:23:41 ets Jan 8 2013,rst cause:4, boot mode:(3,0)Writed python script to figure out problem, it seems that watchdog timer reset ESP board. Trying to increase wdt timeot. Link
---------- more ----------from machine import WDT wdt = WDT(timeout=2000) # enable it with a timeout of 2s wdt.feed()
-
Downtime 4h
10/30/2017 at 16:16 • 0 commentsSomething is wrong :) ESP should reset after 5 update exception. I will log serial port REPL to figure out what happened.
-
Blynk RTC format problem [solved]
10/30/2017 at 09:16 • 0 commentsI am currently testing the stability of the system . Everything is connected only to monitor the operation of the system.
I have not yet decoded the Blynk RTC time format. I am working on that instead of this it displays the exact date and time when the measurements were performed.
Update:
---------- more ----------Blik server using unix time stamp and micropyhon have function utime.localtime() to decode stamp.
More info at time related functions.