Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse SmartHome » REST api for Group:Switch configuration in eclipse smarthome(I want to configure Group Switch properties using rest api. )
REST api for Group:Switch configuration in eclipse smarthome [message #1730732] Thu, 28 April 2016 06:54 Go to next message
Gaurav Datir is currently offline Gaurav DatirFriend
Messages: 1
Registered: February 2016
Junior Member
I can add group switch using following item file. Group Switch properties like "function" , "State" , "Type" could be assigned through item file.


**Item file**
-----------------------------------------------------------------------------------------------------------------------------
Group:Switch:OR(ON,OFF) zigbeeGroup [ "legrandzigbee" ]

Switch Sw1 "s1 sw" (zigbeeGroup) { channel="legrandzigbee:switch:006B7C5A1:state" }
Switch Sw2 "s2 sw" (zigbeeGroup) { channel="legrandzigbee:switch:006B7C5A2:state" }
Switch Sw3 "s3 sw" (zigbeeGroup) { channel="legrandzigbee:switch:006B7C5A3:state" }

-------------------------------------------------------------------------------------------------------------------------------


I want to know is there any REST api to create the Group switch like above one.
Re: REST api for Group:Switch configuration in eclipse smarthome [message #1730767 is a reply to message #1730732] Thu, 28 April 2016 11:40 Go to previous messageGo to next message
Simon Kaufmann is currently offline Simon KaufmannFriend
Messages: 51
Registered: January 2011
Member
From looking at the ItemResource, I would say this simply is not implemented yet.
Re: REST api for Group:Switch configuration in eclipse smarthome [message #1730769 is a reply to message #1730767] Thu, 28 April 2016 11:46 Go to previous message
Kai Kreuzer is currently offline Kai KreuzerFriend
Messages: 657
Registered: December 2011
Senior Member
So it might be an idea to add an issue for it at https://github.com/eclipse/smarthome/issues.
Previous Topic:PersistenceService
Next Topic:Migration of o.e.s.m.rule.runtime to o.e.s.automation.*
Goto Forum:
  


Current Time: Wed Sep 19 11:04:27 GMT 2018

Powered by FUDForum. Page generated in 0.01953 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top