Running GIT version mega-20180914 Normal on Wemos D1 mini.
Load ~30 %, but a number of times 100% is reported to Domoticz.
Tasks: Generic pulse counter (~20Hz), SSD1306 OLED, 2# DS18B20 (per 30sec.), Dummy Device, System Info Uptime.
GPIO 13 as PWM output.
Objective:
1: Measure Temperature difference, Measure the waterflow pulse counter, Calculate kW Energy.
2: Use Temperature difference for PWM Pump control within the specific PWM Pump bounderies (0% is MAX, 100% is OFF)
I observed sometimes/moretimes NAN values from DS18B20.
How are NAN values handled in the Rules, in a subtraction?
To block them I use in the Rules:
Code: Select all
On TempH#TemperatureH Do // Prevent NAN values in calculation
If [TempL#TemperatureL]>1 And [TempH#TemperatureH]>1
TaskValueSet 7,1, [TempH#TemperatureH]-[TempL#TemperatureL] //Task DeltaT var1 Delta_T contains difference
EndIf
EndOn
I observed some 1-2 daily reboots, Reset Reason: Hardware Watchdog.
So I played around with the extensive Syslog Level & Syslog Facility possibility.
With Level Debug Dev, I ended-up with Manual reboot (75) in a few hours.
In the captured log file I can not find any reason for those reboots.
So, the more advanced Log level causes more reboots??
The Wiki has no clue or explanation (yet) for Syslog Level & Syslog Facility.
In the Log I can find:
Sep 20 14:27:55 2018;192.168.1.83; <13>MUC13_Flow2 EspEasy: WD : Uptime 13 ConnectFailures 0 FreeMem 17616
.
400 lines of logging and then
.
Sep 20 14:29:11 2018;192.168.1.83; <13>MUC13_Flow2 EspEasy: WD : Uptime 1 ConnectFailures 0 FreeMem 17936
So it happens in-between!
What is the logic behind the Hardware Watchdog?
What is the advised Log level for this problem?
A search in the 400 lines for "error" , "reboot", "exception" gives no result.
Any pointers to search for?
How to share this 400 lines Log file?
[Spoiler]text [/Spoiler]
[spoiler]text [/spoiler]
[spoil] text [/spoil]
[Spoil] text [/Spoil]
does not work