Closed dimitrystd closed 7 years ago
Is it OK with the 5.9.0 release? I am using that on a H801 and it's working fine (once I remapped and enabled the 2 pins for CW & WW!)
Unfortunately i see the same error.
v5.9.0
tag/sonoff
folderSetOption15 1
and waited for restartWakeupDuration 1
See exact the same error in console and also attached output from serial serial-output.txt
21:16:18 MQT: tele/h801_bedroom/INFO1 = {"Module":"H801", "Version":"5.9.0", "FallbackTopic":"h801_bedroom_4210BF", "GroupTopic":"sonoffs"}
21:16:18 MQT: tele/h801_bedroom/INFO2 = {"WebServerMode":"Admin", "Hostname":"h801_bedroom-4287", "IPAddress":"192.168.1.55"}
21:16:18 MQT: tele/h801_bedroom/INFO3 = {"RestartReason":"Fatal exception:28 flag:2 (EXCEPTION) epc1:0x4000bf64 epc2:0x00000000 epc3:0x40204324 excvaddr:0x00000001 depc:0x00000000"}
once I remapped and enabled the 2 pins for CW & WW!
@smadds can you tell the commands for the console, not sure what are you talking about.
Empty console verified! Will investigate but from experience it means the logging is corrupt probably due to buffer overflow. My fault. Will check one of these days. (My arilux fails too as soon as I enter command wakeupduration only).
Quick fix
Replace line 902 in file xdrv_snfled.ino from
snprintf_P(mqtt_data, sizeof(mqtt_data), S_JSON_COMMAND_NVALUE, Settings.light_wakeup);
into
snprintf_P(mqtt_data, sizeof(mqtt_data), S_JSON_COMMAND_NVALUE, command, Settings.light_wakeup);
Tested, looks good
Just got
h801
module and flashed it with the last available 5.9.0a. Also setSetOption15 1
. When i send commandWakeupDuration 1
then it restarts with errorIf i send just
WakeupDuration
then console stops to work. I refresh page in browser but it doesn't help. Only restart of module helps.And related question about
Fade
. Is it possible to disable it forPower on
and leave only forPower off
?