I have a couple of Shelly Dimmer 2, all setup same way with multiple momentary switches turning on/off 4 LEDs in a single room but one has strange issues that when I turn on the light on any of the 3 switches the light immediately turns off?
This is strangely not always the case and works 60% of the time and always works with the Shelly App.
In the history I can just see a "turn off" and in the Debug log I can't really figure out why it turns of.
Any ideas? Trying firmware 1.140 and previous one...
Debug log attached with the button press turn on and off procedure.
Code
314328147:1704410844227029 mgos_sys_config.c:323 Saved to conf9.json
314373925 cloud_aes.c:592 Sending 2389 bytes
314377892 314384687 cloud_aes.c:576 free mem: 31044 / 28680, buf len: 2400, buf size: 2414
314395179 cloud_aes.c:406 Bytes written: 1420 bytes remaining: 980
314402362 stmuart.c:248 enqueuing command 10
314406884 stmuart.c:351 uart_send: 204 16 0 bytes
314411974 mgos_mongoose.c:66 New heap free LWM: 28552
314422385 dimmer_proto.c:192 error[0] pulses[7] power[0.00] dchi[0] status[8001] debug[0(0 0)]
314453416 mgos_http_server.c:180 0x3fff2a44 HTTP connection from 192.168.0.172:37444
314478940 mgos_mongoose.c:66 New heap free LWM: 27936
314487704 cloud_aes.c:406 Bytes written: 980 bytes remaining: 0
314537558 cloud_aes.c:592 Sending 31 bytes
314541592 314547010 cloud_aes.c:576 free mem: 36040 / 27936, buf len: 32, buf size: 46
314554115 cloud_aes.c:406 Bytes written: 32 bytes remaining: 0
314599504 json.c:428 RAM: 49672 total, 34880 free
314605644 cloud_aes.c:592 Sending 1191 bytes
314609609 314615680 cloud_aes.c:576 free mem: 34824 / 27936, buf len: 1200, buf size: 1214
314620647 cloud_common.c:1612 Stop status keep alive timer
314641207 cloud_aes.c:406 Bytes written: 1200 bytes remaining: 0
314766548 cloud_common.c:1173 Cmd: status
314771141 cloud_common.c:144 Confirmed status serial 51
314775495 cloud_common.c:1176 Cloud clear status timer
314782441 cloud_aes.c:592 Sending 31 bytes
314786417 314791835 cloud_aes.c:576 free mem: 36032 / 27936, buf len: 32, buf size: 46
314798944 cloud_aes.c:406 Bytes written: 32 bytes remaining: 0
316350599 stmuart.c:248 enqueuing command 10
316356265 stmuart.c:351 uart_send: 205 16 0 bytes
316371747 dimmer_proto.c:192 error[0] pulses[8] power[0.00] dchi[0] status[8001] debug[0(0 0)]
316796781 mgos_http_server.c:180 0x3fff2a44 HTTP connection from 192.168.0.172:45096
316814298 json.c:428 RAM: 49672 total, 34740 free
317075480 dimmer_buttons.c:281 BUTTON0: state[1]
317080520 dimmer_buttons.c:156 # Start dimming timer: 0
317239848 dimmer_buttons.c:281 BUTTON0: state[0]
317245741 dimmer_actions.c:116 SHORTPUSH[0]
317250662 dimmer_buttons.c:144 # Stop dimming timer: 0
317465876 json.c:428 RAM: 49672 total, 35708 free
317472060 cloud_aes.c:592 Sending 1192 bytes
317476046 317482153 cloud_aes.c:576 free mem: 35652 / 27936, buf len: 1200, buf size: 1214
317488217 cloud_common.c:1612 Stop status keep alive timer
317497487 cloud_aes.c:406 Bytes written: 1200 bytes remaining: 0
317544252 cloud_common.c:1173 Cmd: status
317549944 cloud_common.c:144 Confirmed status serial 52
317554297 cloud_common.c:1176 Cloud clear status timer
317560156 cloud_aes.c:592 Sending 31 bytes
317564140 317569569 cloud_aes.c:576 free mem: 36652 / 27936, buf len: 32, buf size: 46
317577749 cloud_aes.c:406 Bytes written: 32 bytes remaining: 0
317656107 stmuart.c:248 enqueuing command 03
317660681 stmuart.c:351 uart_send: 206 3 6 bytes
317669886 dimmer_proto.c:47 STU: Got answer from command: 03
317715965 dimmer_buttons.c:281 BUTTON0: state[1]
317721020 dimmer_buttons.c:156 # Start dimming timer: 0
317801894 dimmer_buttons.c:281 BUTTON0: state[0]
317806692 dimmer_actions.c:116 SHORTPUSH[0]
317811727 dimmer_buttons.c:144 # Stop dimming timer: 0
318028238 json.c:428 RAM: 49672 total, 35672 free
318034424 cloud_aes.c:592 Sending 1191 bytes
318038437 318044539 cloud_aes.c:576 free mem: 35616 / 27936, buf len: 1200, buf size: 1214
318050617 cloud_common.c:1612 Stop status keep alive timer
318058207 cloud_aes.c:406 Bytes written: 1200 bytes remaining: 0
318101687 cloud_common.c:1173 Cmd: status
318106300 cloud_common.c:144 Confirmed status serial 53
318111746 cloud_common.c:1176 Cloud clear status timer
318117638 cloud_aes.c:592 Sending 31 bytes
318121661 318127125 cloud_aes.c:576 free mem: 36488 / 27936, buf len: 32, buf size: 46
318134371 cloud_aes.c:406 Bytes written: 32 bytes remaining: 0
318218333 stmuart.c:248 enqueuing command 03
318222937 stmuart.c:351 uart_send: 207 3 6 bytes
318233346 dimmer_proto.c:47 STU: Got answer from command: 03
318350654 stmuart.c:248 enqueuing command 10
318356356 stmuart.c:351 uart_send: 208 16 0 bytes
318366678 dimmer_proto.c:192 error[0] pulses[122] power[0.00] dchi[0] status[8001] debug[0(0 0)]
318440884 json.c:428 RAM: 49672 total, 35708 free
318447103 cloud_aes.c:592 Sending 1192 bytes
318452210 318458323 cloud_aes.c:576 free mem: 35652 / 27936, buf len: 1200, buf size: 1214
318463341 cloud_common.c:1612 Stop status keep alive timer
318471254 cloud_aes.c:406 Bytes written: 1200 bytes remaining: 0
318526947 cloud_common.c:1173 Cmd: status
318531583 cloud_common.c:144 Confirmed status serial 54
318535972 cloud_common.c:1176 Cloud clear status timer
318541859 cloud_aes.c:592 Sending 31 bytes
318545873 318552430 cloud_aes.c:576 free mem: 36652 / 27936, buf len: 32, buf size: 46
318559574 cloud_aes.c:406 Bytes written: 32 bytes remaining: 0
320350821 stmuart.c:248 enqueuing command 10
320355456 stmuart.c:351 uart_send: 209 16 0 bytes
320366918 dimmer_proto.c:192 error[0] pulses[8] power[0.00] dchi[0] status[8001] debug[0(0 0)]
320593211 mgos_http_server.c:180 0x3fff2774 HTTP connection from 192.168.0.172:45100
320760969 mgos_http_server.c:180 0x3fff2a44 HTTP connection from 192.168.0.172:45106
322268080 json.c:428 RAM: 49672 total, 34664 free
322351038 stmuart.c:248 enqueuing command 10
322355679 stmuart.c:351 uart_send: 210 16 0 bytes
322365733 dimmer_proto.c:192 error[0] pulses[8] power[0.00] dchi[0] status[8001] debug[0(0 0)]
Alles anzeigen