{"action":"created","issue":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/2889","repository_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota","labels_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/2889/labels{/name}","comments_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/2889/comments","events_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/2889/events","html_url":"https://github.com/arendst/Sonoff-Tasmota/issues/2889","id":328708796,"node_id":"MDU6SXNzdWUzMjg3MDg3OTY=","number":2889,"title":"conflict when connecting 2 device at the same time.","user":{"login":"phutruong1801","id":35288119,"node_id":"MDQ6VXNlcjM1Mjg4MTE5","avatar_url":"https://avatars2.githubusercontent.com/u/35288119?v=4","gravatar_id":"","url":"https://api.github.com/users/phutruong1801","html_url":"https://github.com/phutruong1801","followers_url":"https://api.github.com/users/phutruong1801/followers","following_url":"https://api.github.com/users/phutruong1801/following{/other_user}","gists_url":"https://api.github.com/users/phutruong1801/gists{/gist_id}","starred_url":"https://api.github.com/users/phutruong1801/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phutruong1801/subscriptions","organizations_url":"https://api.github.com/users/phutruong1801/orgs","repos_url":"https://api.github.com/users/phutruong1801/repos","events_url":"https://api.github.com/users/phutruong1801/events{/privacy}","received_events_url":"https://api.github.com/users/phutruong1801/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-06-02T03:25:41Z","updated_at":"2018-06-04T01:46:12Z","closed_at":null,"author_association":"NONE","body":"\r\nHi everyone!\r\n\r\ni have the issue . it's make me extremely headache. can't find out reason\r\n\r\ni'm using the hassio, which's running on raspberry pi. everything working perfectly with my DIY mqtt. The thing happen when i decide to use Sonoff T1 US version 2 gang  - 4 devices, flashing its with tastoma. it's running perfect with a single device. i mean. with  just one Sonoff T1. i can control its via physical button( on the panel glass) and of cause via home assistant webpage and app.\r\n\r\nBut. When i'm running the second Sonoff T1. i can't control it via a physical . Everytime i turn on. it will immediately turn off. And it's happen with both devices. i was try many configurate.yaml diffirent.  however when i control it via webpage of hassio or app home assistant. it's work.\r\n\r\nP/s i's flash the tastoma via arduino IDM. and the user_config.h just changing some basic, such like:\r\n-Wifi mode when can't connect to wifi\r\n- time UTC and long/Lo.\r\nHere is my configurate.yalm\r\nlight 1:\r\n  - platform: mqtt\r\n    name: \"Bath 1\"\r\n    command_topic: \"cmnd/sonoff2/power1\"\r\n    state_topic: \"stat/sonoff2/POWER1\"\r\n    value_template: \"{{value_json.POWER1}}\"\r\n    payload_on: \"ON\"\r\n    payload_off: \"OFF\"\r\n    qos: 1\r\n    retain: true\r\nlight 2:\r\n  - platform: mqtt\r\n    name: \"Bath 2\"\r\n    command_topic: \"cmnd/sonoff2/power2\"\r\n    state_topic: \"stat/sonoff2/POWER2\"\r\n    value_template: \"{{value_json.POWER2}}\"\r\n    payload_on: \"ON\"\r\n    payload_off: \"OFF\"\r\n    qos: 1\r\n    retain: true\r\n    \r\nlight 3:\r\n  - platform: mqtt\r\n    name: \"Work Light 1\"\r\n    command_topic: \"cmnd/sonoff_work/power1\"\r\n    state_topic: \"stat/sonoff_work/POWER1\"\r\n    value_template: \"{{value_json.POWER1}}\"\r\n    payload_on: \"ON\"\r\n    payload_off: \"OFF\"\r\n    qos: 1\r\n    retain: true\r\n    \r\nlight 4:\r\n  - platform: mqtt\r\n    name: \"Work Light 2\"\r\n    command_topic: \"cmnd/sonoff_work/power2\"\r\n    state_topic: \"stat/sonoff_work/POWER2\"\r\n    value_template: \"{{value_json.POWER2}}\"\r\n    payload_on: \"ON\"\r\n    payload_off: \"OFF\"\r\n    qos: 1\r\n    retain: true\r\n    "},"comment":{"url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/comments/394213123","html_url":"https://github.com/arendst/Sonoff-Tasmota/issues/2889#issuecomment-394213123","issue_url":"https://api.github.com/repos/arendst/Sonoff-Tasmota/issues/2889","id":394213123,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDIxMzEyMw==","user":{"login":"phutruong1801","id":35288119,"node_id":"MDQ6VXNlcjM1Mjg4MTE5","avatar_url":"https://avatars2.githubusercontent.com/u/35288119?v=4","gravatar_id":"","url":"https://api.github.com/users/phutruong1801","html_url":"https://github.com/phutruong1801","followers_url":"https://api.github.com/users/phutruong1801/followers","following_url":"https://api.github.com/users/phutruong1801/following{/other_user}","gists_url":"https://api.github.com/users/phutruong1801/gists{/gist_id}","starred_url":"https://api.github.com/users/phutruong1801/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phutruong1801/subscriptions","organizations_url":"https://api.github.com/users/phutruong1801/orgs","repos_url":"https://api.github.com/users/phutruong1801/repos","events_url":"https://api.github.com/users/phutruong1801/events{/privacy}","received_events_url":"https://api.github.com/users/phutruong1801/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T01:46:12Z","updated_at":"2018-06-04T01:46:12Z","author_association":"NONE","body":"Basicly.  when i'm just connect ONE sonoff T1 US ( version US- which was released on 2018). Just one.--- it's   work perfectly. toggle the statement on web interface( home assistant) and physical . but when connect from the second devices. it's can't receive the statement. and can't be control via physical.\r\nLook like the problems is return flag. i was try to disable return flag in both configurate.yalm and the sonoff. but still the same. however when i try to use the node-red to control. it's absolutely perfect. \r\nso the final choise is control via node-red and node-red control sonoff. \r\nIf anyone have solution for my issues. please share. "}}
{"actor":{"display_login":"phutruong1801"}}