Multiple Actions in Domotiga

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

OWK
Member
Member
Posts: 62
Joined: Sat Sep 24, 2011 11:03 am

Re: Multiple Actions in Domotiga

Post by OWK »

Ron

Switching manually from the command prompt takes a bout a second or 2 to take effect, I learned last thursday while testing multiple actions.

I will try your script en publish the result.

Regards Olaf
Domotiga
Cubietruck, Ubuntu server 1.0.2
RFXcom LAN, home brew ground plane antenna
KaKu
OWK
Member
Member
Posts: 62
Joined: Sat Sep 24, 2011 11:03 am

Re: Multiple Actions in Domotiga

Post by OWK »

Hi Ron

I typed the script (used gedit, couln't get my head around VI) and ran it.

A1 is switched off and back on again, same for C1 (the lights where on when I fired the script)

So to conclude: that worked like a charm. Each command took around 2 seconds, as with use of the a manual command prompt.

I don't want to add to your workload, so don't make the Q job a priority!

Thanks for the support

Regards
Olaf
Domotiga
Cubietruck, Ubuntu server 1.0.2
RFXcom LAN, home brew ground plane antenna
KaKu
User avatar
RDNZL
Forum Moderator
Forum Moderator
Posts: 1008
Joined: Sun Sep 24, 2006 1:45 pm
Location: Dordrecht, The Netherlands
Contact:

Re: Multiple Actions in Domotiga

Post by RDNZL »

I have implemented the queue, so you can download the new code and try it.
It's just a few lines of code.
You can also just copy over X10Cmd.module and recompile if you want.
Regards, Ron.
OWK
Member
Member
Posts: 62
Joined: Sat Sep 24, 2011 11:03 am

Re: Multiple Actions in Domotiga

Post by OWK »

Thanks Ron, that is very quick. I will test it.

Have to solve a problem with accessing the CM15a first. After an Ubuntu update it fails, even from the command prompt.

Regards

Olaf
Domotiga
Cubietruck, Ubuntu server 1.0.2
RFXcom LAN, home brew ground plane antenna
KaKu
OWK
Member
Member
Posts: 62
Joined: Sat Sep 24, 2011 11:03 am

Re: Multiple Actions in Domotiga

Post by OWK »

Hi Ron,

Great job, I can now switch 2 devices with one event sequentially. Thanks for your support on this old X10 stuff
I'm preparing to introduce KaKu to phase out X10 later, but that will take some time...

Regards
Olaf
Domotiga
Cubietruck, Ubuntu server 1.0.2
RFXcom LAN, home brew ground plane antenna
KaKu
Post Reply

Return to “DomotiGa Forum”