Hi @mattsheffiel and @stephack
I don’t totally understand the release event.
I’d like to have each button on a single press turn a scene on, then if the scene is on another press turns it off. Is this possible?
Also do you guys know if this script will work with PJ2-4B-GXX-L01?
Thanks stephack
I read into the input select and toggling. A little over my head. I’m more or less a newbie that is good at following guides. Learning as I go.
If I’m not mistaken I can make any 4 button pico control a group of lights to ramp on via HA integration right? Just wouldn’t be native lutron and would require core integration and some HA programming?
If I can’t get toggling to work well my backup plan was to get a PJ2-4B-GWH-L01 because they are cheaper and make
Button 1 Kitchen (3 caseta loads to 75%
Button 2 Kitchen Off (3 caseta loads to 0%)
Button 3 Family (4 family room caseta loads to 75%)
Button 4 Family Off (4 family room caseta loads to 0%)
I’d have the buttons custom engraved after everything is installed and tweaked correctly.
All that said, maybe I should just add (I have plenty of jboxes) some wifi topgreener scene controllers like these flash with tasmota have it backhaul to the lutron casetas.
It seems like I would be able to toggle easier this way and have more flexibility of loads to dim. Does this seem feasible?
Do you think with wifi switches flashed w tasmota will be as fast and synchronized ?
IE
WiFiswitch>hass>lutron casetas
vs
Pico>HA>Lutron casetas
I hacked on the blueprint to add support for button long presses. I was also working on other Pico blueprints shared in the community, and some features from them made it in as well such as setting the automation mode, which is probably not as useful to others.
I have a PJ2-4B-GBL-L31 that is showing up in @LoremIpsum’s fork of the blueprint but not @mattsheffiel’s original. Does anyone know why that might be the case?
Happy to provide more info, just not sure what would be the most useful.
Thank you for doing this. It seems to be working well for me. With the addition of long press support, I’m trying to add a hold-to-brighten/dim function, but HA does not seem to provide that service. Has anyone else figured out how to do this?
There is an option on the light.turn_on service called Brightness step value. If you call the service with the option, it will adjust the brightness up or down based on the value you give it.
If you use this service call for the button hold action, along with a time delay, and set it to loop, you’ll get a form of the function you’re looking for. It’s not perfect, but it works.
This chunk of blueprint yaml is the above for the down button on a five button pico…
EDIT: I just realized I wasn’t in a thread about the 5-button blueprint, and I didn’t implement looping in my 4-button BP. It could be added though, it just wasn’t a use case that I had previously considered.
It’s untested, but I just brought in the pieces that handle hold loops on the my five button blueprint, so it was largely just a matter of renaming some stuff. It does remove selection of automation mode and concurrency settings as these need to be set in a specific way to support looping.
Thanks! I just tested it and it worked great to increase the brightness. I’ve got the four buttons set to a group of three lights (Group/Downlights/Chandelier/Lamp), so I’m trying to get the functionality for toggling power and dimming (up and down) for each one out of a single button. With this blueprint, I can do all I need except that when it gets to 100%, it doesn’t reset to 0% or start decreasing. Is there a way to make it do that?
I can imagine such functionality could be built using conditionals in the actions (chooser, if/then), along with helper entities to know if brightness should be increasing or decreasing.
I tried this for the pico 4 button 2 group remote which is PJ2-4B-GXX-X21 (Pico4Button2Group), but unfortunately it does not work.
I am a new user of home assistant and still learning.
I would appreciate it if anyone can help me fix the code for this specific remote as well.
I managed to get the other code in your reference to work with the 5 button pico remote.
But I could not get this one to work.
Make sure the remotes appear in the list of devices on your instance.
Search for “PJ2-4B-GXX-X31 (Pico4ButtonScene)” up at the top of the page to filter the list.
If your remotes are in that list, they should be available in the drop down. If they are in the list, but still not in the drop down, then I’m not sure what’s going on.
In my case, I’m using the remotes paired with a Lutron Caséta Smart Bridge Pro.
Pico and Shade remotes are supported on the Smart Bridge (L-BDG2-WH), Smart Bridge PRO (L-BDGPRO2-WH), and RA2 Select (RR-SEL-REP2-BL) models.
What I don’t know is if the remotes appear with the exact same model string, or if it can vary if, for instance, you’re using the Smart Bridge or RA2 Select.
I found this note in another blueprint, it might be what you are looking for:
Make sure you have enabled at least one Pico Event Entity for each device, they are default to not enabled as of 2023.3, otherwise they won't show up as an available device in the drop down list.
How does one connect this 4-button pico to Caseta? I have the Pro Hub but it does not appear possible to connect this pico to this hub. I bought a PJ2-4B-GXX-X31 to test this but it will not register with the Pro hub.
Hi Matt great work!
I was playing around with your PJ2-4B blueprint this weekend.
I was trying to create basically a timed toggle.
Actions
Turn Off
Wait 5
Turn On
Everything worked great except for the wait. It just stopped at that point.
After some troubleshooting and comparing to a standard automation or script which completed the actions, I found the automation had a mode: single at the end of the yaml.
I added that to the blueprint and then the wait worked as expected.
Not sure when they started the mode and its settings but I thought you might want to add to the blueprint.
I’m adopting your blueprint with some ideas, if anything is useful I will let you know.
I have the 4B Pico except mine is the model with just a Power symbol on each button. So I use mine not as much for scenes but being able to say toggle on/off 4 diff devices.