{"action":"created","issue":{"url":"https://api.github.com/repos/kizniche/Mycodo/issues/50","labels_url":"https://api.github.com/repos/kizniche/Mycodo/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/kizniche/Mycodo/issues/50/comments","events_url":"https://api.github.com/repos/kizniche/Mycodo/issues/50/events","html_url":"https://github.com/kizniche/Mycodo/issues/50","id":118326186,"number":50,"title":"Odd trigger behavior / things not logging / timer problems","user":{"login":"MisterMeeseeks","id":15975424,"avatar_url":"https://avatars.githubusercontent.com/u/15975424?v=3","gravatar_id":"","url":"https://api.github.com/users/MisterMeeseeks","html_url":"https://github.com/MisterMeeseeks","followers_url":"https://api.github.com/users/MisterMeeseeks/followers","following_url":"https://api.github.com/users/MisterMeeseeks/following{/other_user}","gists_url":"https://api.github.com/users/MisterMeeseeks/gists{/gist_id}","starred_url":"https://api.github.com/users/MisterMeeseeks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MisterMeeseeks/subscriptions","organizations_url":"https://api.github.com/users/MisterMeeseeks/orgs","repos_url":"https://api.github.com/users/MisterMeeseeks/repos","events_url":"https://api.github.com/users/MisterMeeseeks/events{/privacy}","received_events_url":"https://api.github.com/users/MisterMeeseeks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-23T06:26:44Z","updated_at":"2015-11-23T07:14:56Z","closed_at":null,"body":"I'm trying to set up a makeshift timer for light. So what I did was set turn on relay 1 (normal lights) for 64800 seconds (18 hours). Then I set up a trigger so that when relay 1 turns off, relay 4 (night light) is supposed to turn on for 21600 seconds (6 hours). And another trigger so that when relay 4 turns off, relay 1 is supposed to turn on for 64800 seconds again... so that it does a cycle.\r\n\r\nSo relay 1 works fine and turns off, turning relay 4 on... but after that, it stops triggering the cycle. Relay 4 turns off, but doesn't write to the log and doesn't trigger relay 1 to turn back on. If I start the cycle from the relay 4 starting point, it does the same thing, except that it logs 4 turning off and turns on relay 1, but doesn't turn relay 1 off, write 1 turning off to the log, or trigger relay 4 turning on.\r\n\r\nI'm not sure what the best way to do this is. I would love a time based trigger; so I could put \"Turn on relay 1 at 8:00am for ___ hours\" or \"Turn on relay 1 at ___ and off at ___\" would be even better."},"comment":{"url":"https://api.github.com/repos/kizniche/Mycodo/issues/comments/158867228","html_url":"https://github.com/kizniche/Mycodo/issues/50#issuecomment-158867228","issue_url":"https://api.github.com/repos/kizniche/Mycodo/issues/50","id":158867228,"user":{"login":"kizniche","id":838427,"avatar_url":"https://avatars.githubusercontent.com/u/838427?v=3","gravatar_id":"","url":"https://api.github.com/users/kizniche","html_url":"https://github.com/kizniche","followers_url":"https://api.github.com/users/kizniche/followers","following_url":"https://api.github.com/users/kizniche/following{/other_user}","gists_url":"https://api.github.com/users/kizniche/gists{/gist_id}","starred_url":"https://api.github.com/users/kizniche/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kizniche/subscriptions","organizations_url":"https://api.github.com/users/kizniche/orgs","repos_url":"https://api.github.com/users/kizniche/repos","events_url":"https://api.github.com/users/kizniche/events{/privacy}","received_events_url":"https://api.github.com/users/kizniche/received_events","type":"User","site_admin":false},"created_at":"2015-11-23T07:14:56Z","updated_at":"2015-11-23T07:14:56Z","body":"Interesting. I'll look into it."}}