#updating a 2 button pico blueprint to a diva pico blueprint

5 messages · Page 1 of 1 (latest)

pliant geode
#

Hi! Very new here. I have a couple pico diva remotes that I'd like to add long press and double press functionality to. I found this blueprint
https://gist.github.com/lastacorn/825c8c46033883defb81de6b85a44e0a

It calls an older model of pico, so I tried importing the blueprint, made a copy, and modified the new one to have the right model number, "PJ2-1P-GXX (PaddleSwitchPico)". That part worked! But none of the button presses activate in my automation 😞 when looking at the default automation setup for the remote I noticed the 4 states it suggests are different. No top or bottom button, only 0 and 2 (pictured).

I then attempted to swap out the up/down language in the blueprint with 0 and 2, but no dice. I wish I could share my code here, but I did the edits in HA and don't know how to export.

I'm not sure how to proceed now. Is there another blueprint available already? An i missing something simple in the blueprint code i modified? Any tips on getting the code to post here? I can't select all to copy paste and File editor says i don't have permission to download the yaml.

lime bronze
#

Hi @pliant geode,

none of the button presses activate
Most likely the different device has different functions that happen when you push the buttons.
I do not have the hardware so I will be of limited help. I suggest however that you start by writing an automation in the HA UI editor that presses all the buttons and does all the things you want to do. Then look at that YAML and you will see what the action codes need to be to make the sequence section work correctly.

pliant geode
#

Thanks for the advice! I'll try and tinker with that this evening. I really got to get this thing accessible from afar so I can tinker at work 😅 I'll look into sharing the blueprint if I can get it to work to try and help others

pliant geode
#

I haven't had time to tinker with the code, but the buttons are distinctly press and release triggers. Hopefully I'll get some spare time soon

lime bronze
#

You can leave this open for a while to collect other ideas, but when you have a solution, would you be so kind as to select close from the 3 dots menu in the top and the Resolved tag if you have not already done so?

You may (not sure) be able to re-open this if you close it, or just open a new one if you are going to be gone a while.