Comments (7)
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.
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.
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.
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.
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.
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.
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)
- Unable to prepare setup for platform lutron_caseta_pro.cover: Platform not found (cannot import name 'CoverEntity' from 'homeassistant.components.cover' HOT 4
- Invalid config error after updating HOT 2
- Controlling lamp dimmer as two separate switches/lights HOT 2
- Read/create events for switches, dimmers and fan switches like pico remotes HOT 2
- Light State Incorrect Occasionally HOT 4
- Any plans to add the motion sensor? HOT 1
- support for `RR-SEL-REP2-BL`? HOT 3
- Cover position shows incorrect state under certain conditons. HOT 6
- Error in casetify.py HOT 1
- Getting failed to call service error when trying to configure component. HOT 9
- fan speeds not lining up or being set correctly
- Lutron Fan Control - fan.set_speed = low does not work HOT 2
- Request: Pico - Double & Long Press Actions HOT 9
- add version to manifest.json HOT 1
- Support new speed percentage targets for fans HOT 6
- This component versus the in-built Lutron component in HA HOT 5
- Warnings in December 2021 HomeAssistant
- Is the built-in integration for Lutron Caséta the long term path forward? HOT 5
- Integration 'lutron_caseta_pro' not found. HOT 3
- No Devices
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 lutron-caseta-pro.