xoseperez / espurna

Home automation firmware for ESP8266-based devices
http://tinkerman.cat
GNU General Public License v3.0
2.97k stars 635 forks source link

Unstable on Arilux E27 Bulb #431

Open xoseperez opened 6 years ago

xoseperez commented 6 years ago

Originally reported by: Eric Krieger (Bitbucket: ekrbb, GitHub: Unknown)


Recently, I received 2 Arilux E27 Smart Bulbs that I flashed initially with version 1.11.3 and yesterday I upgraded them to 1.12.1 (due to some restarts after 10 minutes or so).

In the beginning I played with them to get the right settings with brightness and colors, also at a high intensity, when I got problems.

At first I thought that this was a lack of power (using W + RGB together), but also at low intensity the problem appears to occur.

Firmware is restarted, while lamp is still on and device comes in a loop (restart every ~ 10 seconds), which prevents access (web or telnet) to turn off the LED's.

Boot mode set to Same as Before

Is this a known issue?

I also have a number of Sonoff devices (Basic, POW, TH10 / 16, S20 and B1 (LED Bulb) without any noticeable problems (using either 1.11.x or 1.12.1 firmware).

My suggestions:  - turn off the lamp after a crash, during the AP mode  - possibility to look at the total power consumption (using a limit of some kind when trying to set all channels to a certain intensity level.

xoseperez commented 6 years ago

Is it rebooting just after connecting to the WIFI?

There is a system check feature that will set the device in safe mode after 5 fast crashes in a row (less than 60 seconds running each time). When in safe mode it will not connect to the defined WiFi networks but will open an AP. You can log to the device via TELNET or flash it using OTA.

But the key here is to know why is it rebooting. Running "crash" from the telnet console will give you a stack trace of the last error. From then on you can decode that stack trace to get some meaningful info on what it was doing when it crashed.

erkgh commented 6 years ago

(I seemed to lost track after switching from bitbucket to github, I am sorry.)

No it is not only rebooting after/while connecting to WiFi. I have been able to run this device for hours; but today it is worse again (after I made some changes to the colors/brighness) and reboots in a few minutes (or less).

I have seen a (fast) decreasing amount of Heap Memory once or twice while adjusting brightness or colours, but often time is missing to get those statistics before device reboots.

Configuration: MQTT Enabled MQTT Retain Enabled MQTT QOS 0 Domotics Enabled (default topics)

Hopefully this information will help to address the reason why this is happening

Sometimes I see [101050] [DOMOTICZ] Error parsing data

=== Herewith one of the collected CRASH log:

telnet arilux-e27-1 Trying 192.168.188.91... Connected to ARILUX-E27-1.space.lan. Escape character is '^]'. [018081] [TELNET] Client #0 connected CRASH [020742] [DEBUG] Crash at 96186 ms [020743] [DEBUG] Reason of restart: 2 [020743] [DEBUG] Exception cause: 3 [020743] [DEBUG] epc1=0x4022a916 epc2=0x00000000 epc3=0x00000000 [020746] [DEBUG] excvaddr=0x400313f9 depc=0x00000000 [020751] [DEBUG] >>>stack>>> [DEBUG] 3ffffbe0: 00000000 3ffffc7c 3ffffc50 402023b5 [DEBUG] 3ffffbf0: 3ffffc10 3fff21b4 00000000 00000000 [DEBUG] 3ffffc00: 00000000 00000000 0ccccccc 00000009 [DEBUG] 3ffffc10: 00000019 00000001 00000000 00000000 [DEBUG] 3ffffc20: 3ffe881f 3fff08f4 00000000 4022a9cc [DEBUG] 3ffffc30: 3fff1af8 00000a8e 00000a8e 402162ac [DEBUG] 3ffffc40: 3ffe881f 3fff08f4 3ffffc7c 40231e55 [DEBUG] 3ffffc50: 40201064 00000000 00000000 40202158 [DEBUG] 3ffffc60: 3ffe881f 3fff08f4 00000000 4021baec [DEBUG] 3ffffc70: 00000000 00000000 00000000 00000000 [DEBUG] 3ffffc80: 00000000 00000000 3fff7428 40227a84 [DEBUG] 3ffffc90: 00000000 3fff08f4 3fff7428 4022115a [DEBUG] 3ffffca0: 3ffe881f 3fff08f4 3ffe8d58 40220f82 [DEBUG] 3ffffcb0: 3ffe881f 3fff08f4 3fff7428 402223f9 [DEBUG] 3ffffcc0: 000000fc 00000000 000000c1 00000000 [DEBUG] 3ffffcd0: 443a3845 37323a45 3a43463a 433a3030 [DEBUG] 3ffffce0: 3fff0031 00085000 00000000 00000000 [DEBUG] 3ffffcf0: 00000000 00000000 00000000 3fff7a24 [DEBUG] 3ffffd00: 0000000f 0000000a 46444436 40004139 [DEBUG] 3ffffd10: 00000100 00000024 3ffffd70 40223052 [DEBUG] 3ffffd20: 3fff1af8 000009d0 000009d0 00000000 [DEBUG] 3ffffd30: 3ffffd90 0000000a 3fff7428 402278a0 [DEBUG] 3ffffd40: 0000000a 3fff7a0c 3ffffd70 4021fd4e [DEBUG] 3ffffd50: 64252e64 0000000a 00000002 40224dc0 [DEBUG] 3ffffd60: 3ffe9240 00000000 3fff88d4 00000400 [DEBUG] 3ffffd70: 00000000 00000000 00000000 3fff8800 [DEBUG] 3ffffd80: 0000000a 3fff0430 00000002 40224e1d [DEBUG] 3ffffd90: 40222238 00000067 402278a8 40227894 [DEBUG] 3ffffda0: 3fff756c 00000000 3fff0440 402272bc [DEBUG] 3ffffdb0: 3fff3a54 00000a8e 00000a8e 4010020c [DEBUG] 3ffffdc0: 00000001 3fff756c 3ffffe10 4010068c [DEBUG] 3ffffdd0: 3ffe9428 67bca8c0 3ffffe10 40202dac [DEBUG] 3ffffde0: 00000000 0000011c 0000011c 4010020c [DEBUG] 3ffffdf0: 00000001 00000000 3ffffe40 3fff78ec [DEBUG] 3ffffe00: 00000001 3fff756c 00000000 402279f2 [DEBUG] 3ffffe10: 3fff7a0c 3ffe8659 4020d0d0 40216e79 [DEBUG] 3ffffe20: 00000000 00000000 3fff756c 4020b8f1 [DEBUG] 3ffffe30: 3fff1af8 00000000 3fff756c 4020c1a8 [DEBUG] 3ffffe40: 3fff756c 3ffe8659 4020b644 4020cc24 [DEBUG] 3ffffe50: 3fff7b94 00000004 3fff2e24 401004d8 [DEBUG] 3ffffe60: 3fff1af8 000000c1 000000c1 3fff20e4 [DEBUG] 3ffffe70: 00000096 00000004 3fff2e24 4020c1e1 [DEBUG] 3ffffe80: 3fff78ec 05b5368d 00002200 40107598 [DEBUG] 3ffffe90: 3fff2ba4 3fff20f0 3fff78ec 40216ed8 [DEBUG] 3ffffea0: 3fff78ec 00000096 3fff7b94 4020d249 [DEBUG] 3ffffeb0: 00000001 3fff24b4 3fff7b94 40206624 [DEBUG] 3ffffec0: 3fff70e4 3fff20ec 3fff20e8 40206644 [DEBUG] 3ffffed0: 3fff70e4 3fff20ec 3fff20e8 4023efd5 [DEBUG] 3ffffee0: 000000[022523]

=== And after another reboot I used INFO: telnet arilux-e27-1 Trying 192.168.188.91... Connected to ARILUX-E27-1.space.lan. Escape character is '^]'. [017659] [TELNET] Client #0 connected INFO

[017660] [INIT] ESPURNA 1.12.3 [017660] [INIT] xose.perez@gmail.com [017661] [INIT] http://tinkerman.cat

[017661] [INIT] CPU chip ID: 0x6DDF9A [017662] [INIT] CPU frequency: 80 MHz [017665] [INIT] SDK version: 1.5.3(aec24ac9) [017669] [INIT] Core version: 2_3_0 [017672] [INIT] Core revision: [017675] [017676] [INIT] Flash chip ID: 0x1440C8 [017679] [INIT] Flash speed: 40000000 Hz [017683] [INIT] Flash mode: DOUT [017686] [017686] [INIT] Flash sector size: 4096 bytes [017691] [INIT] Flash size (CHIP): 1048576 bytes [017695] [INIT] Flash size (SDK): 1048576 bytes / 256 sectors [017701] [INIT] Firmware size: 481936 bytes / 118 sectors [017706] [INIT] OTA size: 544768 bytes / 133 sectors [017712] [INIT] SPIFFS size: 0 bytes / 0 sectors [017718] [INIT] EEPROM size: 4096 bytes / 1 sectors [017723] [INIT] Empty space: 16384 bytes / 4 sectors [017729] [017730] [INIT] BOARD: ARILUX_E27 [017733] [INIT] SUPPORT: ALEXA BROKER DEBUG_SERIAL DEBUG_TELNET DOMOTICZ HOMEASSISTANT MDNS_SERVER NTP SCHEDULER TELNET TERMINAL THINGSPEAK WEB

[017745] [INIT] Last reset reason: Exception [017749] [INIT] Settings size: 1161 bytes [017754] [INIT] Free heap: 35104 bytes [017757] [INIT] Power: 3184 mV [017759] [INIT] Power saving delay value: 10 ms [017763] [017764] [WIFI] MODE STA ------------------------------------- [017770] [WIFI] SSID Space#### [017773] [WIFI] IP 192.168.188.91 [017777] [WIFI] MAC 60:01:94:##:##:## [017780] [WIFI] GW 192.168.188.1 [017783] [WIFI] DNS 192.168.188.10 [017786] [WIFI] MASK 255.255.255.0 [017789] [WIFI] HOST ARILUX-E27-1 [017792] [WIFI] BSSID E8:DE:27:##:##:## [017796] [WIFI] CH 3 [017798] [WIFI] RSSI -83 [017800] [WIFI] ---------------------------------------------- [017806] +OK

=== After reboot LED was off, I turned it on, and within 2 seconds unit rebooted again. Using telnet I could collect this:

[052168] [WEBSERVER] Request: GET /index.html [052191] [WEBSOCKET] #16 disconnected [052310] [WEBSOCKET] #17 connected, ip: 192.168.188.103, url: /ws [052955] [WEBSERVER] Request: GET /index.html [052981] [WEBSOCKET] #17 disconnected [053079] [WEBSOCKET] #18 connected, ip: 192.168.188.103, url: /ws [055235] [WEBSOCKET] Requested action: relay [055237] [RELAY] #0 scheduled ON in 0 ms [055243] [RELAY] #0 set to ON [055245] [MQTT] Sending ARILUX-E27-1/color => #FF0E16 (PID 1) [055246] [MQTT] Sending ARILUX-E27-1/rgb => #FF0E16 (PID 1) [055246] [MQTT] Sending ARILUX-E27-1/hsv => 358,95,100 (PID 1) [055251] [MQTT] Sending ARILUX-E27-1/brightness => 69 (PID 1) [055256] [MQTT] Sending ARILUX-E27-1/channel/0 => 255 (PID 1) [055262] [MQTT] Sending ARILUX-E27-1/channel/1 => 14 (PID 1) [055267] [MQTT] Sending ARILUX-E27-1/channel/2 => 22 (PID 1) [055272] [MQTT] Sending ARILUX-E27-1/channel/3 => 92 (PID 1) [055281] [MQTT] Sending ARILUX-E27-1/relay/0 => 1 (PID 1) [055284] [MQTT] Sending domoticz/in => {"idx": 1777, "nvalue": 1, "svalue": ""} (PID 1) [055474] [MQTT] Received domoticz/out => { "Battery" : 255, "RSSI" : 12, "description" : "Arilux-E27-1", "dtype" : "Lighting Limitless/Applamp", "id" : "00083777", "idx" : 1777, "name" : "Arilux1", "nvalue" : 1, "stype" : "RGBW", "switchType" : "Dimmer", "unit" : 1 }

[055492] [DOMOTICZ] Received value 1 for IDX 1777 [056283] [RELAY] Saving mask: 1 [057088] [WEBSERVER] Request: GET /index.html [057108] [WEBSOCKET] #18 disconnected

Danny89530 commented 6 years ago

Same problem encountered. This is my crash dump:

[033197] [TELNET] Client #0 connected
crash
[035801] [DEBUG] Crash at 305254 ms
[035802] [DEBUG] Reason of restart: 2
[035802] [DEBUG] Exception cause: 3
[035802] [DEBUG] epc1=0x4022a916 epc2=0x00000000 epc3=0x00000000
[035805] [DEBUG] excvaddr=0x40025d99 depc=0x00000000
[035810] [DEBUG] >>>stack>>>
[DEBUG] 3fff18d0: 00000000 3fff196c 3fff1940 402023b5
[DEBUG] 3fff18e0: 3fff1900 3fff21b4 00000000 3fff09d0
[DEBUG] 3fff18f0: 00000000 00000000 0ccccccc 00000009
[DEBUG] 3fff1900: 00000019 00000001 00000000 3fff09d0
[DEBUG] 3fff1910: 00000131 3fff0538 00000000 4022a9cc
[DEBUG] 3fff1920: 3fff1af8 00000178 00000178 402162ac
[DEBUG] 3fff1930: 00000131 3fff0538 3fff196c 40231e55
[DEBUG] 3fff1940: 40201064 00000000 00000000 40202158
[DEBUG] 3fff1950: 00000131 3fff0538 00000000 4021baec
[DEBUG] 3fff1960: 00000000 00000000 00000000 00000000
[DEBUG] 3fff1970: 00000000 00000000 3fff03ec 4021ad4b
[DEBUG] 3fff1980: 3fffdad0 3fff0538 3fff03f4 4022400f
[DEBUG] 3fff1990: 3fffdad0 3fff08d0 0000000d 4021359c
[DEBUG] 3fff19a0: 3fffdad0 3fff08d0 0000000d 40213620
[DEBUG] 3fff19b0: 3fffdad0 3fff08d0 0000000d 3fff09d0
[DEBUG] 3fff19c0: 3fffdad0 3fff0538 3fff03f4 402241a9
[DEBUG] 3fff19d0: 00000000 3fff08d0 00000001 402184a4
[DEBUG] 3fff19e0: 3fffdad0 00000000 3fff09c9 40202f90
[DEBUG] 3fff19f0: feefeffe feefeffe 3fff09e0 40204614
[DEBUG] <<<stack<<<
[035905] +OK
erkgh commented 6 years ago

Today I upgraded to 1.12.4 using the already compiled version from your site. Bulb stays unstable. After the last HEAP command it was already restarting...

`~ $ telnet arilux-e27-1.space.lan Trying 192.168.188.91... Connected to ARILUX-E27-1.space.lan. Escape character is '^]'. [067439] [TELNET] Client #0 connected [067504] [MQTT] MQTT brokers found: 0 [067507] [MQTT] Connecting to broker at RPI3b.space.lan:1883 [067507] [MQTT] Client ID: ESPURNA_6DDF9A [067507] [MQTT] QoS: 0 [067507] [MQTT] Retain flag: 0 [067510] [MQTT] Keepalive time: 30s [067513] [MQTT] Will topic: ARILUX-E27-1/status [067591] [MQTT] Connected! [067592] [MQTT] Unsubscribing to # (PID 1) [067593] [MQTT] Subscribing to ARILUX-E27-1/brightness/set (PID 2) [067594] [MQTT] Subscribing to ARILUX-E27-1/mired/set (PID 3) [067598] [MQTT] Subscribing to ARILUX-E27-1/kelvin/set (PID 4) [067603] [MQTT] Subscribing to ARILUX-E27-1/color/set (PID 5) [067609] [MQTT] Subscribing to ARILUX-E27-1/rgb/set (PID 6) [067614] [MQTT] Subscribing to ARILUX-E27-1/hsv/set (PID 7) [067619] [MQTT] Subscribing to ARILUX-E27-1/channel/+/set (PID 8) [067625] [MQTT] Subscribing to ARILUX-E27-1/relay/+/set (PID 9) [067631] [MQTT] Subscribing to ARILUX-E27-1/led/+/set (PID 10) [067636] [MQTT] Subscribing to ARILUX-E27-1/action/set (PID 11) [067641] [MQTT] Subscribing to domoticz/out (PID 12) [067648] [MQTT] Sending ARILUX-E27-1/app => ESPURNA (PID 1) [067651] [MQTT] Sending ARILUX-E27-1/version => 1.12.4 (PID 1) [067657] [MQTT] Sending ARILUX-E27-1/host => ARILUX-E27-1 (PID 1) [067662] [MQTT] Sending ARILUX-E27-1/ip => 192.168.188.91 (PID 1) [067668] [MQTT] Sending ARILUX-E27-1/mac => 60:01:94:6D:DF:9A (PID 1) [067674] [MQTT] Sending ARILUX-E27-1/rssi => -84 (PID 1) [067679] [MQTT] Sending ARILUX-E27-1/uptime => 67 (PID 1) [067684] [MQTT] Sending ARILUX-E27-1/freeheap => 30488 (PID 1) [067690] [MQTT] Sending ARILUX-E27-1/relay/0 => 0 (PID 1) [067695] [MQTT] Sending ARILUX-E27-1/color => #FFB225 (PID 1) [067700] [MQTT] Sending ARILUX-E27-1/rgb => #FFB225 (PID 1) [067705] [MQTT] Sending ARILUX-E27-1/hsv => 39,85,100 (PID 1) [067711] [MQTT] Sending ARILUX-E27-1/brightness => 64 (PID 1) [067716] [MQTT] Sending ARILUX-E27-1/channel/0 => 255 (PID 1) [067721] [MQTT] Sending ARILUX-E27-1/channel/1 => 178 (PID 1) [067727] [MQTT] Sending ARILUX-E27-1/channel/2 => 37 (PID 1) [067732] [MQTT] Sending ARILUX-E27-1/channel/3 => 0 (PID 1) [067738] [MQTT] Sending ARILUX-E27-1/vcc => 3186 (PID 1) [067742] [MQTT] Sending ARILUX-E27-1/status => 1 (PID 1) [067783] [MQTT] Subscribe ACK for PID 2 [067784] [MQTT] Subscribe ACK for PID 3 [067784] [MQTT] Subscribe ACK for PID 4 [067785] [MQTT] Subscribe ACK for PID 5 [067786] [MQTT] Subscribe ACK for PID 6 [067790] [MQTT] Subscribe ACK for PID 7 [067793] [MQTT] Subscribe ACK for PID 8 [067797] [MQTT] Subscribe ACK for PID 9 [067800] [MQTT] Subscribe ACK for PID 10 [067804] [MQTT] Subscribe ACK for PID 11 [067807] [MQTT] Subscribe ACK for PID 12 [068514] [NTP] Time: 2018-03-08 15:28:13 [069575] [WEBSERVER] Request: GET /index.html [069921] [WEBSOCKET] #1 connected, ip: 192.168.188.103, url: /ws CRASH [073345] [DEBUG] Crash at 377010 ms [073346] [DEBUG] Reason of restart: 2 [073346] [DEBUG] Exception cause: 29 [073346] [DEBUG] epc1=0x4000e1b2 epc2=0x00000000 epc3=0x00000000 [073349] [DEBUG] excvaddr=0x00000000 depc=0x00000000 [073354] [DEBUG] >>>stack>>> [DEBUG] 3ffffe60: 00000000 00000020 40269040 401004f4 [DEBUG] 3ffffe70: 00000000 3fffbfa4 40269040 401075cc [DEBUG] 3ffffe80: 00000001 00000000 00000000 4022d400 [DEBUG] 3ffffe90: 0000004c 4023f6b3 00000018 00000015 [DEBUG] 3ffffea0: 3ffefc28 167671c4 3ffefc28 167671c4 [DEBUG] 3ffffeb0: 3ffffed0 4024334f 3ffef47c 00000005 [DEBUG] 3ffffec0: 4024e3e6 3fff00a4 3ffefc28 00000064 [DEBUG] 3ffffed0: 40249e00 3ffefb9c 3ffe9966 3ffe9966 [DEBUG] 3ffffee0: 3fff67bf 3ffeeffc 3fff76f4 00000015 [DEBUG] 3ffffef0: 40244fc7 3ffefb50 3ffefc28 167671c4 [DEBUG] 3fffff00: 00000001 4024b0b4 3ffef500 0000010f [DEBUG] 3fffff10: 40244c7c 40244c50 3ffefb68 00000000 [DEBUG] 3fffff20: 40246a1d 40244c50 60000600 40202158 [DEBUG] 3fffff30: 3ffef53c 402469e4 3ffefb68 3ffef020 [DEBUG] 3fffff40: 40244c46 1675f8db 60000600 60000600 [DEBUG] 3fffff50: 40244bed 3ffefb68 3ffef020 167671c4 [DEBUG] 3fffff60: 402450a0 0704d80e 40244c8c 40203748 [DEBUG] 3fffff70: 4023104d 3ffefb68 3ffef020 1676563e [DEBUG] 3fffff80: 40231092 3fffdab0 00000000 3fffdcb0 [DEBUG] 3fffff90: 3ffef038 3fffdad0 3fff09d0 40202f03 [DEBUG] 3fffffa0: 40000f49 40000f49 3fffdab0 40000f49 [DEBUG] <<<stack<<< [073458] +OK [075975] [MQTT] Received domoticz/out => { "Battery" : 255, "RSSI" : 12, "description" : "", "dtype" : "Temp", "id" : "1", "idx" : 411, "meterType" : "Energy", "name" : "RPI3b Internal Temperature", "nvalue" : 0, "stype" : "LaCrosse TX3", "svalue1" : "48.3", "unit" : 1 }

[075995] [DOMOTICZ] Received value 0 for IDX 411 HEAP [089909] Free HEAP: 29928 bytes [089910] +OK [092712] [WEBSOCKET] Requested action: relay [092714] [RELAY] #0 scheduled ON in 0 ms [092715] [RELAY] #0 set to ON [092716] [MQTT] Sending ARILUX-E27-1/color => #FFB225 (PID 1) [092717] [MQTT] Sending ARILUX-E27-1/rgb => #FFB225 (PID 1) [092722] [MQTT] Sending ARILUX-E27-1/hsv => 39,85,100 (PID 1) [092728] [MQTT] Sending ARILUX-E27-1/brightness => 64 (PID 1) [092733] [MQTT] Sending ARILUX-E27-1/channel/0 => 255 (PID 1) [092738] [MQTT] Sending ARILUX-E27-1/channel/1 => 178 (PID 1) [092744] [MQTT] Sending ARILUX-E27-1/channel/2 => 37 (PID 1) [092749] [MQTT] Sending ARILUX-E27-1/channel/3 => 0 (PID 1) [092757] [MQTT] Sending ARILUX-E27-1/relay/0 => 1 (PID 1) [092760] [MQTT] Sending domoticz/in => {"idx": 1777, "nvalue": 1, "svalue": ""} (PID 1) [092900] [MQTT] Received domoticz/out => { "Battery" : 255, "RSSI" : 12, "description" : "Arilux-E27-1", "dtype" : "Lighting Limitless/Applamp", "id" : "00083777", "idx" : 1777, "name" : "Arilux1", "nvalue" : 1, "stype" : "RGBW", "switchType" : "Dimmer", "unit" : 1 }

[092918] [DOMOTICZ] Received value 1 for IDX 1777 [093760] [RELAY] Saving mask: 1 [095934] [MQTT] Received domoticz/out => { "Battery" : 255, "RSSI" : 12, "description" : "", "dtype" : "General", "id" : "0000044D", "idx" : 96, "meterType" : "Energy", "name" : "RPI3b_CPU_Usage", "nvalue" : 0, "stype" : "Percentage", "svalue1" : "0.41", "unit" : 1 }

[095953] [DOMOTICZ] Received value 0 for IDX 96 [099322] [WEBSOCKET] Requested action: relay [099324] [RELAY] #0 scheduled OFF in 0 ms [099327] [RELAY] #0 set to OFF [099328] [MQTT] Sending ARILUX-E27-1/color => #FFB225 (PID 1) [099329] [MQTT] Sending ARILUX-E27-1/rgb => #FFB225 (PID 1) [099333] [MQTT] Sending ARILUX-E27-1/hsv => 39,85,100 (PID 1) [099338] [MQTT] Sending ARILUX-E27-1/brightness => 64 (PID 1) [099343] [MQTT] Sending ARILUX-E27-1/channel/0 => 255 (PID 1) [099349] [MQTT] Sending ARILUX-E27-1/channel/1 => 178 (PID 1) [099354] [MQTT] Sending ARILUX-E27-1/channel/2 => 37 (PID 1) [099359] [MQTT] Sending ARILUX-E27-1/channel/3 => 0 (PID 1) [099368] [MQTT] Sending ARILUX-E27-1/relay/0 => 0 (PID 1) [099371] [MQTT] Sending domoticz/in => {"idx": 1777, "nvalue": 0, "svalue": ""} (PID 1) [099525] [MQTT] Received domoticz/out => { "Battery" : 255, "RSSI" : 12, "description" : "Arilux-E27-1", "dtype" : "Lighting Limitless/Applamp", "id" : "00083777", "idx" : 1777, "name" : "Arilux1", "nvalue" : 0, "stype" : "RGBW", "switchType" : "Dimmer", "unit" : 1 }

[099543] [DOMOTICZ] Received value 0 for IDX 1777 [100370] [RELAY] Saving mask: 0 HEAP [104240] Free HEAP: 29832 bytes [104241] +OK [114683] [WEBSOCKET] Requested action: relay [114684] [RELAY] #0 scheduled ON in 0 ms [114685] [RELAY] #0 set to ON [114687] [MQTT] Sending ARILUX-E27-1/color => #FFB225 (PID 1) [114687] [MQTT] Sending ARILUX-E27-1/rgb => #FFB225 (PID 1) [114693] [MQTT] Sending ARILUX-E27-1/hsv => 39,85,100 (PID 1) [114698] [MQTT] Sending ARILUX-E27-1/brightness => 64 (PID 1) [114703] [MQTT] Sending ARILUX-E27-1/channel/0 => 255 (PID 1) [114709] [MQTT] Sending ARILUX-E27-1/channel/1 => 178 (PID 1) [114714] [MQTT] Sending ARILUX-E27-1/channel/2 => 37 (PID 1) [114719] [MQTT] Sending ARILUX-E27-1/channel/3 => 0 (PID 1) [114728] [MQTT] Sending ARILUX-E27-1/relay/0 => 1 (PID 1) [114731] [MQTT] Sending domoticz/in => {"idx": 1777, "nvalue": 1, "svalue": ""} (PID 1) [114864] [MQTT] Received domoticz/out => { "Battery" : 255, "RSSI" : 12, "description" : "Arilux-E27-1", "dtype" : "Lighting Limitless/Applamp", "id" : "00083777", "idx" : 1777, "name" : "Arilux1", "nvalue" : 1, "stype" : "RGBW", "switchType" : "Dimmer", "unit" : 1 }

[114883] [DOMOTICZ] Received value 1 for IDX 1777 [115730] [RELAY] Saving mask: 1 HEAP `

erkgh commented 6 years ago

In addition: It seems that when I use the white channel (on / off, dim) I do not experience any problems (RGB leds are off). When I try to use the RGB in any way (on / off, color selection or dimming) I almost immediately experience problems.

kendersec commented 5 years ago

Not sure if it's the same issue but I just flashed an Airlux E27 and when connecting it to my home network for the first time I got a crash:

[171974] [WIFI] ------------------------------------- MODE STA [171976] [WIFI] SSID y=Asin(kx-wt) [171977] [WIFI] IP 192.168.0.152 [171978] [WIFI] MAC B4:E6:2D:1C:B9:CB [171979] [WIFI] GW 192.168.0.1 [171982] [WIFI] DNS 8.8.8.8 [171985] [WIFI] MASK 255.255.255.0 [171988] [WIFI] HOST http://ESPURNA-1CB9CB.local [171992] [WIFI] BSSID DE:9F:DB:8B:6F:AE [171996] [WIFI] CH 6 [171998] [WIFI] RSSI -59 [172000] [WIFI] ---------------------------------------------- [172006] [MDNS] OK [173008] [MQTT] MQTT brokers found: 0 [173013] [MQTT] Connecting to broker at 192.168.0.254:1883 [173014] [MQTT] Client ID: ESPURNA-1CB9CB [173015] [MQTT] QoS: 0 [173016] [MQTT] Retain flag: 1 [173017] [MQTT] Keepalive time: 300s [173019] [MQTT] Will topic: ESPURNA-1CB9CB/status [173086] [MQTT] Connected! [173088] [MQTT] Unsubscribing to # (PID 1) [173090] [MQTT] Subscribing to ESPURNA-1CB9CB/brightness/set (PID 2) [173092] [MQTT] Subscribing to ESPURNA-1CB9CB/mired/set (PID 3) [173094] [MQTT] Subscribing to ESPURNA-1CB9CB/kelvin/set (PID 4) [173100] [MQTT] Subscribing to ESPURNA-1CB9CB/rgb/set (PID 5) [173105] [MQTT] Subscribing to ESPURNA-1CB9CB/hsv/set (PID 6) [173111] [MQTT] Subscribing to ESPURNA-1CB9CB/transition/set (PID 7) [173117] [MQTT] Subscribing to ESPURNA-1CB9CB/channel/+/set (PID 8) [173123] [MQTT] Subscribing to ESPURNA-1CB9CB/relay/+/set (PID 9) [173128] [MQTT] Subscribing to ESPURNA-1CB9CB/pulse/+/set (PID 10) [173135] [MQTT] Subscribing to ESPURNA-1CB9CB/led/+/set (PID 11) [173140] [MQTT] Subscribing to ESPURNA-1CB9CB/action/set (PID 12) [173160] [MQTT] Subscribe ACK for PID 2 [173162] [MQTT] Subscribe ACK for PID 3 [173163] [MQTT] Subscribe ACK for PID 4 [173164] [MQTT] Subscribe ACK for PID 5 [173165] [MQTT] Subscribe ACK for PID 6 [173167] [MQTT] Subscribe ACK for PID 7 [173171] [MQTT] Subscribe ACK for PID 8 [173174] [MQTT] Subscribe ACK for PID 9 [173178] [MQTT] Subscribe ACK for PID 10 [173181] [MQTT] Subscribe ACK for PID 11 [173185] [MQTT] Subscribe ACK for PID 12 [174069] [NTP] UTC Time : 2019-03-15 22:02:47 [174070] [NTP] Local Time: 2019-03-15 23:02:47 [174075] [MQTT] Sending ESPURNA-1CB9CB/app => ESPURNA (PID 1) [174077] [MQTT] Sending ESPURNA-1CB9CB/version => 1.13.5 (PID 1) [174079] [MQTT] Sending ESPURNA-1CB9CB/board => ARILUX_E27 (PID 1) [174085] [MQTT] Sending ESPURNA-1CB9CB/host => ESPURNA-1CB9CB (PID 1) [174091] [MQTT] Sending ESPURNA-1CB9CB/ssid => y=Asin(kx-wt) (PID 1) [174097] [MQTT] Sending ESPURNA-1CB9CB/ip => 192.168.0.152 (PID 1) [174102] [MQTT] Sending ESPURNA-1CB9CB/mac => B4:E6:2D:1C:B9:CB (PID 1) [174110] [MQTT] Sending ESPURNA-1CB9CB/rssi => -60 (PID 1) [174114] [MQTT] Sending ESPURNA-1CB9CB/uptime => 174 (PID 1) [174119] [MQTT] Sending ESPURNA-1CB9CB/datetime => 2019-03-15 23:02:47 (PID 1) [174128] [MQTT] Sending ESPURNA-1CB9CB/freeheap => 6176 (PID 1) [174133] [MQTT] Sending ESPURNA-1CB9CB/relay/0 => 0 (PID 1)

Exception (29): epc1=0x402205fa epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000008 depc=0x00000000

ctx: cont sp: 3fff1c70 end: 3fff2090 offset: 01a0

stack>>> 3fff1e10: 00000000 3fff0708 3fffbe44 40220f68
3fff1e20: 3fffbe44 3fff0708 3fffbe44 4020eb86
3fff1e30: 3fff1e38 3fffbe44 3fff4f5c 40220fb3
3fff1e40: 00000062 3fff0708 3fffbe44 4020ebc2
3fff1e50: 3fff1eb0 3fffbd10 3ffe8e5b 3fffbedc
3fff1e60: 3fffbd08 3fff1eb0 00000001 4020ef28
3fff1e70: 3ffe94d0 3fff1e80 3fffbcfc 00000200
3fff1e80: 3fffbd10 00000000 3fff0fa8 40206cea
3fff1e90: 000006ec 00000000 3fffbedc 3fff1f00
3fff1ea0: 3ffe8369 3fffbf0e 3fffbedc 4020efcb
3fff1eb0: 3437315b 5d333331 3fff0020 00000034
3fff1ec0: 3fff0960 00000034 3fffbedc 4020f0bd
3fff1ed0: 54514d5b 53205d54 69646e65 2520676e
3fff1ee0: 3e3d2073 20732520 44495028 29642520
3fff1ef0: 3fff000a 0000125b 00001216 4010020c
3fff1f00: 3fff1f20 3fff1f10 00000004 00000000
3fff1f10: 3fffb91c 3fffb91c 3ffea593 00000001
3fff1f20: 000006a2 00000000 3fff1f60 00000001
3fff1f30: 00000001 3fffb91c 3ffea593 4020f9b8
3fff1f40: 00000000 00000000 3ffe8542 00000001
3fff1f50: 3fff1f90 3ffea593 00000000 4021018b
3fff1f60: 3fffb91c 0000001f 00000016 3ffe8542
3fff1f70: 00000000 ff000000 000011f4 3fff1fa0
3fff1f80: 00000000 00000001 3ffe8542 402103da
3fff1f90: 616c6572 00302f79 3fff2000 4022c518
3fff1fa0: 00000000 3ffea593 00000000 40210190
3fff1fb0: 00000000 00000000 00000000 00000000
3fff1fc0: 000000ae 3fff08d0 00000000 40210446
3fff1fd0: 000000ae 3ffe8590 3fff2000 4021045c
3fff1fe0: 000000ae 3ffe8590 3fff2000 402105e3
3fff1ff0: 000000ae 3ffe8590 0005fffe 40215395
3fff2000: 00000000 00000000 00000000 00000000
3fff2010: 00000000 00000000 00000000 00000000
3fff2020: 00000000 3fff0c54 3fff2050 3fff1064
3fff2030: 00001820 5c8c2107 0000000f 40228390
3fff2040: 3fffdad0 3fff0c54 0000000f 3fff1064
3fff2050: 3fffdad0 3fff08c0 3fff0680 4021553f
3fff2060: 00000000 3fff0c54 00000002 40204a54
3fff2070: 3fffdad0 00000000 3fff105d 4022d3f0
3fff2080: feefeffe feefeffe 3fff1070 401006fc
<<<stack<<<

ets Jan 8 2013,rst cause:2, boot mode:(3,0)

load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v09826c6d ~ld [000450]

---8<-------

[000451] [MAIN] ESPURNA 1.13.5 (83195fd)