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.

Simple event-based script
#2
Hi,

I assume your scenes are stored in your KNX actuators so try this:

Code:
grp.write('1/1/1', 0) -- call scene 1
os.sleep(3) -- wait a few seconds
grp.write('1/1/1', 2) -- call scene 3

Rookie info (: -> Make sure the byte object (in this sample '1/1/1') that is used for your scenes is created in the controller, otherwise this script won't send it to the bus.

BR,

Erwin
Reply


Messages In This Thread
Simple event-based script - by Superjohn - 07.02.2017, 19:13
RE: Simple event-based script - by Erwin van der Zwart - 07.02.2017, 21:20
RE: Simple event-based script - by Superjohn - 08.02.2017, 06:03
RE: Simple event-based script - by Superjohn - 13.02.2017, 20:32
RE: Simple event-based script - by Superjohn - 24.02.2017, 19:44
RE: Simple event-based script - by mlaudren - 24.02.2017, 21:30
RE: Simple event-based script - by Superjohn - 20.01.2018, 07:36

Forum Jump: