This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Multiple object / group address creation
#1
Hello @all,

I need to create ~100 virtuell objects (10 per room and 10 rooms) and I don‘t want to do that manually.

Is there a way to import an Excel or something else that is creating an object/group address with the following attributes?
- Name
- group address 
- Unit
- data type
- Tag 

Many thanks for your help!

Best Regards 
Steffen
Reply
#2
You can use grp.create from a script: https://openrb.com/docs/lua.htm#grp.create
If you have rooms with the same object layout you can also use a for loop to create objects. Similar to this: https://forum.logicmachine.net/showthrea...87#pid4087
Reply
#3
Many thanks admin. Is there a option just to create virtual objects? I haven’t found it in the documentation.
Reply
#4
(17.08.2022, 17:44)pioneersteffen Wrote: Many thanks admin. Is there a option just to create virtual objects? I haven’t found it in the documentation.

You can create virtual object with the same script.
but KNX object are from 0/0/0 til 31/7/255
virtual object are from 32/0/0 til 63/7/255
Reply
#5
You can also set virtual = true in the grp.create config table without specifying the address directly. This way the next free virtual group address will be used.
Reply


Forum Jump: