{"action":"created","issue":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3001","repository_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota","labels_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3001/labels{/name}","comments_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3001/comments","events_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3001/events","html_url":"https://github.com/arendst/Sonoff-Tasmota/issues/3001","id":332758514,"node_id":"MDU6SXNzdWUzMzI3NTg1MTQ=","number":3001,"title":"sonoff 4ch pro relay on on reboot","user":{"login":"Smandurlo","id":36647269,"node_id":"MDQ6VXNlcjM2NjQ3MjY5","avatar_url":"https://avatars0.githubusercontent.com/u/36647269?v=4","gravatar_id":"","url":"https://api.github.com/users/Smandurlo","html_url":"https://github.com/Smandurlo","followers_url":"https://api.github.com/users/Smandurlo/followers","following_url":"https://api.github.com/users/Smandurlo/following{/other_user}","gists_url":"https://api.github.com/users/Smandurlo/gists{/gist_id}","starred_url":"https://api.github.com/users/Smandurlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smandurlo/subscriptions","organizations_url":"https://api.github.com/users/Smandurlo/orgs","repos_url":"https://api.github.com/users/Smandurlo/repos","events_url":"https://api.github.com/users/Smandurlo/events{/privacy}","received_events_url":"https://api.github.com/users/Smandurlo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-15T12:40:22Z","updated_at":"2018-06-15T12:51:31Z","closed_at":null,"author_association":"NONE","body":"Hey there,\r\nfirst of all thanks for the incredible firmware. I have a weird problem on reboot or power on after power lost.\r\n\r\nFirst time I updated the 4ch pro from original firmware with sonota. The relay 2 switched on after every reboot or when disconnected from power. Setting up into console PowerOnState 0 (which should force all the relay to OFF after a reboot) didn't change it. Tried with PowerOnState 3, same result: relay 2 on.\r\n\r\nSo, I tried with a reset: reset 1. I was not able to find the sonoff in any way. So, I started to work with Arduino IDE. I was able to flash 2 sonoff basic and 1 sonoff pow r2. No problem. Then the 4CH pro. Again ok.\r\n\r\nConfigured as 4ch pro, reboot and now the relay turning on on reboot was the relay number 3. Again: poweronstate 0, poweronstate 3... nothing, still turning on on reboot.\r\n\r\nAfter some fiddling with the relays, number 4 started to turn on on reboot.\r\n\r\nI disabled mqtt just in case it was something connected with it. No luck.\r\n\r\nSo, I am lost. Now it turn on with relay number 1.\r\n\r\nThis is the console log on start up:\r\n\r\n00:00:00 Progetto sonoff Sonoff (Topic sonoff, Riserva DVES_9F53D5, GroupTopic sonoffs) Versione 5.14.0-2_3_0\r\n00:00:00 WIF: Connessione ad AP1 XXXX in modalità 11N come sonoff-5077...\r\n00:00:04 RSL: RESULT = {\"POWER1\":\"ON\"}\r\n00:00:04 RSL: POWER1 = ON\r\n00:00:04 RSL: RESULT = {\"POWER2\":\"OFF\"}\r\n00:00:04 RSL: POWER2 = OFF\r\n00:00:05 WIF: Connesso\r\n00:00:05 DNS: Inizializzato\r\n00:00:05 HTP: Web server attivo su sonoff-5077.local con indirizzo IP 192.168.xxx.xxx\r\n00:00:06 RSL: INFO1 = {\"Module\":\"Sonoff 4CH Pro\",\"Version\":\"5.14.0\",\"FallbackTopic\":\"DVES_9F53D5\",\"GroupTopic\":\"sonoffs\"}\r\n00:00:06 RSL: INFO2 = {\"WebServerMode\":\"Admin\",\"Hostname\":\"sonoff-5077\",\"IPAddress\":\"192.168.xxx.xxx\"}\r\n00:00:06 RSL: INFO3 = {\"RestartReason\":\"Software/System restart\"}\r\n13:38:18 RSL: RESULT = {\"POWER1\":\"ON\"}\r\n13:38:18 RSL: POWER1 = ON\r\n13:38:18 RSL: RESULT = {\"POWER2\":\"OFF\"}\r\n13:38:18 RSL: POWER2 = OFF\r\n13:38:18 RSL: RESULT = {\"POWER3\":\"OFF\"}\r\n13:38:18 RSL: POWER3 = OFF\r\n13:38:18 RSL: RESULT = {\"POWER4\":\"OFF\"}\r\n13:38:18 RSL: POWER4 = OFF\r\n13:38:25 RSL: STATE = {\"Time\":\"2018-06-15T13:38:25\",\"Uptime\":\"0T00:00:14\",\"Vcc\":3.126,\"POWER1\":\"ON\",\"POWER2\":\"OFF\",\"POWER3\":\"OFF\",\"POWER4\":\"OFF\",\"Wifi\":{\"AP\":1,\"SSId\":\"xxxx\",\"RSSI\":100,\"APMac\":\"xxxxxxxxxxxxx\"}}"},"comment":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/comments/397610702","html_url":"https://github.com/arendst/Sonoff-Tasmota/issues/3001#issuecomment-397610702","issue_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/3001","id":397610702,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzYxMDcwMg==","user":{"login":"Smandurlo","id":36647269,"node_id":"MDQ6VXNlcjM2NjQ3MjY5","avatar_url":"https://avatars0.githubusercontent.com/u/36647269?v=4","gravatar_id":"","url":"https://api.github.com/users/Smandurlo","html_url":"https://github.com/Smandurlo","followers_url":"https://api.github.com/users/Smandurlo/followers","following_url":"https://api.github.com/users/Smandurlo/following{/other_user}","gists_url":"https://api.github.com/users/Smandurlo/gists{/gist_id}","starred_url":"https://api.github.com/users/Smandurlo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Smandurlo/subscriptions","organizations_url":"https://api.github.com/users/Smandurlo/orgs","repos_url":"https://api.github.com/users/Smandurlo/repos","events_url":"https://api.github.com/users/Smandurlo/events{/privacy}","received_events_url":"https://api.github.com/users/Smandurlo/received_events","type":"User","site_admin":false},"created_at":"2018-06-15T12:51:31Z","updated_at":"2018-06-15T12:51:31Z","author_association":"NONE","body":"update: the buttons don't work properly. The R2 button turn on the relay 2, but it doesn't turn it off."}}
{"actor":{"display_login":"Smandurlo"}}