How to set the group of a thing from the binding [message #1716068] |
Mon, 30 November 2015 23:29 |
Marcel Verpaalen Messages: 59 Registered: September 2014 |
Member |
|
|
I have a binding that is location aware, meaning that the bridge device is configured with the location of the connected things. (practical: thermostats that are configured with the info in which room they are located)
I would like to give the option to the user to (as otion in the bridge configuration) to assign each of these things to a group that represents this room.
I'm struggling to find the right entry point to do this.
I expect 2 steps: first identify if the group is already defined, if not create it.
step 2 assign the thing to the group.
Any hints (should this be done with tags instead? if yes, same question, what's the right entry point to create them and to connect them to things)
[Updated on: Mon, 30 November 2015 23:30] Report message to a moderator
|
|
|
|
|
Re: How to set the group of a thing from the binding [message #1716567 is a reply to message #1716363] |
Fri, 04 December 2015 21:39 |
Marcel Verpaalen Messages: 59 Registered: September 2014 |
Member |
|
|
Okay, got your point of can't assign things to groups. Instead than I would like to assign all the items to the relevant item groups
However, as the devices are already aware of their location, as a user I definitely would like the optional convenience that the thermostats items are linked instead of needing to do that manually.
Quote:But imagine you have 5 different bindings in your solution, all having their own internal management of "rooms". Which system should be in the lead? How are they synched? How to deal with conflicts?
The MAX! system has location awareness feature, whether we like it or not. There is no possibility in the eq3 system to configure the system without that. What would be the benefit of not using the info.
I think indeed ESHs leading wrt to the groups,there is no need for syncing.
If the items groups are not there, we create them, but if they are existing, don't do anything. Likewise, whatever groups the items are already linked to they would remain, but if the user choose in the setting to assign them as well to the item groups this would be done.
|
|
|
Powered by
FUDForum. Page generated in 0.02762 seconds