this post was submitted on 28 Jan 2024
15 points (94.1% liked)

homeassistant

12055 readers
31 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

Hi all, happy to see a strong HA presence on Lemmy!

To start off, I know enough to be dangerous but not enough to always get the desired or expected outcomes.

I have a downloaded HA install to a bootable USB with all updates. I have also installed a SONOFF Zigbee Dongle and ensured that auto updates are enabled. After installing the SONOFF, I was able to configure ZHA and then also add the Ikea Tradfri shortcut button. These are currently the only two Zigbee devices.

Device info for the button confirms the button is being depressed with Logbook entry "Button_LR1 Remote Button Short Press - Turn On event was fired" - so I don't think I have a configuration issue.

I was hoping to configure a Scene where I could control lighting and TV with the shortcut button. As a test, via a HA configuration, I have created a Scene and added a light (via Wyze integration - works independently fine) and the button as Devices. There are two entities listed, one for the button battery and one for button identify. As configured on HA, this scene works as expected. The light turns on. However, depressing the shortcut button does nothing.

What am I doing wrong?

you are viewing a single comment's thread
view the rest of the comments
[–] jumpinf00l@aussie.zone 8 points 9 months ago (4 children)

It sounds like you’ve added both the light and the button to the devices in the scene, but only the light should be added.

Scenes set controllable devices to specific states and a button is generally not a controllable device (it’s the device that does the controlling). Scenes are also not directly activated and need an automation to activate them.

You’d need to create an automation and specify that ‘when’ the button is pressed, ‘then do’ activate the scene.

Happy tinkering!

[–] wazzup@lemmy.world 2 points 9 months ago (1 children)

As a follow up, this worked as you described. Thanks again.

Now, since it's the shortcut button, I had to load the blueprint and start working on the proper configuration so that I can do more with the switch - for example, double clicks, holding, etc...

Not quite there yet, but your response helped a lot.

[–] jumpinf00l@aussie.zone 1 points 9 months ago

Glad I could help!

load more comments (2 replies)