Giter Site home page Giter Site logo

Comments (7)

nebulous avatar nebulous commented on April 29, 2024

CurrentActivity is in status under each zone. You can access status at /status.json or /status.xml For example, in my single zone system, the current status is "away"

status->zones->zone id 1->currentActivity

how are you attempting to load status, and how would you like to load it?

from infinitude.

sejgit avatar sejgit commented on April 29, 2024

Appreciate the response...
I am trying to query from an ISY994i using REST requests.
Have mastered full config pulls,holds & switching activities, as well as config pulls from items in the root hierarchy like screen brightness ( I will eventually regain my geo-fencing which I lost with my Lyrics).

I do see the config.json & config.xml files with the data I want. I also see the hierarchy you mention above, can you make the final link to .... how do I state the REST or html request for currentActivity?

(I do understand that I need to do more learning on JSON ; in my 47yrs has not been something needed beyond basic awareness until now. I promise to learn - this project is my incentive.)

For interest I have two systems (not zones) with two Infinity Touches ; so will have two pi's connected to each to gain the 485 conversation. I have one hooked up with your recommended usb->485. Its talking with cardump for a while then dumps with a "fatal error: Not trying again". I suspect either my communications wire is inadequate or the old piB I had lying around bogs down and overruns the buffer. I will try swapping out both one at a time (feel free to add hints here).

Again thanks for the fun you have provided here. I appreciate your willingness to respond & respect the many hours you have invested in this project. Cheers.

from infinitude.

sejgit avatar sejgit commented on April 29, 2024

sorry fat fingered the close

from infinitude.

nebulous avatar nebulous commented on April 29, 2024

I suspect either my communications wire is inadequate or the old piB I had lying around bogs down and overruns the buffer. I will try swapping out both one at a time (feel free to add hints here).

Any pi has far more than enough horsepower to keep up with the serial stream, so I would look at wiring first. In my case I initially used some jumper wires which did not work reliably. Ended up switching to a section of the same solid thermostat wire that the rest of the system used: http://i.imgur.com/ZObXc99.jpg

I do see the config.json & config.xml files with the data I want. I also see the hierarchy you mention above, can you make the final link to .... how do I state the REST or html request for currentActivity?

There isn't presently a built-in way to get only a single variable from status, but it's trivial to do so on the commandline on the pi, or with YourFavoriteProgrammingLanguage's JSON or XML library. What language is used to write scripts on the ISY994i? Can it parse json or xml?

from infinitude.

sejgit avatar sejgit commented on April 29, 2024

Thanks for the response,
I will keep investigating the wiring. I have shortened the cables to about the shortest without putting inside the furnace & tried to match the gauge using twisted pair. Like you suggest I will try to dig up something shielded matching what the installers used.
Like many home automation devices the ISY has its quirks. Less a language than each program is in an if-then-else format. You can send and receive http using variables. It also has a REST interface.
Boy I tried every combo trying to get my one variable out of the Infinitude interface. Got frustrated. Looks like a even set a few ghost variables in the process. Lol.
So, I have been studying JSON & have found some of the processing tools you mention.
I will likely write a small python program on the pi to process and then flag the ISY through its rest interface by changing a variable. Say 1 for home, 2 for away, etc. Then I can use that inside the ISY for feedback. We will see what kind of lag I get from settings to feedback.
So again, thanks for taking the time and giving the hints. The new approach should work.
I will let you know how the two issues of 485 & ISY communication work out.

from infinitude.

sejgit avatar sejgit commented on April 29, 2024

One more thought ; you had mentioned wanting to add aggressive resetting of the 485 communications & also that sometimes that you needed to jump start using carddump. Is there a reset of the line I could add either in Infinitude or external? I will still pursue the long term fix of less noisy communications. Thanks again ; this is fun stuff.

from infinitude.

sejgit avatar sejgit commented on April 29, 2024

Just an update, wrote a python program to sit on the pi and act as the go between the ISY994i & Infinitude. As a bonus it updates my phone through prowl of changes or temps out of range.
Means I can push away, or home through the phone using the same interface I do all my home automation.
Also provides the geofencing for automated coming and going of my wife & I.
Its over at sejgit/furnace if anyone is interested. I know my case is very specific but might be useful to someone out there.
Final step might be to take the two servers and put them on one pi (I have two furnaces). Currently using two Pi 1Bs , would use one Pi3. Just to clean it up ; will need to run two instances of Infinitude and my python program. Not using the 485 network ; have sent them to /dev/null

Thanks again for providing this link to the Carrier system Nebulous! Much appreciated!!!!!

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.