nebulous / infinitude

Open control of Carrier/Bryant thermostats
MIT License
224 stars 50 forks source link

setting profiles dynamically. #35

Closed 7ooL closed 7 years ago

7ooL commented 7 years ago

My house can already do a number of things when different trigger events occur. I'm working on dynamically setting the hvac profiles based on events such as arriving/leaving the home.

outside of the infinity's preprogrammed schedule I can set profiles using the HOLD UNTIL commands to adjust for fluctuations in schedules. for example: 'http://192.168.1.248:3000/api/1/hold?activity=away&until="16:45" how can i set UNTIL to the "per schedule" option to cancel a current hold?

7ooL commented 7 years ago

i was able to figure it out http://192.168.1.248:3000/api/1/hold?hold=off

7ooL commented 7 years ago

any idea when you will move to a rest api?

nebulous commented 7 years ago

Can you define what you mean by rest? Presently the api is a superset of rest, being very promiscuous with http action types, but it will respond to PUT requests for settings for instance. As far as when I'll have the time to make the api "more betterer" that's likely to be a while as I have a newborn eating my time/money/sanity.

7ooL commented 7 years ago

no worries about this issue any more. I have been able to figure out how to set the profiles the way i wanted to using GET.