Page 1 of 1
Arduino Homeseer sketch
Posted: Sun Nov 28, 2010 10:52 pm
by esschenk
Hello,
When i try to upload the Jeenode sketch i get the following error
c:\arduino-0021\libraries\rf12\rf12sio.cpp:5:19: error: ports.h: no such file or directory
in file included from c:\arduino-0021\libraries\rf12\rf12sio.cpp:7;
c:\arduino-0021\libraries\rf12\rf12sio.h:8: error:'millitimer'does not name a type
I have placed a rf12 lib in the correct directory
Any ideas
Ed
Re: Arduino Homeseer sketch
Posted: Sun Nov 28, 2010 11:35 pm
by Mdamen
You are missing the ports library..
Download it here and also place it in the libraries directory of Arduino...
http://cafe.jeelabs.net/sw/library_-_ports/#index4h1
Re: Arduino Homeseer sketch
Posted: Sun Nov 28, 2010 11:43 pm
by Digit
You can also find it in your copy of the USB stick that was available during the workshop;
\Domotica Workshop\Software\Libs en sketches\Ports.zip
Re: Arduino Homeseer sketch
Posted: Mon Nov 29, 2010 9:29 am
by esschenk
Thanks
i will try that tonight
Ed
Re: Arduino Homeseer sketch
Posted: Tue Nov 30, 2010 9:26 am
by esschenk
Hello,
Thanks guys it works
ed
Re: Arduino Homeseer sketch
Posted: Wed Dec 01, 2010 12:33 am
by esschenk
Hello,
Yes great my arduino works with Homeseer
I have 2 questions
One:
what is doing the led2 I can switch him on and off
With the control button : with on the led is going off and with off the led is going on.
Two
But when the Pir is seeing movement I see the led status within homeseer changing
But the led is staging in it’s on or off status
Is this normal
Thanks
Ed
Re: Arduino Homeseer sketch
Posted: Wed Dec 01, 2010 1:03 am
by Digit
Before I can answer your questions, what sketch did you use?
The fact that you have a LED2 device, makes me think you used the JeeNode.pde from the JeeNode for Homeseer zip file, am i right?
Re: Arduino Homeseer sketch
Posted: Wed Dec 01, 2010 9:10 am
by esschenk
Hello Digit,
Yes thats right i use the sketch from the workshop
Ed
Re: Arduino Homeseer sketch
Posted: Wed Dec 01, 2010 10:05 am
by Digit
That's not the right one; check the handout, all the files that need to be used are described there including the exact path.
Taking this offline now to speed up things a bit more, we'll report the results when all questions are resolved.
Re: Arduino Homeseer sketch
Posted: Thu Dec 02, 2010 12:27 am
by Digit
AFAIK, esschenk is the first who has Homeseer integration working!
After uploading the right sketch, everything works as it should.
FYI: do not use anything from the JeeNode for Homeseer zip file; this was only added for reference.
Use the files from the \Domotica Workshop\Software\HomeSeer\Workshop\ directory.
These files contain some modifications which make life easier, like storing some configuration values in a INI file and some other issues.
This weekend I'll post additional information about the scripts and sketches from the HomeSeer integration part of the workshop.
With this information you should be able to change how it all works (if you haven't already done that

)
Re: Arduino Homeseer sketch
Posted: Sun Dec 05, 2010 10:05 pm
by esschenk
Hello,
Is it possible to display the temp from the Jeenode like 20,4
Instead off 204
Or must I do this with a virtual device within Homeseer.
Ed
Re: Arduino Homeseer sketch
Posted: Sun Dec 05, 2010 10:18 pm
by Digit
Ed,
You could do it in the script jeeNode.txt, above line 239.
There you could do some "post processing" on the values before they are submitted to HomeSeer.
For example, you could do this based on the Device name, as in divide the value by 10 when the Device name = "Temp".
Another option is the one you suggested: a virtual device.
Re: Arduino Homeseer sketch
Posted: Wed Jun 22, 2011 9:07 pm
by esschenk
Hello,
I do not want all device’s to be created by the sketch.
I like only 2, say light and temp
I have been looking what to do, but i can’t find not the right rules
Is there anybody know how to do this
Thanks in advanced
Ed
Re: Arduino Homeseer sketch
Posted: Wed Jun 22, 2011 11:06 pm
by Digit
You'll have to change it in the sketch; comment out those lines that define the devices you don't want/need.
I think you'll also have to adjust some other things related to the resulting number of devices in the modified sketch.
It has been a while, I haven't looked at the sketch right now, so if I forget something please forgive me

If you don't succeed, PM me the sketch and I'll have a look.