{"action":"created","issue":{"url":"https://api.github.com/repos/kizniche/Mycodo/issues/440","repository_url":"https://api.github.com/repos/kizniche/Mycodo","labels_url":"https://api.github.com/repos/kizniche/Mycodo/issues/440/labels{/name}","comments_url":"https://api.github.com/repos/kizniche/Mycodo/issues/440/comments","events_url":"https://api.github.com/repos/kizniche/Mycodo/issues/440/events","html_url":"https://github.com/kizniche/Mycodo/issues/440","id":310466480,"number":440,"title":"How to use Sunrise and Sunset","user":{"login":"drgrumpy","id":4687649,"avatar_url":"https://avatars2.githubusercontent.com/u/4687649?v=4","gravatar_id":"","url":"https://api.github.com/users/drgrumpy","html_url":"https://github.com/drgrumpy","followers_url":"https://api.github.com/users/drgrumpy/followers","following_url":"https://api.github.com/users/drgrumpy/following{/other_user}","gists_url":"https://api.github.com/users/drgrumpy/gists{/gist_id}","starred_url":"https://api.github.com/users/drgrumpy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drgrumpy/subscriptions","organizations_url":"https://api.github.com/users/drgrumpy/orgs","repos_url":"https://api.github.com/users/drgrumpy/repos","events_url":"https://api.github.com/users/drgrumpy/events{/privacy}","received_events_url":"https://api.github.com/users/drgrumpy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-02T11:52:52Z","updated_at":"2018-04-02T14:28:59Z","closed_at":null,"author_association":"NONE","body":"I guess this might be a feature request,\r\n\r\nI would like to ramp my temperature PID set point according to daylight....\r\n\r\ni.e. at sunrise start ramping up the temp to day setpoint\r\nat sunset (or say an hour before) start ramping down to night setpoint\r\n\r\nI see there is a sunriseset.py utility, but I can't see any way to easily use it....\r\n\r\nIt would be good to be able to replace the time value in method tracking with the output from this...\r\nif time > sunrise ramp up\r\nif time > sunset ramp down\r\n\r\nOr to start the tracking based on a measured light level, conditional value.....\r\ne.g. if lux < 200 ramp down\r\nlux > 200 ramp up\r\n"},"comment":{"url":"https://api.github.com/repos/kizniche/Mycodo/issues/comments/377941430","html_url":"https://github.com/kizniche/Mycodo/issues/440#issuecomment-377941430","issue_url":"https://api.github.com/repos/kizniche/Mycodo/issues/440","id":377941430,"user":{"login":"frodus17","id":11054250,"avatar_url":"https://avatars0.githubusercontent.com/u/11054250?v=4","gravatar_id":"","url":"https://api.github.com/users/frodus17","html_url":"https://github.com/frodus17","followers_url":"https://api.github.com/users/frodus17/followers","following_url":"https://api.github.com/users/frodus17/following{/other_user}","gists_url":"https://api.github.com/users/frodus17/gists{/gist_id}","starred_url":"https://api.github.com/users/frodus17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frodus17/subscriptions","organizations_url":"https://api.github.com/users/frodus17/orgs","repos_url":"https://api.github.com/users/frodus17/repos","events_url":"https://api.github.com/users/frodus17/events{/privacy}","received_events_url":"https://api.github.com/users/frodus17/received_events","type":"User","site_admin":false},"created_at":"2018-04-02T14:28:59Z","updated_at":"2018-04-02T14:28:59Z","author_association":"NONE","body":"This would be something you can do under Methods. Methods allows you to set a daily (time based) start time and end time. Then, under your PID, under Setpoint Tracking Method, you can link the two. This allows time based ramp/soak like you're asking."}}
{"actor":{"display_login":"frodus17"}}