{"action":"published","release":{"url":"https://api.github.com/repos/martinr63/pilight/releases/1012049","assets_url":"https://api.github.com/repos/martinr63/pilight/releases/1012049/assets","upload_url":"https://uploads.github.com/repos/martinr63/pilight/releases/1012049/assets{?name}","html_url":"https://github.com/martinr63/pilight/releases/tag/v6.0-timer","id":1012049,"tag_name":"v6.0-timer","target_commitish":"timer","name":"timer module for pilight","draft":false,"author":{"login":"martinr63","id":11214418,"avatar_url":"https://avatars.githubusercontent.com/u/11214418?v=3","gravatar_id":"","url":"https://api.github.com/users/martinr63","html_url":"https://github.com/martinr63","followers_url":"https://api.github.com/users/martinr63/followers","following_url":"https://api.github.com/users/martinr63/following{/other_user}","gists_url":"https://api.github.com/users/martinr63/gists{/gist_id}","starred_url":"https://api.github.com/users/martinr63/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinr63/subscriptions","organizations_url":"https://api.github.com/users/martinr63/orgs","repos_url":"https://api.github.com/users/martinr63/repos","events_url":"https://api.github.com/users/martinr63/events{/privacy}","received_events_url":"https://api.github.com/users/martinr63/received_events","type":"User","site_admin":false},"prerelease":true,"created_at":"2015-02-23T12:59:22Z","published_at":"2015-03-04T13:53:24Z","assets":[{"url":"https://api.github.com/repos/martinr63/pilight/releases/assets/450961","id":450961,"name":"timer.zip","label":null,"uploader":{"login":"martinr63","id":11214418,"avatar_url":"https://avatars.githubusercontent.com/u/11214418?v=3","gravatar_id":"","url":"https://api.github.com/users/martinr63","html_url":"https://github.com/martinr63","followers_url":"https://api.github.com/users/martinr63/followers","following_url":"https://api.github.com/users/martinr63/following{/other_user}","gists_url":"https://api.github.com/users/martinr63/gists{/gist_id}","starred_url":"https://api.github.com/users/martinr63/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martinr63/subscriptions","organizations_url":"https://api.github.com/users/martinr63/orgs","repos_url":"https://api.github.com/users/martinr63/repos","events_url":"https://api.github.com/users/martinr63/events{/privacy}","received_events_url":"https://api.github.com/users/martinr63/received_events","type":"User","site_admin":false},"content_type":"application/x-zip-compressed","state":"uploaded","size":5763,"download_count":0,"created_at":"2015-03-04T13:53:10Z","updated_at":"2015-03-04T13:53:11Z","browser_download_url":"https://github.com/martinr63/pilight/releases/download/v6.0-timer/timer.zip"}],"tarball_url":"https://api.github.com/repos/martinr63/pilight/tarball/v6.0-timer","zipball_url":"https://api.github.com/repos/martinr63/pilight/zipball/v6.0-timer","body":"Compiled timer module for pilight.\r\n\r\nSimply unzip it to /usr/local/lib/pilight/protocols/ and edit your config.json.\r\n```\r\n{\r\n\t\"devices\": {\r\n\t\t\"timer1\": {\r\n\t\t\t\"protocol\": [ \"timer\" ],\r\n\t\t\t\"id\": [{\r\n\t\t\t\t\"id\": 1\r\n\t\t\t}],\r\n\t\t\t\"seconds\": 30,\r\n\t\t\t\"delay\": 10,\r\n\t\t\t\"restart\": 1,\r\n\t\t\t\"state\": \"off\"\r\n\t\t}\r\n\t},\r\n\t\"rules\": {\r\n\t\t\"pir_on\": {\r\n\t\t\t\"rule\": \"IF some.state IS on THEN switch DEVICE timer1 TO on\",\r\n\t\t\t\"active\": 1\r\n\t\t},\r\n\t\t\"pir_off\": {\r\n\t\t\t\"rule\": \"IF some.state IS off THEN switch DEVICE timer1 TO on\",\r\n\t\t\t\"active\": 1\r\n\t\t}\r\n\t},\r\n\t\"gui\": {\r\n\t\t\"timer1\": {\r\n\t\t\t\"name\": \"timer delayed\",\r\n\t\t\t\"group\": [ \"Light\" ],\r\n\t\t\t\"media\": [ \"all\" ]\r\n\t\t}\r\n\t}\r\n}\r\n```\r\n"}}