Comments (3)
This is what the readme says about the circuit id property:
SLSetCircuitStateMessage
Passed as an argument to the emitted circuitStateChanged
event.
Properties
circuitId
- integer indicating the ID of the circuit to set the state of.- This ID can be retrieved from
SLControllerConfig
'sbodyArray
property.
- This ID can be retrieved from
Does that help?
from node-screenlogic.
Thanks for the response!
I just took a quick look and I see how to get SLControllerConfigData
but not quite sure where to retrieve SLControllerConfig. I might be blind but I couldnt find details about that in the readme.
It's probably the wrong object but checking out SLControllerConfigData, I see a circuitArray
property which show a spa circuitId consistent with what I was previously using:
EDIT:
I did a quick check in the library source and it looks like there is no bodyArray
property or SLControllerConfig
object. Might these have been renamed at some point? I looked in the commit history and could not find any such change, but perhaps I am looking in the wrong place.
EDIT2: I am officially an idiot. I was using nameIndex
not circuitId
. After fixing that it's working! Thanks so much for your help!
from node-screenlogic.
Glad you figured it out! I'll get the docs updated to clarify :)
from node-screenlogic.
Related Issues (20)
- Unable to set salt level for pool or spa individually HOT 2
- Differentiate the callback event for getScheduleData(0) vs (1) HOT 4
- Schedule Create/Delete is a very long operation (15-20 seconds) HOT 23
- Calling getPumpStatus() is timing out. HOT 4
- SenderID's don't work with an old version of the library ... duh. HOT 3
- History messages HOT 2
- Can Intellibrite "save" and "recall" functionality from the mobile app be leveraged to store and set custom light colors? HOT 12
- Uncaught Exception crashing node-red HOT 13
- ECONNREFUSED on connect HOT 3
- Can you tell if a scheduled event is running or not? HOT 2
- CoolSetpoint on Spa tracks outdoor air temp? HOT 2
- getNumPumps() returns number of available pump slots, not actual number of pumps HOT 8
- feature request: Access "history" data HOT 1
- Integration with nodejs-poolController HOT 54
- Set pump speeds HOT 7
- Unit is found but remote connection is hanging?
- SLSetHeatSetPoint not parsing API response HOT 4
- FEATURE: Set Timeout HOT 4
- Is UDP Broadcast the same as mdns/dns service discovery? HOT 2
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 node-screenlogic.