Giter Site home page Giter Site logo

Rest calls to change mode? about infinitude HOT 7 CLOSED

nebulous avatar nebulous commented on April 28, 2024
Rest calls to change mode?

from infinitude.

Comments (7)

nebulous avatar nebulous commented on April 28, 2024

That would be possible and is listed in the todo.txt. Since I haven't needed that personally, I haven't prioritized on the feature. If you would like to participate in testing that out, I'll be happy to write it.

from infinitude.

mrzarquon avatar mrzarquon commented on April 28, 2024

I'd definitely be up for testing, something as simple as hitting setprofile/away to switch to away would be sufficient for my needs (and getprofile/ returning the current active profile), the intelligence of when to do that I can handle on my end.

from infinitude.

nebulous avatar nebulous commented on April 28, 2024

The current status is already available at /status.xml or /status.json as well as the complete configuration at /systems.xml or /systems.json

As for setting status, I added a quick and dirty action to allow for setting a hold, which is what the stat does if you just walk up to it and change settings.

works for all http types right now for your testing simplicity, but I'd like to narrow that down to PUT/POST

/api/yourZoneIdMostLikely1/hold?activity=(home|away|sleep|wake|manual)&until=HH:MM&hold=(on|off)

from infinitude.

nebulous avatar nebulous commented on April 28, 2024

added additional endpoint to change heat/cool/fan settings for each activity

/api/yourZoneIdMostLikely1/activity/(home|away|sleep|wake|manual)?htsp=99&clsp=60&fan=(high|med|low|off)

from infinitude.

nebulous avatar nebulous commented on April 28, 2024

@mrzarquon tried them out and they work on my system. Let me know how it goes for you.

from infinitude.

nebulous avatar nebulous commented on April 28, 2024

@mrzarquon - have you been able to test this? Anything I can do to assist?

from infinitude.

mrzarquon avatar mrzarquon commented on April 28, 2024

This notification got buried in my work related ones. I'll have a chance to test this weekend, but this is looking promising!

from infinitude.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.