Comments (7)
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.
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.
sorry fat fingered the close
from infinitude.
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.
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.
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.
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)
- serial ioloop regression HOT 1
- Websocket opened, but no streaming source found HOT 8
- Errors when trying to run (Docker in Proxmox) HOT 67
- Permission error while attempting to start the listener HOT 10
- Carrier Infinity Touch unable to reach www.api.ing.carrier.com when proxying through Infinitude HOT 2
- Bryant Thermostat won't talk to Infinitude HOT 4
- Additional RS485 Decoding - Questions HOT 2
- It's not always clear to new users how Infinitude works: HOT 3
- Heat source HOT 21
- Trying to ingest JSON status api into Telegraf HOT 4
- Not working with ION Home Comfort HOT 2
- Novice trying to get off the ground... HOT 3
- Is there a way to tell if the carrier thermostat is online? HOT 1
- Question about HA yaml for infinitude sensors HOT 1
- Serial number of unit not exposed HOT 1
- Repeated messages in Syslog - Question HOT 4
- How do i figure out which stage the A/C is running at via the API? HOT 4
- Clarification on Carrier server access HOT 6
- Trying to install 3 instances of infinitude HOT 2
- Hold API confusing and unreliable. HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infinitude.