[dss-developer] groups over zones, function id?

Dominik Wieser wieserdominik at gmail.com
Wed Mar 10 20:54:42 CET 2010


hi, thanks a lot for your answer too!!

2010/3/5 Patrick Staehlin <pstaehlin at futurelab.ch>

> Hi!
>
> On Sunday 28 February 2010 21.57:56 Dominik Wieser wrote:
> >
> > I would think groups that can hold devices of different zones also
> > could be very useful. So you could make a group containing all
> > jalousies of the southside of the house for example. Is there such a
> > possiblity? I thought about doing this with the property system. But
> > the variables i created are always gone, as soon as the server gets
> > restarted. How can I save the properties.
>
> Basically what you could use sets for that. I've updated the
> documentation[1]
> on sets to make more sense (thats partly the reason for my late reply). I
> would add tags to those devices[2] you would like to group and then use a
> set
> to control those devices using the "tag" set function.
>

I couldn't find the function where i can create a set out of the tags. Or
did I understand this wrong.
will you also add tags to soap?


> > What is exactly is the function id? How can I get this id over the
> > api? And how can I know which device it is, with the help of the
> > function id? is there a kind of table?
>
> The function id is returned in the Web-API call apartment/getStructure.
> There
> is no public table that I could give to you but I'll ask around if we can
> publish one.
>
> also a possibility for the soap interface?


> > I also don't really understand the concept of the user groups.
>
> There are 63 group-bits that can be set on a device. The first 10 bits are
> reserved for default groups but the others are freely settable. How you use
> those groups is basically up to you. A Christoph gave you a more in-depth
> explanation in his email.
> I'd encourage the use of sets though to let the dSS handle the grouping.
>
> ok, i understood this now. thanks a lot


> [1] https://developer.digitalstrom.org/redmine/wiki/dss/Set_syntax
> [2] http://gitorious.digitalstrom.org/dss/dss-mainline/merge_requests/45
>
> kind regards

Dominik Wieser


> Patrick
> --
> Patrick Stählin         Hardware Wrangler
> futureLAB AG            tel: +41 (0)52 260 22 22
> Schwalmenackerstr. 4    fax: +41 (0)52 260 22 23
> CH-8400 Winterthur      mission: delivering tomorrow's applications today
> _______________________________________________
> dss-developer mailing list
> dss-developer at forum.digitalstrom.org
> http://forum.digitalstrom.org/cgi-bin/mailman/listinfo/dss-developer
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://forum.digitalstrom.org/pipermail/dss-developer/attachments/20100310/b483b118/attachment.htm>


More information about the dss-developer mailing list