Comments (9)
Thanks for the new info! I can't promise I'll be able to add them soon, but if you look at this commit, you can look at MessageBodyTypes.ts and the related tests to see how to add new types. It's pretty simple. Then it's "just" a question of wiring up whatever behaviours you need. :)
from lutron-leap-js.
I think I got building working.. now to test...
from lutron-leap-js.
Also, uh, sorry about the state of the tests. 😂
from lutron-leap-js.
Will start some commits once I troll through everything with this RA3 box. Side question, I'm trying to get subscribes working, and /occupancygroup/status
doesn't seem supported on RA3, any other thoughts about which paths one might subscribe to for device updates?
from lutron-leap-js.
Found it!
leap.subscribe('/zone/status', function(subscribeResponse) {
logging.info('zone subscribe response: ' + subscribeResponse)
}, 'SubscribeRequest')
from lutron-leap-js.
@thenewwazoo I am also not a typescript programmer, I can easily drop these in, but - any primer how to compile/test it?
from lutron-leap-js.
If you're interested in occupancy information, check the tracking ticket over there. Caséta won't let you subscribe to individual occupancygroups (e.g. /occupancygroup/1/status
), you have to have a singleton subscribe to /occupancygroup/status
and handle updates (or route the update). I'd be interested to know if RA3 lets you subscribe to individual occupancygroups.
from lutron-leap-js.
If you're interested in occupancy information, check the tracking ticket over there. Caséta won't let you subscribe to individual occupancygroups (e.g.
/occupancygroup/1/status
), you have to have a singleton subscribe to/occupancygroup/status
and handle updates (or route the update). I'd be interested to know if RA3 lets you subscribe to individual occupancygroups.
They don't seem to be showing up at all
I had to get it working this way: #11
from lutron-leap-js.
(Note to self: Done, just doing them all for a single PR)
from lutron-leap-js.
Related Issues (20)
- MultipleLinkDefinition body type HOT 1
- OneAreaStatus body type HOT 9
- MultipleAreaStatus body type HOT 1
- OneAreaSceneDefinition body type HOT 1
- OnePresetDefinition body type HOT 1
- Has this been tested with RadioRA3 Sunnata Dimmers and Keypads? HOT 3
- Support new Homeworks QSX LEAP varient HOT 35
- Support for Sunnata 4 buttton keypad and RA2 fan via the RA3 hub? HOT 4
- Issue with mDNS Queries/Responses HOT 17
- Control devices? HOT 3
- Homeworks QSX support HOT 2
- 3.4.x NPM packages contain code not in repo
- MultipleAreaDefinition body type HOT 1
- Question: Where to get information about LEAP protocol? HOT 1
- OneAreaDefinition body type HOT 1
- OneControlStationDefinition body type HOT 1
- OneProjectDefinition body type HOT 1
- OneLinkNodeDefinition body type HOT 1
- MultipleZoneStatus body type HOT 1
- Support zone subscriptions HOT 1
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 lutron-leap-js.