{"action":"created","issue":{"url":"https://api.github.com/repos/RavenSystem/esp-homekit-devices/issues/3","repository_url":"https://api.github.com/repos/RavenSystem/esp-homekit-devices","labels_url":"https://api.github.com/repos/RavenSystem/esp-homekit-devices/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/RavenSystem/esp-homekit-devices/issues/3/comments","events_url":"https://api.github.com/repos/RavenSystem/esp-homekit-devices/issues/3/events","html_url":"https://github.com/RavenSystem/esp-homekit-devices/issues/3","id":296143522,"number":3,"title":"POW Notifications only works if HomeApp is opened first","user":{"login":"Arduingo","id":12265128,"avatar_url":"https://avatars3.githubusercontent.com/u/12265128?v=4","gravatar_id":"","url":"https://api.github.com/users/Arduingo","html_url":"https://github.com/Arduingo","followers_url":"https://api.github.com/users/Arduingo/followers","following_url":"https://api.github.com/users/Arduingo/following{/other_user}","gists_url":"https://api.github.com/users/Arduingo/gists{/gist_id}","starred_url":"https://api.github.com/users/Arduingo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arduingo/subscriptions","organizations_url":"https://api.github.com/users/Arduingo/orgs","repos_url":"https://api.github.com/users/Arduingo/repos","events_url":"https://api.github.com/users/Arduingo/events{/privacy}","received_events_url":"https://api.github.com/users/Arduingo/received_events","type":"User","site_admin":false},"labels":[{"id":817677313,"url":"https://api.github.com/repos/RavenSystem/esp-homekit-devices/labels/bug","name":"bug","color":"d73a4a","default":true},{"id":817677315,"url":"https://api.github.com/repos/RavenSystem/esp-homekit-devices/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"open","locked":false,"assignee":{"login":"RavenSystem","id":8655274,"avatar_url":"https://avatars3.githubusercontent.com/u/8655274?v=4","gravatar_id":"","url":"https://api.github.com/users/RavenSystem","html_url":"https://github.com/RavenSystem","followers_url":"https://api.github.com/users/RavenSystem/followers","following_url":"https://api.github.com/users/RavenSystem/following{/other_user}","gists_url":"https://api.github.com/users/RavenSystem/gists{/gist_id}","starred_url":"https://api.github.com/users/RavenSystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RavenSystem/subscriptions","organizations_url":"https://api.github.com/users/RavenSystem/orgs","repos_url":"https://api.github.com/users/RavenSystem/repos","events_url":"https://api.github.com/users/RavenSystem/events{/privacy}","received_events_url":"https://api.github.com/users/RavenSystem/received_events","type":"User","site_admin":false},"assignees":[{"login":"RavenSystem","id":8655274,"avatar_url":"https://avatars3.githubusercontent.com/u/8655274?v=4","gravatar_id":"","url":"https://api.github.com/users/RavenSystem","html_url":"https://github.com/RavenSystem","followers_url":"https://api.github.com/users/RavenSystem/followers","following_url":"https://api.github.com/users/RavenSystem/following{/other_user}","gists_url":"https://api.github.com/users/RavenSystem/gists{/gist_id}","starred_url":"https://api.github.com/users/RavenSystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RavenSystem/subscriptions","organizations_url":"https://api.github.com/users/RavenSystem/orgs","repos_url":"https://api.github.com/users/RavenSystem/repos","events_url":"https://api.github.com/users/RavenSystem/events{/privacy}","received_events_url":"https://api.github.com/users/RavenSystem/received_events","type":"User","site_admin":false}],"milestone":null,"comments":34,"created_at":"2018-02-10T23:23:47Z","updated_at":"2018-02-26T01:46:23Z","closed_at":null,"author_association":"NONE","body":"I have been playing around with the SONOFF-Basic-wPCA notification, as far I understand the feature is intended to notify the user a power outage has happened, great idea BTW wish HUE as something like this.\r\n\r\nThe problem I'm facing is the notification only display on the iPhone if during the Power Cut Alarm: INIT OFF the HomeApp is opened, if not notification are never received and automation not triggered\r\n\r\nStep to reproduce:\r\n1) Setup and Pair the Sonoff\r\n2) Test ON/OFF and button to verify everything is working fine and close HomeApp\r\n3) Power Down Sonoff by disconnecting from the main power\r\n4) Reconnect and start serial monitor\r\n5) Notification if not received on the iPhone, serial logs show the 3 steps (INIT OFF, ON, OFF) are executed\r\n\r\nif the HomeApp is open while the full power cycle process notification works without problem\r\n\r\nIs this the expected behavior?, all my devices are in the same network, AppleTV is setup as Hub.\r\n\r\nI think this has something to do with the need to establish a connection with the accessory and  iPhone/ATV before notification may work but is not this need losing the point to have a PCA notification? Maybe a delay and a verification that at least a client is connected is needed to hold the change notification or a bigger INIT Delay."},"comment":{"url":"https://api.github.com/repos/RavenSystem/esp-homekit-devices/issues/comments/368367470","html_url":"https://github.com/RavenSystem/esp-homekit-devices/issues/3#issuecomment-368367470","issue_url":"https://api.github.com/repos/RavenSystem/esp-homekit-devices/issues/3","id":368367470,"user":{"login":"RavenSystem","id":8655274,"avatar_url":"https://avatars3.githubusercontent.com/u/8655274?v=4","gravatar_id":"","url":"https://api.github.com/users/RavenSystem","html_url":"https://github.com/RavenSystem","followers_url":"https://api.github.com/users/RavenSystem/followers","following_url":"https://api.github.com/users/RavenSystem/following{/other_user}","gists_url":"https://api.github.com/users/RavenSystem/gists{/gist_id}","starred_url":"https://api.github.com/users/RavenSystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RavenSystem/subscriptions","organizations_url":"https://api.github.com/users/RavenSystem/orgs","repos_url":"https://api.github.com/users/RavenSystem/repos","events_url":"https://api.github.com/users/RavenSystem/events{/privacy}","received_events_url":"https://api.github.com/users/RavenSystem/received_events","type":"User","site_admin":false},"created_at":"2018-02-26T01:46:23Z","updated_at":"2018-02-26T01:46:23Z","author_association":"OWNER","body":"Maybe do you have another 2.4ghz AP to test with Sonoffs? You can connect it to your wired network so it can be connected with your ATV for automations."}}
{"actor":{"display_login":"RavenSystem"}}