Comments (6)
I'm also not sure if In-Wall Dimmer Switches can even be exposed as "switch" accessories or if they're strictly "light" accessories.
from homebridge-lutron-caseta-leap.
I've been trying to find actual documentation on LEAP and I cannot find anything. And I'm not sure how to use lutron-leap-js to experiment interactively.
from homebridge-lutron-caseta-leap.
Hi Lily!
LEAP is a totally undocumented, proprietary protocol by Lutron. I'm not aware if Lutron has any kind of developer relations/outreach program, but I doubt it. They're friendly but I don't think we're their target market. :) The best resource I've found is actually their Android app, which can readily be decompiled to show how Lutron accomplishes what they choose to implement in their phone UIs.
To date, I haven't seen any indication that the non-Pro hub generates button press events, for Pico remotes or any other device. I have read (third-party library) documentation online to indicate that the Pro hub does send button press events via the LIP (Lutron Integration Protocol aka telnet) protocol. As I've mentioned in comments elsewhere, I strongly suspect that the (otherwise-unused) subscription method in LEAP can be used to request button press events, but my experimentation to date hasn't succeeded, and I've not planned to budget the cost of a Pro hub in order to reverse engineer it.
I've got some code somewhere to exercise lutron-leap-js - basically you just run a top-level async function to await the client repeatedly, with whatever reaction logic you want slipped inline. I don't know if there's a way to do it with a REPL (I don't really, like, do JS/TS).
from homebridge-lutron-caseta-leap.
There’s another plugin that uses LIP with the Pro hub to turn Pico remotes into HomeKit buttons. I asked the author of that plugin if it could get button presses for the dimmer switches and they said no, it just reported light level changes, but I don’t have a Pro hub to test with.
from homebridge-lutron-caseta-leap.
Hi @lilyball, I just got done adding support for Pico remotes (release forthcoming), and can now definitively say that buttons on non-remote devices aren't exposed in any way I can find. That's not to say it's impossible, it's just not something I can see a way to do.
The response from the hub for an in-wall dimmer looks like:
{'href': '/device/14', 'Name': 'Fan Light', 'FullyQualifiedName': ['Terrarium', 'Fan Light'], 'Parent': {'href': '/project'}, 'SerialNumber': 51726971, 'ModelNumber': 'PD-6WCL-XX', 'DeviceType': 'WallDimmer', 'LocalZones': [{'href': '/zone/11'}], 'AssociatedArea': {'href': '/area/11'}, 'LinkNodes': [{'href': '/device/14/linknode/14'}], 'DeviceRules': [{'href': '/devicerule/27'}], 'AddressedState': 'Addressed'}
There isn't an associated ButtonGroup
, which means there aren't any buttons.
from homebridge-lutron-caseta-leap.
@thenewwazoo Thanks for following up on this. I did end up getting a Pro hub and confirmed myself that the telnet protocol doesn't get button presses for in-wall dimmers. I'm disappointed but not surprised that LEAP doesn't either. I contacted Lutron System Support to ask about it as well and they confirmed that the Telnet protocol doesn't support this and that they've "passed this feature request to our product manager and engineering team for consideration as a future possibility with such Telnet Integrations", though they didn't mention LEAP.
from homebridge-lutron-caseta-leap.
Related Issues (20)
- platform.ts#L225 - bridge.setMaxListeners(125 * this.secrets.size); HOT 2
- Support for Pico paddle remotes: PJ2-P2B-GWH HOT 3
- Connects to RadioRA3 but fails to run HOT 1
- Question: Support for 4 button -P01 Pico? HOT 6
- Homebridge stops working when LEAP plugin enabled HOT 5
- Devices not showing up in HomeKit HOT 4
- Just a question before a purchase... or maybe more. HOT 4
- Accessories not appearing in Homekit HOT 1
- Pico Paddle PJ2-P2B incorrectly appears as PJ2-1P-GXX HOT 1
- Pico not adding to home app HOT 2
- Lutron 4 Button LS21 HOT 3
- Hide long/double press action in Home app when disabled in this plugin
- Infinite spinning gear HOT 5
- Pico Remotes not showing in homekit HOT 2
- support for aquaria shade driver e1
- Can't control picos from Homebridge
- Cannot discover Smart Hub 2 HOT 1
- infinite Spinning in Config! HOT 2
- Pico to trigger brightness? HOT 1
- UI NOT WORKING 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 homebridge-lutron-caseta-leap.