@veonua,
I publish the driver in the shared channel in case I need it?
If you have improved it, post yours
Driver Publised in shared channel
Zigbee Light Multifunction Group
@veonua,
I publish the driver in the shared channel in case I need it?
If you have improved it, post yours
Driver Publised in shared channel
Zigbee Light Multifunction Group
all you need to do is to add a number section to the preferences and handle it like
this is the code for remotes I own: Styrbar and UpDown button from Ikea.
don’t forget to include utils from
However, it might be enough to display the group number to the user
Thanks @Mariano_Colmenarejo
I’ll have a go at getting this working tomorrow.
Is the driver that supports the group available in your GitHub anywhere? I wanted to check what devices it supports to make sure I have some that are compatible.
Thank you
in this post is the list of devices
I have now added support for zigbee groups - this should be considered experimental
Only on,off and dimming seems to be working - but it does work
Steps
Thanks to @veonua and @Mariano_Colmenarejo for coaching me through this
I published with the @lmullineux ikea bulb and rename it, but is the same driver and will update automatically
┌─────────────┬──────────────────────────────────────┐
│ Name │ Zigbee Light Multifunction Group Mc │
│ Version │ 2022-01-12T15:40:02.023288 │
└─────────────┴──────────────────────────────────────┘
Thanks @veonua, the groups is your code
The last update to the driver made my 2 remotes stop working.
Sorry to hear this, have you rebooted your hub?
I have seen this myself in the dev process. Rebooting the hub sometimes works, other times you have to delete device and driver and start again. Hopefully it works again for you
Will try rebooting, but the driver was updated today and now does not register any input.
I think it’s possibly to do with the way the driver is hotswapped out when updated
After hub reboot it all started working again.
Driver was updated? Cause styrbar wasn’t working today, so I had to reboot the hub.
Anyway, I noticed something strange, as it wasn’t working I opened history and here is what pops out:
As this is 4 button remote, and I presume in creating driver, something from 5-button code was used in creating this driver, but that is not a problem. Problem is how does it register pressing and holding fifth button (“main”), if it doesn’t exist ?
The driver was updated, just a small improvement to the group capability and I added refresh capability to write some extra logs on refresh. I think when the profile changes this is what can cause a reboot to be required. (The profile changed because I added refresh capability)
The main button is a virtual button, it will press or held when any of the other buttons are pressed or held. It’s meant as a convenience, for automations. ( It was inherited from the driver this was based upon)
Aha ok, this makes sence now
Can you help me with this scene opitons? I’m rather new to this so please explain simply if possible
So how can I use scenes, how to adress them etc? I see in drivers settings that I can enter number, but what does this number reffer to, or if I enter there number for example 12, I presume it will “call” scene 12, but how to adress scene to be numbered like that, just fin name “12” or somewhere else?
Tnx
I’m not sure what you mean by ‘Scenes’ (There is a smartthings concept of scenes, an ikea concept of scenes - the setting you mention is to do with neither of those)
Can you explain exactly what you are trying to achieve?
Yes, sorry. I see now it reffers to groups, not scenes. SoI’m not trying to achieve anything special, only want to know capability that I have with this driver, because if I know what it can do, maybe I get a good idea to use it.
So in settings of this driver you have option to enter number. This number reffers to “group”, so if I create group of lights, I presume I have to create some sort of identification number of this group (if yes, how-where?) so that this function could be working. If I understood this correct, then if I set in driver setting group “12” then pressing/holding styrbar button would execute this for “group 12”, right?
It’s a good question, and re-reading the thread I realise it’s not really clear so I will try and spell out the 3 ways the driver can be used below
Option 1. Smartthings In control
Option 2. Group Bindings
Option 3. Best Of Both
I have made changes to see the groups added in history events and delete all group or single group.
I have published the changes in the beta channel driver
In the end I have made a custom capability, but it is not visible in the details view or in automations.
I use it to show the groups in the event history of the device.
Every time one or all of the groups are added or deleted an event is emitted which is seen in the Event History.
If you want to see in the history which groups have been added, write 0 in add group and save it.
The only thing that is a bit confusing is that if there is no change in the value, nothing is executed. This is because the infochanged runs every hour and could delete some group.
Thanks @Mariano_Colmenarejo
It sounds great - I’ll check it out.
Do you have plans to merge this into your main light bulb driver or are you going to keep groups separate?
When you add 0 to view all groups, is this based upon the history the driver knows about or is this reading the binding table out into history?
Thanks again for your support on this