{"action":"created","issue":{"url":"https://api.github.com/repos/kizniche/Mycodo/issues/402","repository_url":"https://api.github.com/repos/kizniche/Mycodo","labels_url":"https://api.github.com/repos/kizniche/Mycodo/issues/402/labels{/name}","comments_url":"https://api.github.com/repos/kizniche/Mycodo/issues/402/comments","events_url":"https://api.github.com/repos/kizniche/Mycodo/issues/402/events","html_url":"https://github.com/kizniche/Mycodo/issues/402","id":296159354,"number":402,"title":"Heat Pump system with heat and cool solenoid won't run compressor","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},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-02-11T04:25:06Z","updated_at":"2018-02-13T04:52:17Z","closed_at":null,"author_association":"NONE","body":"## Mycodo Issue Report:\r\n  - Specific Mycodo Version:  5.5.19\r\n \r\n#### Problem Description\r\nPlease list:\r\n  - what were you trying to do\r\nI'm trying to turn on a compressor when a cooling solenoid is turned on. Then off when it turns off. I also need to turn the same compressor on when a heating solenoid is turned on, and off when it turns off. Unfortunately I set up the compressor to turn on via Function, and it turns on just fine, but Mycodo gets confused when Cooling is off and heating is on, it won't turn on the compressor accordingly.\r\n\r\nThe same thing for the fan inside. I want it on with the compressor, but since the compressor cannot be run when either Heat or Cool is requested, it won't work correctly.\r\n\r\n  - specific setup details that are involved\r\nThe function is not possible to have Output 3 follow both output 1 or output 2.\r\n \r\n### Errors\r\n  - List any errors you encountered.\r\nn/a\r\n  - Copy and pasting crash logs, or link to any specific\r\ncode lines you've isolated (please use GitHub permalinks for this)\r\nn/a\r\n\r\n### Steps to Reproduce the issue:\r\nHow can this issue be reproduced?\r\n 1. step 1\r\nCreate 3 outputs, 1 PID function, 2 conditional when ON, 2 conditional when OFF\r\n 2. step 2...\r\nConfigure conditional on when cooling solenoid is on to turn on the compressor, and turn off the compressor when cooling solenoid goes off. The same for heating solenoid.\r\n 3. etc\r\n \r\n### Additional Notes\r\nIs there anything that should be added to make it easier\r\nto address this issue?"},"comment":{"url":"https://api.github.com/repos/kizniche/Mycodo/issues/comments/365150534","html_url":"https://github.com/kizniche/Mycodo/issues/402#issuecomment-365150534","issue_url":"https://api.github.com/repos/kizniche/Mycodo/issues/402","id":365150534,"user":{"login":"kizniche","id":838427,"avatar_url":"https://avatars3.githubusercontent.com/u/838427?v=4","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":"2018-02-13T04:52:17Z","updated_at":"2018-02-13T04:52:17Z","author_association":"OWNER","body":"I'll reproduce your setup and find out what's stopping things from working. I suspect it's the positioning of the code to ensure the Raising output turns off when it switches to Lowering, and vise versa. "}}
{"actor":{"display_login":"kizniche"}}