Giter Site home page Giter Site logo

Comments (9)

thenewwazoo avatar thenewwazoo commented on June 12, 2024 1

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.

terafin avatar terafin commented on June 12, 2024 1

I think I got building working.. now to test...

from lutron-leap-js.

thenewwazoo avatar thenewwazoo commented on June 12, 2024 1

Also, uh, sorry about the state of the tests. 😂

from lutron-leap-js.

terafin avatar terafin commented on June 12, 2024

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.

terafin avatar terafin commented on June 12, 2024

Found it!

        leap.subscribe('/zone/status', function(subscribeResponse) {
            logging.info('zone subscribe response: ' + subscribeResponse)
        }, 'SubscribeRequest')

from lutron-leap-js.

terafin avatar terafin commented on June 12, 2024

@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.

thenewwazoo avatar thenewwazoo commented on June 12, 2024

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.

terafin avatar terafin commented on June 12, 2024

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.

terafin avatar terafin commented on June 12, 2024

(Note to self: Done, just doing them all for a single PR)

from lutron-leap-js.

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.