{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1373","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1373/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1373/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1373/events","html_url":"https://github.com/home-assistant/home-assistant/issues/1373","id":135452526,"number":1373,"title":"Add support for custom polling on zwave platform","user":{"login":"drparham","id":2704700,"avatar_url":"https://avatars.githubusercontent.com/u/2704700?v=3","gravatar_id":"","url":"https://api.github.com/users/drparham","html_url":"https://github.com/drparham","followers_url":"https://api.github.com/users/drparham/followers","following_url":"https://api.github.com/users/drparham/following{/other_user}","gists_url":"https://api.github.com/users/drparham/gists{/gist_id}","starred_url":"https://api.github.com/users/drparham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drparham/subscriptions","organizations_url":"https://api.github.com/users/drparham/orgs","repos_url":"https://api.github.com/users/drparham/repos","events_url":"https://api.github.com/users/drparham/events{/privacy}","received_events_url":"https://api.github.com/users/drparham/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-02-22T15:33:08Z","updated_at":"2016-10-03T20:08:06Z","closed_at":"2016-10-03T20:08:06Z","body":"I have some zwave switches that control zwave outlets for lights in my living room. Currently the polling interval for the switch is at 30 seconds. This means, when I flip the physical zwave switch in my living room to turn on my lamps, it can take HA up to 30 seconds to notice the state change, and execute the automation scripts.\r\n\r\nI would like to be able to do something like: \r\n```\r\nswitch:\r\n  platform: zwave\r\n  scan_interval: 2\r\n```\r\n\r\nCurrently I have moved the switch and outlets back to SmartThings as the polling is around 5 seconds, as that seems to be the worse case wait time before the outlets/lights get turned on from flipping the physical switch.\r\n\r\nAlternatively to having this for all zwave switches, would it be possible to add this under each device in the custom blocks? That way for switches that are not triggering automation, they can be on a 30 second polling and not create excessive network noise.\r\n\r\n```\r\ncustomize:\r\n     switch.living_room_lamps:\r\n        scan_interval: 2\r\n```"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/251211879","html_url":"https://github.com/home-assistant/home-assistant/issues/1373#issuecomment-251211879","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/1373","id":251211879,"user":{"login":"turbokongen","id":16622752,"avatar_url":"https://avatars.githubusercontent.com/u/16622752?v=3","gravatar_id":"","url":"https://api.github.com/users/turbokongen","html_url":"https://github.com/turbokongen","followers_url":"https://api.github.com/users/turbokongen/followers","following_url":"https://api.github.com/users/turbokongen/following{/other_user}","gists_url":"https://api.github.com/users/turbokongen/gists{/gist_id}","starred_url":"https://api.github.com/users/turbokongen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turbokongen/subscriptions","organizations_url":"https://api.github.com/users/turbokongen/orgs","repos_url":"https://api.github.com/users/turbokongen/repos","events_url":"https://api.github.com/users/turbokongen/events{/privacy}","received_events_url":"https://api.github.com/users/turbokongen/received_events","type":"User","site_admin":false},"created_at":"2016-10-03T20:08:06Z","updated_at":"2016-10-03T20:08:06Z","body":"You should not have polling that fast, it will just make congestion to the network.\r\nTry looking in the logs for `basic_level` messages for your node to trigger your automations.\r\nCompare the time the switch is switched to the time it shows in the ozw.log That should give you some indication to what is going on."}}
{"actor":{"display_login":"turbokongen"}}