Giter VIP home page Giter VIP logo

Comments (7)

mspace00 avatar mspace00 commented on September 28, 2024 3

One quick observation...when pressing the pico remote repeatedly I am unable to control other functions within home assistant. Once I stop pressing the pico repeatedly the actions fire. I will try to get some system resource info to post.

from lutron-caseta-pro.

gabe565 avatar gabe565 commented on September 28, 2024 2

I haven't had time to look through the code, but it almost feels like the pico remote is blocking the interface with home assistant. If I do some sort of action within the native lutron app/eco system while the pico and homeassistant are doing their thing, it's not blocked. Only when using home assistant.

It looks to me like this is a problem with the Lutron telnet interface and not with this project's code. If I directly telnet in, push a button on the pico, then run a command, it still has this problem and the command isn't immediately run.
It looks like the Lutron telnet spec supports disabling output per-connection, so maybe we could open multiple telnet connections and have one for input and one for output? Don't know if it would actually help, but I am experimenting with it right now and will see if I can get around it.

Edit: I think the delay is on purpose for whatever reason. After posting this comment, I realized that the delay is also in the Lutron app. If I press a button on a pico remote, then immediately try to change a light's state in the app, there is a delay just like with this HA component.
Found a reddit thread that has some possible explanations. The OP of that post emailed Lutron about it so we will see if anything comes of it.

from lutron-caseta-pro.

BWilky avatar BWilky commented on September 28, 2024 1

I haven't had time to look through the code, but it almost feels like the pico remote is blocking the interface with home assistant. If I do some sort of action within the native lutron app/eco system while the pico and homeassistant are doing their thing, it's not blocked. Only when using home assistant.

from lutron-caseta-pro.

upsert avatar upsert commented on September 28, 2024

I will direct you to my comments in #16 . I definitely recommend using the native Lutron programming for the fastest possible response time. For example, an in-wall dimmer for the light that will be very fast and a scene pico next to it for scenes that fade in more slowly.

In testing my pico PJ2-3BRL and PJ2-4B remotes, the LED on them flashes for under two seconds for every button press (about 1.4 seconds) and also for the button release. It does not flash continuously in between the press and release flashes and the only latency is in the processing by HA and the ramp up rate on the outgoing command. So I do not attribute much significance to the LED flashing and I can see the actions firing long before the LED goes out.

from lutron-caseta-pro.

mspace00 avatar mspace00 commented on September 28, 2024

Thanks upsert. After more testing I think the delay resides in HA somehow. What I cant figure out is why, if I keep pressing the button on the remote, say ever 1 second, the automation wont trigger. I thought originally it must be waiting for the pico tx to finish, but I can see in both HA and in the Lutron telnet that the key presses are registering instantly.

from lutron-caseta-pro.

mspace00 avatar mspace00 commented on September 28, 2024

I'm still not convinced there is not something happening here. I have moved into node red so that I can debug, and here is what I have found:
-using an inject to manually trigger light.turn_on works immediately. Repeatedly pressing the inject manually has no ill effect.
-using the pico remote I see the delay, repeatedly pressing the remote button will cause the trigger to not fire until i stop.
-using a zwave sensor to trigger I see no delay, repeatedly triggering the zwave sensor has no ill effect.
I can only assume it is something with the pico interface as all my other triggers are immediate :(

from lutron-caseta-pro.

jtaseff avatar jtaseff commented on September 28, 2024

It's a limitation of the lutron wireless functionality. Only one device can transmit at a time. While the pico TX light is on, the lutron hub does not allow sending anything. So for fast communication from lutron to lutron, pair them directly. Only go through the hub crossing between a different brand.

from lutron-caseta-pro.

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.