Hello.
So got the IKEA Styrbar 4 button dimmer. Decided to take a bite and create a device handler, first one so please be gentle…
Features:
-the four buttons are functionnal
-up/down buttons support press and hold
-left/right (color change) support press only
Future project
Modify a smart app to allow the same functionnality the remote has when paired with bulbs which can’t be replicated in the base Smarthings app., namely cycling the colours with the left/right buttons
Thanks for this, I installed and paired the remote, however I am only getting the battery reporting, no buttons. The IDE also only shows the battery as a state. Have you seen this before? pretty sure I followed the usual steps
Hi.
I have note, I’d ensure that we’re dealing with the exact some model.
manufacturer: “IKEA of Sweden”, model: “Remote Control N2”, deviceJoinName: “IKEA Styrbar remote”
I’ll try to do some more tests at my end to rejoin and see if I’m getting the same results. Not sure why, but many devices, you seem to need to do add, remove, then readd
Right, I’m getting the same results. If you try to remove and add, and have the live logging window open I am getting this below. This is my first try at a more complex device handler. So I’ll have to do some research.
4de56166-b005-49bd-9822-7bf6bae2ad78 1:28:37 PM: debug Configuring device null
4de56166-b005-49bd-9822-7bf6bae2ad78 1:28:37 PM: error physicalgraph.app.exception.UnknownDeviceTypeException: Device type ‘Child Button’ in namespace ‘scubaandre’ not found. @line 83 (createChildButtonDevices)
4de56166-b005-49bd-9822-7bf6bae2ad78 1:28:37 PM: debug Creating child 1
4de56166-b005-49bd-9822-7bf6bae2ad78 1:28:37 PM: debug Creating 4 children
4de56166-b005-49bd-9822-7bf6bae2ad78 1:28:37 PM: debug Creating 4 children
Ok. so did some updates to the code and tested adding the device from the app using the ikea 5 button to get the process started, and also from the online interface and plugging the information manually. Both worked. @o3scotto Please give it a try again, remove whatever is in there first before you try again.
I’ve had that with multiple device. If the devices try to rejoin after loosing connection to the network, they won’t send an updated battery level and the battery will die out trying to rejoin.