Hi all, I’ve decided to try OpenHab again after using Home Assistant for a year. It seems like OpenHab has a come a long way since I last looked, however I’m struggling to get my Aeotec Key Fob working properly.
It was always a pain to bind the fobs with Home Assistant in the first place. My old process was:
Press the bottom right button, or the learn button on the back
Press add node on Hass
When it’s paired go to set parameter and set param 250 to scene
If it reverts to Group then press and hold learn on the back of the fob for 3 seconds - this will awake it for 30 seconds
Repeat setting param 250 to scene until it sticks.
Restart the server
After restarting Hass will show the name Aeotec KeyFob Gen 5 etc
Rename the node to whatever
Restart Hass
Done.
I can’t for the life of me get this working with OpenHab though. I’ve tried completely resetting my Aeotec Z Stick and Key Fobs to defaults and then following this procedure:
Disconnect the Z Stick from the Pi and press the learn button
Press the bottom right button to learn
Green LED blinks fast and goes solid to indicate it’s paired
Plug the Z Stick back into the Pi
Press the mode and learn button on the back of the fob to put it in Scene Mode
Restart OpenHab (sudo reboot - not sure why this need to reboot every time to find new devices)
Open PaperUI
Add the Thing
Add the scene number and batter level as channels
Go to the Control area and look at the values
They are always “-” regardless of what button I press and the battery level never gets reported.
First post and question on this community, so I hope it’s got everything I was supposed to put.
Thanks for the reply. It sounds like we might not have the same version of the Z Stick? Mine is the gen 5 one. Pressing 4 buttons doesn’t do anything special according to the docs.
I’ve tried once again resetting both to complete defaults. I’ve included it through OpenHab this time, but now it’s not picking up it’s a key fob. It’s just sat as “Z Wave Node 3”. I’ve tried waking it by holding the bottom right button for 3 seconds to force a wake up, and putting it in USE mode and spamming all the buttons.
Right, I managed it eventually. Seems to have been mostly blind luck.
Reset both controller and key fob to factory defaults
Deleted all bindings and channels in OpenHab
Plugged in and reconfigured Z Stick within OpenHab
Rebooted OpenHab
Went to HabAdmin to the Z Stick
Clicked the search icon in the top left as per HomeAutomation’s instructions above
Pressed and held the learn button on the Key Fob
Added the “Thing” once it was detected
Manually set the device to Scene mode and set wakeup time to 30 seconds
Put the device into Scene mode by pressing the mode and learn buttons simultaneously
Pressed and held the learn button on the back with a pin for 3 seconds to force a wake up
Repeat last step about 5 times
Add channel for battery level and scene
Repeat force wake up again
Battery level appeared
Hit the scene keys - they worked!
EDIT: Didn’t actually work for the 2nd fob I have. It’s just sat as an unknown device an hour later, despite constant wake ups. Oh well… will keep trying.