Giter VIP home page Giter VIP logo

Comments (22)

thenewwazoo avatar thenewwazoo commented on August 19, 2024

I'll have to think a bit about how to get the button information from you. The current code doesn't interrogate the remotes enough by default, so there wouldn't be quite enough in the logs.

from homebridge-lutron-caseta-leap.

thewolfanator avatar thewolfanator commented on August 19, 2024

ok.

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

If you still have the files from when you set up the bridge for the first time (the python script), I think the easiest way is to send me the output from the following script:

#!/usr/bin/env python3

import asyncio
import logging

logging.basicConfig(level=logging.DEBUG)

from pylutron_caseta.smartbridge import Smartbridge

async def get_buttons():
    # `Smartbridge` provides an API for interacting with the Caséta bridge.
    bridge = Smartbridge.create_tls(
        "192.168.1.151", "caseta.key", "caseta.crt", "caseta-bridge.crt"
    )
    await bridge.connect()

    await bridge._request("ReadRequest", "/button")

loop = asyncio.get_event_loop()
loop.run_until_complete(get_buttons())

Edit that script to set the IP address correctly, and run from the same directory that has the key, cert, and ca files in it. So, something like:

. env/bin/activate
python3 buttons.py

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

Any luck getting this to run?

from homebridge-lutron-caseta-leap.

thewolfanator avatar thewolfanator commented on August 19, 2024

Hey bud. Sorry completely got swamped with work and didn’t get back to this. Going to do this today!!

from homebridge-lutron-caseta-leap.

thewolfanator avatar thewolfanator commented on August 19, 2024

Hey, sorry, got crazy busy with work.... I finally just sat down to do this, but I am not sure where to start? The only experience I have with Python was to get your plugin working. You will have to give me all the steps of what I type in to terminal on my mac - need the "complete idiot" version. I have some time today to tinker, so let me know.

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

Sorry I’m actually out most of the day so I may not be able to help semisynchronously. Basically it requires following the old setup instructions that involved Python, and running this script instead of the one that gets the certificates. I’ve been thinking of ways to add unknown-device discovery directly in the plug-in, so if you don’t get to it, that’s okay (but might take longer)

from homebridge-lutron-caseta-leap.

thewolfanator avatar thewolfanator commented on August 19, 2024

Are we still going to try this?

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

I'd still love to get this feature added, yes!

Start with these instructions. Do the "Get your bridge credentials" section, and then run the above script in that same terminal right after.

from homebridge-lutron-caseta-leap.

wsmeyer90277 avatar wsmeyer90277 commented on August 19, 2024

I'd still love to get this feature added, yes!

Start with these instructions. Do the "Get your bridge credentials" section, and then run the above script in that same terminal right after.

Are you still waiting on the output of that script?

from homebridge-lutron-caseta-leap.

thewolfanator avatar thewolfanator commented on August 19, 2024

from homebridge-lutron-caseta-leap.

wsmeyer90277 avatar wsmeyer90277 commented on August 19, 2024

I'd still love to get this feature added, yes!

Start with these instructions. Do the "Get your bridge credentials" section, and then run the above script in that same terminal right after.

I'm willing to help but not sure where you are at with this

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

Sorry, still just waiting for someone to run the script and provide the output. :)

from homebridge-lutron-caseta-leap.

wsmeyer90277 avatar wsmeyer90277 commented on August 19, 2024

Sorry, still just waiting for someone to run the script and provide the output. :)

I'll do it first thing in the morning :)

from homebridge-lutron-caseta-leap.

wsmeyer90277 avatar wsmeyer90277 commented on August 19, 2024

Sorry, still just waiting for someone to run the script and provide the output. :)

I can't even get started as I can't find where to download the get_lutron_cert.py file

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

I’m thinking it’s going to be easier if I could get my hands on one myself. If anyone felt like donating one, that would be ideal, and would get this done :)

from homebridge-lutron-caseta-leap.

wsmeyer90277 avatar wsmeyer90277 commented on August 19, 2024

I’m thinking it’s going to be easier if I could get my hands on one myself. If anyone felt like donating one, that would be ideal, and would get this done :)

That was one of the first things I thought of but they've been on backorder from Lutron since the pandemic. They're only available now from hoarders that want a ridiculous amount for them 🤬

The other way I thought of is to give you my ip address and port forward to my hub so you can run scripts on it remotely.

from homebridge-lutron-caseta-leap.

thewolfanator avatar thewolfanator commented on August 19, 2024

Where are you located?

from homebridge-lutron-caseta-leap.

wsmeyer90277 avatar wsmeyer90277 commented on August 19, 2024

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

I'm in the SFBA. Another gracious user sponsored occupancy sensor support by sending me an amazon gift card that I used to order a test unit, so something like that is an option.

from homebridge-lutron-caseta-leap.

basemodel72 avatar basemodel72 commented on August 19, 2024

Hey! I too am interested in getting 4 button support. Id be happy to order a remote and have it shipped to you

from homebridge-lutron-caseta-leap.

thenewwazoo avatar thenewwazoo commented on August 19, 2024

That’d be great! Shoot me an email and we’ll coordinate

from homebridge-lutron-caseta-leap.

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.