Comments (3)
That config doesn't appear to be properly formed. Where did it come from? If you're not using it already, I highly recommend using the homebridge-config-ui-x tool. That should help you set up Homebridge, at which point the plugin will work. Please let me know if it doesn't.
from homebridge-lutron-caseta-leap.
Not sure what happened with the config file as It was generated from from the hombridge-config-ui-x tool.
I decided to reinstall my homebridge docker and start from scratch to see if that addressed some of the issues.
The config file format still looks a bit different from the boilerplate one though. So far, I am still getting an error.
I am going to try and write my config file manually too to see if there is something odd going on there. I should also note that the server with the docker container is running on a separate VLAN than the Lutron Hub however I do have rules set up to allow homebridge to talk across the VLAN.
Thanks
Plugin Config:
{
"bridge": {
"name": "Homebridge",
"username": "X",
"port": "X",
"pin": "X"
},
"accessories": [],
"platforms": [
{
"name": "Config",
"port": 8581,
"platform": "config"
},
{
"secrets": [
{
"bridgeid": "#####",
"ca": "MII...",
"key": "MII...",
"cert": "MII..."
}
],
"platform": "LutronCasetaLeap"
},
{
"controllers": [
{
"address": "###.###.#.#",
"password": "X",
"username": "X"
}
],
"options": [
"Enable.Motion.SmartDetect.NvrEvents",
"Enable.Motion.Switch"
],
"platform": "UniFi Protect"
},
{
"email": "X",
"password": "X",
"name": "X",
"platform": "myQ"
}
]
}
Logs:
2022-01-11T20:37:55.343Z leap:protocol:discovery checking HostAndPort { host: 'X.X.X.X', port: 22 }
2022-01-11T20:37:55.348Z leap:protocol:discovery was not ipv6: Error [AddressError]: Incorrect number of groups found
at new AddressError (/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/ip-address/dist/lib/address-error.js:20:28)
at Address6.parse (/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/ip-address/dist/lib/ipv6.js:599:19)
at new Address6 (/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/ip-address/dist/lib/ipv6.js:141:35)
at BridgeFinder.extractIp (/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/lutron-leap/src/BridgeFinder.ts:68:30)
at BridgeFinder.handleDiscovery (/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/lutron-leap/src/BridgeFinder.ts:156:29)
at MDNSServiceDiscovery.<anonymous> (/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/lutron-leap/src/BridgeFinder.ts:44:18)
at Event.emit (/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/atvik/src/sync.ts:65:29)
at MDNSServiceDiscovery.BasicServiceDiscovery.updateService (/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/tinkerhub-discovery/src/discovery/basic-service-discovery.ts:67:24)
at MDNSServiceDiscovery.refreshService (/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/tinkerhub-mdns/src/discovery/mdns-discovery.ts:346:8)
at Timeout._onTimeout (/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/tinkerhub-mdns/src/discovery/mdns-discovery.ts:206:27) {
parseMessage: undefined
}
2022-01-11T20:37:55.399Z leap:protocol:discovery got useful ipaddr X.X.X.X
2022-01-11T20:37:55.407Z leap:protocol:discovery got hostname from IP: Lutron-########.local
2022-01-11T20:37:55.407Z leap:protocol:discovery extracted bridge ID: X
2022-01-11T20:37:55.407Z leap:protocol new LeapClient being constructed
2022-01-11T20:37:55.408Z leap:protocol:discovery failed to handle discovery: Error: error:0909006C:PEM routines:get_name:no start line
at node:internal/tls/secure-context:65:13
at Array.forEach (<anonymous>)
at setCerts (node:internal/tls/secure-context:63:3)
at configSecureContext (node:internal/tls/secure-context:152:5)
at createSecureContext (node:_tls_common:117:3)
at new LeapClient (/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/lutron-leap/src/LeapClient.ts:50:44)
at BridgeFinder.handleDiscovery (/homebridge/node_modules/homebridge-lutron-caseta-leap/node_modules/lutron-leap/src/BridgeFinder.ts:178:28) {
library: 'PEM routines',
function: 'get_name',
reason: 'no start line',
code: 'ERR_OSSL_PEM_NO_START_LINE'
}
from homebridge-lutron-caseta-leap.
In both cases, you don't have the keys configured correctly. If you're using the GUI, just paste the key files in as they are, copied straight out of the files written by the pylutron-caseta script.
from homebridge-lutron-caseta-leap.
Related Issues (20)
- 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
- Leap has been broke. For me for weeks now since Homebridge update
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.