[Beta] [Release] Ikea Styrbar

I enabled the debug log and this is what I'm seeing when I press the up and down buttons.

dev:27162023-10-14 04:59:01.139 PMdebugSmartShield(text: null, manufacturerId: 0x0000, direction: 0x00, data: [], number: null, isManufacturerSpecific: false, messageType: 0x00, senderShortId: 0x5154, isClusterSpecific: true, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x00, clusterId: 0x0006, destinationEndpoint: 0x01, options: 0x0040)
dev:27162023-10-14 04:59:01.135 PMdebugParse description catchall: 0104 0006 01 01 0040 00 5154 01 00 0000 00 00
dev:27162023-10-14 04:58:59.564 PMdebugSmartShield(text: null, manufacturerId: 0x0000, direction: 0x00, data: [], number: null, isManufacturerSpecific: false, messageType: 0x00, senderShortId: 0x5154, isClusterSpecific: true, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x01, clusterId: 0x0006, destinationEndpoint: 0x01, options: 0x0040)
dev:27162023-10-14 04:58:59.559 PMdebugParse description catchall: 0104 0006 01 01 0040 00 5154 01 00 0000 01 00

Anything catch your eye with these messages?

Yes. It looks like you pressed the UP button (button #1) & then the DN button (button #3). Here is my log:
dev:20122023-10-15 03:13:25.295 PMdebugbuttons 1 or 3 pressed
dev:20122023-10-15 03:13:25.292 PMdebugclusterId= 6, Msg.command= 0, atomicState.releasecalled 0
dev:20122023-10-15 03:13:25.290 PMdebugSmartShield(text: null, manufacturerId: 0x0000, direction: 0x00, data: [], number: null, isManufacturerSpecific: false, messageType: 0x00, senderShortId: 0x587d, isClusterSpecific: true, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x00, clusterId: 0x0006, destinationEndpoint: 0x01, options: 0x0040)
dev:20122023-10-15 03:13:25.285 PMdebugParse description catchall: 0104 0006 01 01 0040 00 587D 01 00 0000 00 00
dev:20122023-10-15 03:13:21.888 PMdebugbuttons 1 or 3 pressed
dev:20122023-10-15 03:13:21.884 PMdebugclusterId= 6, Msg.command= 1, atomicState.releasecalled 0
dev:20122023-10-15 03:13:21.880 PMdebugSmartShield(text: null, manufacturerId: 0x0000, direction: 0x00, data: [], number: null, isManufacturerSpecific: false, messageType: 0x00, senderShortId: 0x587d, isClusterSpecific: true, sourceEndpoint: 0x01, profileId: 0x0104, command: 0x01, clusterId: 0x0006, destinationEndpoint: 0x01, options: 0x0040)
dev:20122023-10-15 03:13:21.874 PMdebugParse description catchall: 0104 0006 01 01 0040 00 587D 01 00 0000 01 00

here is an image of the device when I press button #1 (UP)

Here is an image of the device when I press button #3 (DN)

You can see pushed changes from 1 to 3.

This is very strange. When I push up and down, the "current states" does not show that any buttons are pushed. If I switch back to the original driver code, it will show that the buttons are pushed. Maybe I should try removing the device.. re-add, then choose your driver.

After removing and re-pairing the device two times and switching back and forth between the different device types, I was able to get your driver to register button presses, but then after I tried holding one of the side buttons, it stopped registering the button presses again. This is super weird.

I updated the code (download from https://github.com/BMX4605/Hubitat/blob/main/Drivers/IKEA%20Styrbar/IKEA%20Styrbar.groovy) to further correct the behavior of buttons 2 or 4 held/released. new version is 0.1.2.

Make sure you enable the following on your device:
Enable debug logging
Enable descriptionText logging

3 Likes

ive just got one of these today, its paired okay, but it doesnt register button pushes or anything in the logs, ive reset an paired it quite a few times now, no luck

have a look at these drivers - much more up to date for all things IKEA, especially STYRBAR

1 Like

Hi there. Did you ever get your to work?