How to start? Looking for a Howto!

Forum about Domotiga Open Source Home Automation for Linux.

Moderator: RDNZL

mrqnapper
Member
Member
Posts: 234
Joined: Sat Jun 25, 2011 1:08 pm

Re: How to start? Looking for a Howto!

Post by mrqnapper »

Still did not manage to get the HE EU devices working with Domotiga and RFXLAn. Any solutions? Thanks!
insomniux
Starting Member
Starting Member
Posts: 23
Joined: Fri Mar 11, 2011 3:34 pm

Re: How to start? Looking for a Howto!

Post by insomniux »

For your info.
I just tried a newly purchased HE motion sensor (HE851). It identifies as:

2011/08/09 23:06:00 20906F18E72011/08/09 23:06:00 [Devices] Device 'X10' with address 'C04' and interface '' not found! C4-On bits=32

So I created a device with the X10 identification (C04), which is .... KaKu Chime (!). It works' out of the box'. Maybe you could try the Kaku Chime device (which, in fact, is a transmitter, like the PIR device) and give it A9 as code (wasn't that the code of your transmitter?)? It should be intercepted by the RFXCom receiver. After capture of the signal you should, of course, define an Event to make sure it actually DOES something, like writing a line to the log, or switch on any of the other receiver-devices, which you have to define as Actions.... ;-)
Server: Intel® D945GSEJT dual Atom
Linux: Ubuntu Server 10.04
RFXCom receiver/xmitter
Domotiga 0.1.197
mrqnapper
Member
Member
Posts: 234
Joined: Sat Jun 25, 2011 1:08 pm

Re: How to start? Looking for a Howto!

Post by mrqnapper »

Hi for me its still comparing Apples to Pears. Would be nice if someone who has the HE devices actually working can share his approach with me/ us. I tried to figure out the sample from Insomniux, I have a HE303 EU PIR (is that the same as the mentioned HE851?), so I can see that its transmitting on and off, the code is in the debug / log which is:

Code: Select all

2011/08/10 18:18:23 2200D4779900 HE Device=0351DE Unit=102011/08/10 18:18:23 [Devices] Interface with name 'RFXCom Receiver' has id '1'
2011/08/10 18:18:23 [Devices] Device 'HE/KAKU' with address '0351DE10' and interface 'RFXCom Receiver' not found!
 ON bits=34
Always willing to try, I tried both with D10 and E10 to capture something? But in the devices log nothing turns up and also not in the debug log. So I might be wrong but I do not think something is captured with these codes now?

Now for me the first important thing would be, just have a simple HE EU klick and off device working.

The codes produced by these HE EU devices are all like this and the one above:

Code: Select all

2011/08/10 18:22:39 2200E6A49800 HE Device=039A92 Unit=92011/08/10 18:22:39 [Devices] Interface with name 'RFXCom Receiver' has id '1'
2011/08/10 18:22:39 [Devices] Device 'HE/KAKU' with address '039A929' and interface 'RFXCom Receiver' not found!
 ON bits=34

Code: Select all

2011/08/10 17:52:22 22015E6E9000 HE Device=0579BA Unit=12011/08/10 17:52:22 [Devices] Interface with name 'RFXCom Receiver' has id '1'
2011/08/10 17:52:22 [Devices] Device 'HE/KAKU' with address '0579BA1' and interface 'RFXCom Receiver' not found!
 ON bits=34
2011/08/10 17:52:27 22015E6E8000 HE Device=0579BA Unit=12011/08/10 17:52:27 [Devices] Interface with name 'RFXCom Receiver' has id '1'
2011/08/10 17:52:27 [Devices] Device 'HE/KAKU' with address '0579BA1' and interface 'RFXCom Receiver' not found!
 OFF bits=34
mrqnapper
Member
Member
Posts: 234
Joined: Sat Jun 25, 2011 1:08 pm

Re: How to start? Looking for a Howto!

Post by mrqnapper »

Strange things happens, today I tried again creating a new test device with an HE EU dimmer unit and succeeded! What did I do, I created an device

Code: Select all

Device name: test device 
Device: KAKU AC-300
Type: Dimmer Module   AC
Interface: RFXCom transmitter

Identification X10 Addr. B3
Options: device can be dimmed
Than press the learn button on the device and through Domotiga control switch the test device on. And voila its working :)
Also tried an other device with the same method and its working also.

Still it would be more convenient if one could connect to a device with out using the learn button? In case of the HE203Eu mini dimmer which is build in a wall switch! Any idea how to do that? Or is this something for new programming?
mrqnapper
Member
Member
Posts: 234
Joined: Sat Jun 25, 2011 1:08 pm

Re: How to start? Looking for a Howto!

Post by mrqnapper »

Since I think it could be helpful for other starters with Domotiga I will extend this topic with further questions / problems I come up with.


Now that I found out how to control the devices, I went on to the next level setting some events. First one I tried was using an PIR HE303 (Home Easy), first I created an device for this. Which was straight forward. Than I created two events - one for switching light on when movement is detected and one for switching the device of when no movement is detected after a few minutes. No problems so far. Its working as expected. Since I found it better having the event only running when it is dark outside I thought adding an condition to the event, which is AND "it's Dark outside". Seems pretty forward to me. But no way, this condition is messing up the working of the event. What happens is that the switching on and off is no longer working as it should. The light will stay on. So the second event, which will switch off the light when no movement is detected never happens.
So how to solve this? Might be the problem that the Condition "It's dark outside" is the problem here. Leaving that out made it work again (now it switches on and off all day and night) :) Which is not what I want. So how to approach this?

So the next thing I wanted to try is using an KIKA ABST-604 Day/Nigt light sensor. Again I created a device for this. Which stores the On or Off in the database. Next I created the events for switching on or off some outdoor lights when the Sensor is detecting its getting dark outside. So the sensor is working fine, the on and off is showing in the Log. But the event is never happening. Running the event from within the event itself (Run Now) is working like it should (Actions Executed) and i can see the lights outside are on or off.
But the event itself is not triggered by the state of the device (the on or off).

The event look like this:

Code: Select all

Device Status:
name: outdoor lights on when sensor is (on)
trigger IF: Schemer Sensor Waarde (now) off 
= on

than an Action which will set the value of the light(device) to on.


To me is seems like it should be done like this, right?

After the install and first tests with Domotoga I found out how to change the language settings and I changed it into to Dutch. Now I have a slight feeling that that might be the source off some off these problems? Since the device has as value: Waarde1 and the Trigger part is mentioning Waarde (without the 1) so I am Afraid it is never detecting Waarde1?
Is this something I can change myself or is it a "bug" in the program?
mrqnapper
Member
Member
Posts: 234
Joined: Sat Jun 25, 2011 1:08 pm

Re: How to start? Looking for a Howto!

Post by mrqnapper »

Hi I still Am looking to get this working.

Since there are not so many examples on the forum on how to set events, triggers, conditions etc. It's not very easy to figure out what the problem is for my example.
So please if you have a sample for such a event, or can give some good input on this subject do so! I would be very pleased with it, and I can imagine some other starters will do as well. I saw at the domotiga.nl website there is a beginning of an user manual, but for now that's not much.

So please post your experiences and samples for all of us to learn. Thanks in advance.
mrqnapper
Member
Member
Posts: 234
Joined: Sat Jun 25, 2011 1:08 pm

Re: How to start? Looking for a Howto!

Post by mrqnapper »

I managed to get the event with the twilight sensor working now. The main problem was that I mixed up the on and off value compared tot the ones given from the device. Also to be sure, I included an action of the type "delay" (wait 10 seconds) before the next action starts, which is the changing the device value to on. That seems to work. Now the light will go on or off is the status of the twilight sensor changes.

Now I am still trying to involve the condition "And its dark" in an event before starting the action on movement detection.
mrqnapper
Member
Member
Posts: 234
Joined: Sat Jun 25, 2011 1:08 pm

Re: How to start? Looking for a Howto!

Post by mrqnapper »

Thanks to Ron (www.domotiga.nl) I now managed to get the condition Var_Dark=true working, he also gave some more examples in the Wiki for using conditions with some other settings like Sunrise, SunriseTwilight, etc.
So now my movement sensor will only trigger an event, with an desired action like "light on" when the condition Var_Dark=true is true and its realy dark outside :)
mrqnapper
Member
Member
Posts: 234
Joined: Sat Jun 25, 2011 1:08 pm

Re: How to start? Looking for a Howto!

Post by mrqnapper »

So the next thing I ran into is the problem of having a (HE200) remote control, which can be used to switch on lights manually, but also will this device run a simulation program switching lights on and of randomly. This results in the behaviour, that when a certain device is switched on or off by the remote, this is not updated/ visible in the Domotiga database. Which can disturb the working of events (scheduled). And per example leave lights on for a longer period than desired.

To overcome that, I made an device called remote, which receives the on and off from the device button. This is stored in the database. Then I thought having an event, which will be triggered by this remote 1 device on or off value, followed by an action, which will change the device value (light on) to on or off. But somehow that's not working?
So how to deal with this?
remote --> on ---> domotoga value = on ----> waarde1 from the device (in Domotiga) = on
remote ---> off ---> domotoga value= off ----> waarde1 from the device turns to =off

Or is there a better way to deal with this? Thanks


2. How to use Var_weekday= for more than one day?
so I want to have the light(s) and coffee machine to switch on at sunrise, but only on Monday, Tuesday, Wednesday, and Friday. In the weekend the light will be switched on manually (or by the Var_Weekend=true ?)


3.
I'm still searching for a sample off how to have(create) a script which can be run(chosen) for use for a special occasion, like (holidays, a day off from work, or leaving the house for a night)?
I saw in Domotiga, there is something available like "house mode" and "mute" but it's not clear to me how to use that. So I' am still looking for an good example of a script which will be useful for daily use.
mrqnapper
Member
Member
Posts: 234
Joined: Sat Jun 25, 2011 1:08 pm

Re: How to start? Looking for a Howto!

Post by mrqnapper »

Seems like I am the only user of Domotiga? Struggling to get it working somehow? So I still have some of the above not working.

1 its not working this way? Why not looks very straightforward to me.
Edit: heb dit nu werkend zoals bedacht. Belangrijk is dat alle On and Off termen hetzelfde zijn in de "device", "trigger", "action", "etc." :)

2. ? how to use this, how to get this in an event which will work

3. Still looking for support / input on this one.

Thanks

Wiechert.
Post Reply

Return to “DomotiGa Forum”