arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.24k stars 4.82k forks source link

H801 controller startup issue #7165

Closed scargill closed 4 years ago

scargill commented 4 years ago

PROBLEM DESCRIPTION

In Tasmota the H801 controller flahes LEDS attached, briefly at full brilliance on powerup.

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

- [ ] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:

No rules involved

- [ ] Provide the output of this command: `Status 0`:

Status is fine.

- [ ] Provide the output of the Console log output when you experience your issue; if applicable:
  _(Please use_ `weblog 4` _for more debug information)_

Output is fine.



### TO REPRODUCE
Flash Tasmota 7.1.2 onto an H801 controller

### EXPECTED BEHAVIOUR
Power up with levels as set last time the unit wsa powered up

### SCREENSHOTS
_If applicable, add screenshots to help explain your problem._

### ADDITIONAL CONTEXT
_Add any other context about the problem here._

**(Please, remember to close the issue when the problem has been addressed)**

Hi guys

Simple one here, maybe I just need enlightening if this is not new. I just received an H801 controller from AliExpress and with a suitably powerful supply and 5m of 12v RGB LED STRIP, I went into the deep end and installed Tasmota (7.1.2 release). It works, no problem but opens 2 questions.

On powerup the LEDs flash brightly for an instant - is that within Tasmota's remit or an issue with the controller?

TDM (I know that's another subject but I'll mention it while I'm here)... RGB + brilliance is great - and easy (top left of TDM screen) - but annoying that when you change colour in TDM - the brilliance goes to hell and you have to set the latter again. Wouldn't it be nice to be able to mess with the hue and leave the brightness intact?

Just trying to get the best out of already brilliant software.

Regards

Pete
s-hadinger commented 4 years ago

The flash is not normal. That's why we need Status 0 to check how you configured it.

What is your PowerOnState and make sure you are not using rules.

scargill commented 4 years ago

Hi there s-hadinger

I just turned the unit on after leavng it on dim green last night and powering off (but leaving TDM on).

Here is the result of staus 0.

[08:07:36] cmnd/h801/status 0 [08:07:36] stat/h801/STATUS {"Status":{"Module":20,"FriendlyName":["h801"],"Topic":"h801","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0}} [08:07:36] stat/h801/STATUS1 {"StatusPRM":{"Baudrate":115200,"GroupTopic":"tasmotas","OtaUrl":"http://thehackbox.org/tasmota/release/tasmota.bin","RestartReason":"External System","Uptime":"0T00:00:37","StartupUTC":"2019-12-10T08:07:06","Sleep":50,"CfgHolder":4617,"BootCount":9,"SaveCount":76,"SaveAddress":"F8000"}} [08:07:36] stat/h801/STATUS2 {"StatusFWR":{"Version":"7.1.2(tasmota)","BuildDateTime":"2019-12-06T11:22:22","Boot":31,"Core":"2_61","SDK":"2.2.2-dev(38a443e)","Hardware":"ESP8266EX"}} [08:07:36] stat/h801/STATUS3 {"StatusLOG":{"SerialLog":2,"WebLog":2,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["devices",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C8000100060000005A00000000000000","00000000","00000000"]}} [08:07:36] stat/h801/STATUS4 {"StatusMEM":{"ProgramSize":562,"Free":440,"Heap":27,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"1440EF","FlashMode":3,"Features":["00000809","8FDAE397","043683A0","22B617CD","01001BC0","00007881"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,29","Sensors":"1,2,3,4,5,6,7,8,9,10,14,15,17,18,20,22,26,34"}} [08:07:36] stat/h801/STATUS5 {"StatusNET":{"Hostname":"h801","IPAddress":"192.168.14.137","Gateway":"192.168.14.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.14.1","Mac":"84:F3:EB:E0:D2:40","Webserver":2,"WifiConfig":4}} [08:07:36] stat/h801/STATUS6 {"StatusMQT":{"MqttHost":"192.168.14.71","MqttPort":1883,"MqttClientMask":"DVES%06X","MqttClient":"DVES_E0D240","MqttUser":"admin","MqttCount":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":30}} [08:07:36] stat/h801/STATUS7 {"StatusTIM":{"UTC":"Tue Dec 10 08:07:43 2019","Local":"Tue Dec 10 09:07:43 2019","StartDST":"Sun Mar 31 02:00:00 2019","EndDST":"Sun Oct 27 03:00:00 2019","Timezone":"+01:00","Sunrise":"08:32","Sunset":"16:53"}} [08:07:36] stat/h801/STATUS10 {"StatusSNS":{"Time":"2019-12-10T09:07:43"}} [08:07:36] stat/h801/STATUS11 {"StatusSTS":{"Time":"2019-12-10T09:07:43","Uptime":"0T00:00:37","UptimeSec":37,"Heap":27,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":89,"MqttCount":1,"POWER":"ON","Dimmer":46,"Color":"0875000000","HSBColor":"116,100,46","Channel":[3,46,0,0,0],"CT":153,"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"devices","BSSId":"00:A6:C6:2C:41:B2","Channel":11,"RSSI":100,"LinkCount":1,"Downtime":"0T00:00:11"}}}

No rules, everything at defaults - not messedwith any controls or rules yet. if I can provide any moer info let me know as I could see this as very useful. I'm using 5050 strip, no W or WW, jst RSB, on a 6 amp PSU set to 12v out.

Anything you want me to try, fire away.

Pete

scargill commented 4 years ago

To add to my woes... I upgraded to 7.1.2.4 just for the sake of it - and all the settings including EIFI went AWOL after powering off and on 4 times. The lights started flahing green. This is with a known good (large toroid) PSU able to output 6 amps at up to 60v, with a 12v, 2 amp limit set in place. Max strip consumption is 1.6 amps. I checked, the 801 unit was back to using it's own access point and had lost all the configuration. I put it back in and all is well. I wonder where these issues lie?

blakadder commented 4 years ago

I thought that was the default behaviour for H801 and it has been in the H801 article for ages.

@scargill Power cycling your device 4 times in quick succession activates the Power cycle recovery

scargill commented 4 years ago

It could well have been - I'm very new (as of yesterday) to the H801 and clearly not read everything there is to know about it.

s-hadinger commented 4 years ago

Could you please set weblog 4 and paste the boot log, until the flash. Is the flash just at power up or when connecting Mqtt?

scargill commented 4 years ago

Sure... powered up I put the weblog 4 into the console

[16:00:16] cmnd/h801/weblog 4 [16:00:16] stat/h801/RESULT {"WebLog":4}

I turned off - then on,

[16:00:16] cmnd/h801/weblog 4 [16:00:16] stat/h801/RESULT {"WebLog":4} [16:02:00] tele/h801/LWT Offline [16:02:00] tele/h801/LWT Online [16:02:00] cmnd/h801/POWER [16:02:00] tele/h801/INFO1 {"Module":"H801","Version":"7.1.2.4(3d2e77f-tasmota)","FallbackTopic":"cmnd/DVES_E0D240_fb/","GroupTopic":"cmnd/tasmotas/"} [16:02:00] tele/h801/INFO2 {"WebServerMode":"Admin","Hostname":"h801","IPAddress":"192.168.14.137"} [16:02:00] tele/h801/INFO3 {"RestartReason":"External System"} [16:02:00] stat/h801/RESULT {"POWER":"ON"} [16:02:00] stat/h801/POWER ON [16:02:00] cmnd/h801/status 0 [16:02:00] cmnd/h801/modules [16:02:00] cmnd/h801/gpios 255 [16:02:00] cmnd/h801/switchdebounce [16:02:00] cmnd/h801/blinktime [16:02:00] cmnd/h801/mqttlog [16:02:00] cmnd/h801/pulsetime2 [16:02:00] cmnd/h801/pulsetime4 [16:02:00] cmnd/h801/pulsetime6 [16:02:00] cmnd/h801/pulsetime8 [16:02:01] stat/h801/STATUS {"Status":{"Module":20,"FriendlyName":["h801"],"Topic":"h801","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0}} [16:02:01] cmnd/h801/status 0 [16:02:01] stat/h801/STATUS1 {"StatusPRM":{"Baudrate":115200,"GroupTopic":"tasmotas","OtaUrl":"http://thehackbox.org/tasmota/release/tasmota.bin","RestartReason":"External System","Uptime":"0T00:00:21","StartupUTC":"","Sleep":50,"CfgHolder":4617,"BootCount":16,"SaveCount":46,"SaveAddress":"F6000"}} [16:02:01] stat/h801/STATUS2 {"StatusFWR":{"Version":"7.1.2.4(3d2e77f-tasmota)","BuildDateTime":"2019-12-09T19:00:09","Boot":31,"Core":"2_61","SDK":"2.2.2-dev(38a443e)","Hardware":"ESP8266EX","CR":"239/1151"}} [16:02:01] stat/h801/STATUS3 {"StatusLOG":{"SerialLog":2,"WebLog":4,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["office",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C8000100060000005A00000000000000","00000000","00000000"]}} [16:02:01] cmnd/h801/modules [16:02:01] cmnd/h801/gpios 255 [16:02:01] cmnd/h801/switchdebounce [16:02:01] cmnd/h801/blinktime [16:02:01] cmnd/h801/mqttlog [16:02:01] cmnd/h801/pulsetime2 [16:02:01] cmnd/h801/pulsetime4 [16:02:01] cmnd/h801/pulsetime6 [16:02:01] cmnd/h801/pulsetime8 [16:02:01] cmnd/h801/template [16:02:01] cmnd/h801/buttondebounce [16:02:01] cmnd/h801/blinkcount [16:02:01] cmnd/h801/pulsetime3 [16:02:01] cmnd/h801/pulsetime7 [16:02:01] stat/h801/STATUS4 {"StatusMEM":{"ProgramSize":563,"Free":440,"Heap":27,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"1440EF","FlashMode":3,"Features":["00000809","8FDAE397","043683A0","22B617CD","01001BC0","00007881"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,29","Sensors":"1,2,3,4,5,6,7,8,9,10,14,15,17,18,20,22,26,34"}} [16:02:01] stat/h801/STATUS5 {"StatusNET":{"Hostname":"h801","IPAddress":"192.168.14.137","Gateway":"192.168.14.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.14.1","Mac":"84:F3:EB:E0:D2:40","Webserver":2,"WifiConfig":4}} [16:02:01] stat/h801/STATUS6 {"StatusMQT":{"MqttHost":"192.168.14.71","MqttPort":1883,"MqttClientMask":"DVES%06X","MqttClient":"DVES_E0D240","MqttUser":"admin","MqttCount":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":30}} [16:02:01] stat/h801/STATUS7 {"StatusTIM":{"UTC":"Thu Jan 01 00:00:20 1970","Local":"Thu Jan 01 00:00:20 1970","StartDST":"Thu Jan 01 00:00:00 1970","EndDST":"Thu Jan 01 00:00:00 1970","Timezone":"+00:00","Sunrise":"07:43","Sunset":"16:03"}} [16:02:01] stat/h801/STATUS10 {"StatusSNS":{"Time":"1970-01-01T00:00:20"}} [16:02:01] cmnd/h801/template [16:02:01] cmnd/h801/buttondebounce [16:02:01] cmnd/h801/blinkcount [16:02:01] cmnd/h801/pulsetime3 [16:02:01] cmnd/h801/pulsetime7 [16:02:01] stat/h801/STATUS11 {"StatusSTS":{"Time":"1970-01-01T00:00:20","Uptime":"0T00:00:21","UptimeSec":21,"Heap":27,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":79,"MqttCount":1,"POWER":"ON","Dimmer":28,"Color":"0018470000","HSBColor":"220,100,28","Channel":[0,9,28,0,0],"CT":153,"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"office","BSSId":"00:1B:29:66:D1:B8","Channel":11,"RSSI":100,"Signal":-50,"LinkCount":1,"Downtime":"0T00:00:20"}}} [16:02:01] stat/h801/RESULT {"Modules1":{"0":"Generic","1":"Sonoff Basic","2":"Sonoff RF","4":"Sonoff TH","5":"Sonoff Dual","39":"Sonoff Dual R2","6":"Sonoff Pow","43":"Sonoff Pow R2","7":"Sonoff 4CH","23":"Sonoff 4CH Pro","41":"Sonoff S31","8":"Sonoff S2X","10":"Sonoff Touch","28":"Sonoff T1 1CH","29":"Sonoff T1 2CH","30":"Sonoff T1 3CH","11":"Sonoff LED","22":"Sonoff BN-SZ","70":"Sonoff L1","26":"Sonoff B1","9":"Slampher","21":"Sonoff SC","44":"Sonoff iFan02","71":"Sonoff iFan03","25":"Sonoff Bridge","3":"Sonoff SV","19":"Sonoff Dev","12":"1 Channel","13":"4 Channel","14":"Motor C/AC","15":"ElectroDragon","16":"EXS Relay(s)"}} [16:02:01] stat/h801/RESULT {"Modules2":{"31":"Supla Espablo","35":"Luani HVIO","33":"Yunshan Relay","17":"WiOn","46":"Shelly 1","47":"Shelly 2","45":"BlitzWolf SHP","52":"Teckin","59":"Teckin US","53":"AplicWDP303075","55":"Gosund SP1 v23","65":"Luminea ZX2820","57":"SK03 Outdoor","63":"Digoo DG-SP202","64":"KA10","67":"SP10","68":"WAGA CHCZ02MB","49":"Neo Coolcam","51":"OBI Socket","61":"OBI Socket 2","60":"Manzoku strip","50":"ESP Switch","54":"Tuya MCU","56":"ARMTR Dimmer","58":"PS-16-DZ","20":"H801","34":"MagicHome","37":"Arilux LC01","40":"Arilux LC06","38":"Arilux LC11","42":"Zengge WF017","24":"Huafan SS","36":"KMC 70011"}} [16:02:01] stat/h801/RESULT {"Modules3":{"27":"AiLight","48":"Xiaomi Philips","69":"SYF05","62":"YTF IR Bridge","32":"Witty Cloud","18":"Generic"}} [16:02:01] stat/h801/RESULT {"GPIOs1":{"0":"None","17":"Button1","90":"Button1n","122":"Button1i","126":"Button1in","18":"Button2","91":"Button2n","123":"Button2i","127":"Button2in","19":"Button3","92":"Button3n","124":"Button3i","128":"Button3in","20":"Button4","93":"Button4n","125":"Button4i","129":"Button4in","9":"Switch1","82":"Switch1n","10":"Switch2","83":"Switch2n","11":"Switch3","84":"Switch3n","12":"Switch4","85":"Switch4n","13":"Switch5","86":"Switch5n","14":"Switch6","87":"Switch6n","15":"Switch7","88":"Switch7n","16":"Switch8","89":"Switch8n","21":"Relay1","29":"Relay1i","22":"Relay2","30":"Relay2i","23":"Relay3"}} [16:02:01] stat/h801/RESULT {"GPIOs2":{"31":"Relay3i","24":"Relay4","32":"Relay4i","25":"Relay5","33":"Relay5i","26":"Relay6","34":"Relay6i","27":"Relay7","35":"Relay7i","28":"Relay8","36":"Relay8i","52":"Led1","56":"Led1i","53":"Led2","57":"Led2i","54":"Led3","58":"Led3i","55":"Led4","59":"Led4i","157":"LedLink","158":"LedLinki","37":"PWM1","46":"PWM1i","38":"PWM2","47":"PWM2i","39":"PWM3","48":"PWM3i","40":"PWM4","49":"PWM4i","41":"PWM5","50":"PWM5i","42":"Counter1","94":"Counter1n","43":"Counter2","95":"Counter2n","44":"Counter3","96":"Counter3n","45":"Counter4","97":"Counter4n","160":"Buzzer","161":"Buzzeri","148":"Serial Tx"}} [16:02:01] cmnd/h801/gpio [16:02:01] cmnd/h801/pulsetime1 [16:02:01] stat/h801/RESULT {"GPIOs3":{"149":"Serial Rx","5":"I2C SCL","6":"I2C SDA","1":"DHT11","2":"AM2301","3":"SI7021","4":"DS18x20","7":"WS2812","147":"ALux IrRcv","159":"ALux IrSel","143":"MY92x1 DI","144":"MY92x1 DCKI","140":"SM16716 CLK","141":"SM16716 DAT","142":"SM16716 PWR","180":"SM2135 Clk","181":"SM2135 Dat","107":"Tuya Tx","108":"Tuya Rx","8":"IRsend","51":"IRrecv","73":"SR04 Tri/TX","74":"SR04 Ech/RX","102":"HX711 SCK","103":"HX711 DAT","130":"HLWBL SEL","131":"HLWBL SELi","132":"HLWBL CF1","133":"HLW8012 CF","134":"BL0937 CF","156":"ADE7953 IRQ","145":"CSE7766 Tx","146":"CSE7766 Rx","135":"MCP39F5 Tx","136":"MCP39F5 Rx"}} [16:02:01] cmnd/h801/gpio [16:02:01] cmnd/h801/pulsetime1 [16:02:01] stat/h801/RESULT {"GPIOs4":{"137":"MCP39F5 Rst","62":"PZEM0XX Tx","63":"PZEM004 Rx","98":"PZEM016 Rx","99":"PZEM017 Rx","71":"SerBr Tx","72":"SerBr Rx","60":"MHZ Tx","61":"MHZ Rx","64":"SAir Tx","65":"SAir Rx","101":"SDS0X1 Tx","70":"SDS0X1 Rx","69":"PMS5003","182":"DeepSleep"}} [16:02:01] stat/h801/RESULT {"SwitchDebounce":50} [16:02:01] stat/h801/RESULT {"BlinkTime":10} [16:02:01] cmnd/h801/interlock [16:02:01] stat/h801/RESULT {"MqttLog":0} [16:02:01] cmnd/h801/interlock [16:02:01] stat/h801/RESULT {"PulseTime2":{"Set":0,"Remaining":0}} [16:02:01] stat/h801/RESULT {"PulseTime4":{"Set":0,"Remaining":0}} [16:02:01] stat/h801/RESULT {"PulseTime6":{"Set":0,"Remaining":0}} [16:02:02] stat/h801/RESULT {"PulseTime8":{"Set":0,"Remaining":0}} [16:02:02] cmnd/h801/pulsetime5 [16:02:02] stat/h801/STATUS {"Status":{"Module":20,"FriendlyName":["h801"],"Topic":"h801","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"LedMask":"FFFF","SaveData":1,"SaveState":1,"SwitchTopic":"0","SwitchMode":[0,0,0,0,0,0,0,0],"ButtonRetain":0,"SwitchRetain":0,"SensorRetain":0,"PowerRetain":0}} [16:02:02] cmnd/h801/pulsetime5 [16:02:02] stat/h801/STATUS1 {"StatusPRM":{"Baudrate":115200,"GroupTopic":"tasmotas","OtaUrl":"http://thehackbox.org/tasmota/release/tasmota.bin","RestartReason":"External System","Uptime":"0T00:00:22","StartupUTC":"","Sleep":50,"CfgHolder":4617,"BootCount":16,"SaveCount":46,"SaveAddress":"F6000"}} [16:02:02] stat/h801/STATUS2 {"StatusFWR":{"Version":"7.1.2.4(3d2e77f-tasmota)","BuildDateTime":"2019-12-09T19:00:09","Boot":31,"Core":"2_61","SDK":"2.2.2-dev(38a443e)","Hardware":"ESP8266EX","CR":"239/1151"}} [16:02:02] stat/h801/STATUS3 {"StatusLOG":{"SerialLog":2,"WebLog":4,"MqttLog":0,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["office",""],"TelePeriod":300,"Resolution":"558180C0","SetOption":["00008009","2805C8000100060000005A00000000000000","00000000","00000000"]}} [16:02:02] stat/h801/STATUS4 {"StatusMEM":{"ProgramSize":563,"Free":440,"Heap":24,"ProgramFlashSize":1024,"FlashSize":1024,"FlashChipId":"1440EF","FlashMode":3,"Features":["00000809","8FDAE397","043683A0","22B617CD","01001BC0","00007881"],"Drivers":"1,2,3,4,5,6,7,8,9,10,12,16,18,19,20,21,22,24,26,29","Sensors":"1,2,3,4,5,6,7,8,9,10,14,15,17,18,20,22,26,34"}} [16:02:02] stat/h801/STATUS5 {"StatusNET":{"Hostname":"h801","IPAddress":"192.168.14.137","Gateway":"192.168.14.1","Subnetmask":"255.255.255.0","DNSServer":"192.168.14.1","Mac":"84:F3:EB:E0:D2:40","Webserver":2,"WifiConfig":4}} [16:02:02] stat/h801/STATUS6 {"StatusMQT":{"MqttHost":"192.168.14.71","MqttPort":1883,"MqttClientMask":"DVES%06X","MqttClient":"DVES_E0D240","MqttUser":"admin","MqttCount":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":30}} [16:02:02] stat/h801/STATUS7 {"StatusTIM":{"UTC":"Thu Jan 01 00:00:21 1970","Local":"Thu Jan 01 00:00:21 1970","StartDST":"Thu Jan 01 00:00:00 1970","EndDST":"Thu Jan 01 00:00:00 1970","Timezone":"+00:00","Sunrise":"07:43","Sunset":"16:03"}} [16:02:02] stat/h801/STATUS10 {"StatusSNS":{"Time":"1970-01-01T00:00:21"}} [16:02:02] stat/h801/STATUS11 {"StatusSTS":{"Time":"1970-01-01T00:00:21","Uptime":"0T00:00:22","UptimeSec":22,"Heap":25,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":121,"MqttCount":1,"POWER":"ON","Dimmer":28,"Color":"0018470000","HSBColor":"220,100,28","Channel":[0,9,28,0,0],"CT":153,"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"office","BSSId":"00:1B:29:66:D1:B8","Channel":11,"RSSI":98,"Signal":-51,"LinkCount":1,"Downtime":"0T00:00:20"}}} [16:02:02] stat/h801/RESULT {"Modules1":{"0":"Generic","1":"Sonoff Basic","2":"Sonoff RF","4":"Sonoff TH","5":"Sonoff Dual","39":"Sonoff Dual R2","6":"Sonoff Pow","43":"Sonoff Pow R2","7":"Sonoff 4CH","23":"Sonoff 4CH Pro","41":"Sonoff S31","8":"Sonoff S2X","10":"Sonoff Touch","28":"Sonoff T1 1CH","29":"Sonoff T1 2CH","30":"Sonoff T1 3CH","11":"Sonoff LED","22":"Sonoff BN-SZ","70":"Sonoff L1","26":"Sonoff B1","9":"Slampher","21":"Sonoff SC","44":"Sonoff iFan02","71":"Sonoff iFan03","25":"Sonoff Bridge","3":"Sonoff SV","19":"Sonoff Dev","12":"1 Channel","13":"4 Channel","14":"Motor C/AC","15":"ElectroDragon","16":"EXS Relay(s)"}} [16:02:02] stat/h801/RESULT {"Modules2":{"31":"Supla Espablo","35":"Luani HVIO","33":"Yunshan Relay","17":"WiOn","46":"Shelly 1","47":"Shelly 2","45":"BlitzWolf SHP","52":"Teckin","59":"Teckin US","53":"AplicWDP303075","55":"Gosund SP1 v23","65":"Luminea ZX2820","57":"SK03 Outdoor","63":"Digoo DG-SP202","64":"KA10","67":"SP10","68":"WAGA CHCZ02MB","49":"Neo Coolcam","51":"OBI Socket","61":"OBI Socket 2","60":"Manzoku strip","50":"ESP Switch","54":"Tuya MCU","56":"ARMTR Dimmer","58":"PS-16-DZ","20":"H801","34":"MagicHome","37":"Arilux LC01","40":"Arilux LC06","38":"Arilux LC11","42":"Zengge WF017","24":"Huafan SS","36":"KMC 70011"}} [16:02:02] stat/h801/RESULT {"Modules3":{"27":"AiLight","48":"Xiaomi Philips","69":"SYF05","62":"YTF IR Bridge","32":"Witty Cloud","18":"Generic"}} [16:02:02] stat/h801/RESULT {"GPIOs1":{"0":"None","17":"Button1","90":"Button1n","122":"Button1i","126":"Button1in","18":"Button2","91":"Button2n","123":"Button2i","127":"Button2in","19":"Button3","92":"Button3n","124":"Button3i","128":"Button3in","20":"Button4","93":"Button4n","125":"Button4i","129":"Button4in","9":"Switch1","82":"Switch1n","10":"Switch2","83":"Switch2n","11":"Switch3","84":"Switch3n","12":"Switch4","85":"Switch4n","13":"Switch5","86":"Switch5n","14":"Switch6","87":"Switch6n","15":"Switch7","88":"Switch7n","16":"Switch8","89":"Switch8n","21":"Relay1","29":"Relay1i","22":"Relay2","30":"Relay2i","23":"Relay3"}} [16:02:02] stat/h801/RESULT {"GPIOs2":{"31":"Relay3i","24":"Relay4","32":"Relay4i","25":"Relay5","33":"Relay5i","26":"Relay6","34":"Relay6i","27":"Relay7","35":"Relay7i","28":"Relay8","36":"Relay8i","52":"Led1","56":"Led1i","53":"Led2","57":"Led2i","54":"Led3","58":"Led3i","55":"Led4","59":"Led4i","157":"LedLink","158":"LedLinki","37":"PWM1","46":"PWM1i","38":"PWM2","47":"PWM2i","39":"PWM3","48":"PWM3i","40":"PWM4","49":"PWM4i","41":"PWM5","50":"PWM5i","42":"Counter1","94":"Counter1n","43":"Counter2","95":"Counter2n","44":"Counter3","96":"Counter3n","45":"Counter4","97":"Counter4n","160":"Buzzer","161":"Buzzeri","148":"Serial Tx"}} [16:02:02] stat/h801/RESULT {"GPIOs3":{"149":"Serial Rx","5":"I2C SCL","6":"I2C SDA","1":"DHT11","2":"AM2301","3":"SI7021","4":"DS18x20","7":"WS2812","147":"ALux IrRcv","159":"ALux IrSel","143":"MY92x1 DI","144":"MY92x1 DCKI","140":"SM16716 CLK","141":"SM16716 DAT","142":"SM16716 PWR","180":"SM2135 Clk","181":"SM2135 Dat","107":"Tuya Tx","108":"Tuya Rx","8":"IRsend","51":"IRrecv","73":"SR04 Tri/TX","74":"SR04 Ech/RX","102":"HX711 SCK","103":"HX711 DAT","130":"HLWBL SEL","131":"HLWBL SELi","132":"HLWBL CF1","133":"HLW8012 CF","134":"BL0937 CF","156":"ADE7953 IRQ","145":"CSE7766 Tx","146":"CSE7766 Rx","135":"MCP39F5 Tx","136":"MCP39F5 Rx"}} [16:02:02] stat/h801/RESULT {"GPIOs4":{"137":"MCP39F5 Rst","62":"PZEM0XX Tx","63":"PZEM004 Rx","98":"PZEM016 Rx","99":"PZEM017 Rx","71":"SerBr Tx","72":"SerBr Rx","60":"MHZ Tx","61":"MHZ Rx","64":"SAir Tx","65":"SAir Rx","101":"SDS0X1 Tx","70":"SDS0X1 Rx","69":"PMS5003","182":"DeepSleep"}} [16:02:02] stat/h801/RESULT {"SwitchDebounce":50} [16:02:02] stat/h801/RESULT {"BlinkTime":10} [16:02:02] stat/h801/RESULT {"MqttLog":0} [16:02:02] stat/h801/RESULT {"PulseTime2":{"Set":0,"Remaining":0}} [16:02:02] stat/h801/RESULT {"PulseTime4":{"Set":0,"Remaining":0}} [16:02:03] stat/h801/RESULT {"PulseTime6":{"Set":0,"Remaining":0}} [16:02:03] stat/h801/RESULT {"PulseTime8":{"Set":0,"Remaining":0}} [16:02:03] stat/h801/RESULT {"NAME":"Generic","GPIO":[255,255,255,255,255,255,255,255,255,255,255,255,255],"FLAG":15,"BASE":18} [16:02:03] stat/h801/RESULT {"ButtonDebounce":50} [16:02:03] stat/h801/RESULT {"BlinkCount":10} [16:02:03] stat/h801/RESULT {"PulseTime3":{"Set":0,"Remaining":0}} [16:02:03] stat/h801/RESULT {"PulseTime7":{"Set":0,"Remaining":0}} [16:02:03] stat/h801/RESULT {"NAME":"Generic","GPIO":[255,255,255,255,255,255,255,255,255,255,255,255,255],"FLAG":15,"BASE":18} [16:02:03] stat/h801/RESULT {"ButtonDebounce":50} [16:02:03] stat/h801/RESULT {"BlinkCount":10} [16:02:03] stat/h801/RESULT {"PulseTime3":{"Set":0,"Remaining":0}} [16:02:03] stat/h801/RESULT {"PulseTime7":{"Set":0,"Remaining":0}} [16:02:03] stat/h801/RESULT {"GPIO0":{"0":"None"},"GPIO2":{"0":"None"},"GPIO3":{"0":"None"}} [16:02:03] stat/h801/RESULT {"PulseTime1":{"Set":0,"Remaining":0}} [16:02:03] stat/h801/RESULT {"GPIO0":{"0":"None"},"GPIO2":{"0":"None"},"GPIO3":{"0":"None"}} [16:02:03] stat/h801/RESULT {"PulseTime1":{"Set":0,"Remaining":0}} [16:02:03] stat/h801/RESULT {"Interlock":"OFF"} [16:02:03] stat/h801/RESULT {"Interlock":"OFF"} [16:02:03] stat/h801/RESULT {"PulseTime5":{"Set":0,"Remaining":0}} [16:02:03] stat/h801/RESULT {"PulseTime5":{"Set":0,"Remaining":0}} [16:02:05] tele/h801/STATE {"Time":"2019-12-10T17:02:06","Uptime":"0T00:00:26","UptimeSec":26,"Heap":28,"SleepMode":"Dynamic","Sleep":10,"LoadAvg":99,"MqttCount":1,"POWER":"ON","Dimmer":28,"Color":"0018470000","HSBColor":"220,100,28","Channel":[0,9,28,0,0],"CT":153,"Scheme":0,"Fade":"OFF","Speed":1,"LedTable":"ON","Wifi":{"AP":1,"SSId":"office","BSSId":"00:1B:29:66:D1:B8","Channel":11,"RSSI":90,"Signal":-55,"LinkCount":1,"Downtime":"0T00:00:20"}}

And I'm not usin MQTT - just the console - the flash is immediately the unt comes on.

Hope that helps. And yes, the power supply is WELL able to handle the LEDs...

Pete

florian-asche commented 4 years ago

Hi, i just tested this, and i can confirm your issue. If i power on the H801 its lightning up shortly. I am also using an RGBWW self made board from the FHEM Forum. That doesnt do that. Florian

s-hadinger commented 4 years ago

@scargill I have no clue what you are doing with your device, but it received 41 commands in less than 2 seconds.

Your claim you are not using MQTT but it seems it is configured and connected: {"MqttHost":"192.168.14.71","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_E0D240","MqttUser":"admin","MqttCount":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":30}}

blakadder commented 4 years ago

As previously stated, H801 flashing on power-up is due to the circuit design and cannot be corrected in Tasmota. A cursory search of the issues would reveal this question has been already asked a few times and the answer was always the same.

This issue, on the virtue of being a non-issue, is now closed!

florian-asche commented 4 years ago

Hey Peter, maybe you can find the solution in the technical details here: https://github.com/patrickjahns/esp_rgbww_controller

Thats the controller that is working for me.

florian-asche commented 4 years ago

Also feel free to contact me if you like. ;)

s-hadinger commented 4 years ago

Actually I think I found the issue. It looks like the PWM GPIOs are not initialized until LightAnimate() is called 50 ms after start. They remain in undefined state until they are pulled down by LightAnimate().

Let me try a PR to force the PMW pins are low or high (for PMWi) at start.

blakadder commented 4 years ago

Apparently a wizard can fix it despite this being deemed impossible in previous issues

edit: RIP! Only partially fixed it, still flashed on power cycle

joba-1 commented 4 years ago

Hope you are right. It just reminded me of my garage door magically opening all by itself due to not so clever gpio init during startup after power loss...

scargill commented 4 years ago

@scargill I have no clue what you are doing with your device, but it received 41 commands in less than 2 seconds.

Your claim you are not using MQTT but it seems it is configured and connected: {"MqttHost":"192.168.14.71","MqttPort":1883,"MqttClientMask":"DVES_%06X","MqttClient":"DVES_E0D240","MqttUser":"admin","MqttCount":1,"MAX_PACKET_SIZE":1000,"KEEPALIVE":30}}

I'n not doing anything with MQTT on it. I do set up MQTT on all my devices then control them in Node-Red via the MQTT nodes but on this device so far all it is doing is setting up the MQTT user, IP, port and passwor details in the config. That's it.

scargill commented 4 years ago

Hey Peter, maybe you can find the solution in the technical details here: https://github.com/patrickjahns/esp_rgbww_controller

Thats the controller that is working for me.

Thanks for that. As it happens I get PCB companies harrasssing me all the time for sponsorship andI keep telling them I only write about things I've tried personally - so getting some of those PCBs made would be no problem , but at end user prices by the time you get the ESP, the Mosfets, the large block whatever it is,, the connectors, any passives and put them in a suitably slotted box, interesting though it may be..... That H801 complete inc post was only £6 (7.12 Euros) from China. A shame if that flashing is unavoidable but thinkin about it, it is only when power is applied... if the power is there permanently and Tasmota turns the units on and off - maybe it is worth putting up with.