Arduino Homeseer sketch
Moderator: Mdamen
Arduino Homeseer sketch
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
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
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
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
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
\Domotica Workshop\Software\Libs en sketches\Ports.zip
Re: Arduino Homeseer sketch
Thanks
i will try that tonight
Ed
i will try that tonight
Ed
Re: Arduino Homeseer sketch
Hello,
Thanks guys it works
ed
Thanks guys it works
ed
Re: Arduino Homeseer sketch
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
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
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?
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
Hello Digit,
Yes thats right i use the sketch from the workshop
Ed
Yes thats right i use the sketch from the workshop
Ed
Re: Arduino Homeseer sketch
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.
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
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 )
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
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
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
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.
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
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
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
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.
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.