Hi,
I have now running 3 Roomboards (JeeNode with Roomboard on top) for measering Light, Temp, Motion and Humidity.
The boards are sending the data every 2 minutes to the Jeelabs Webserver (Ether Card, Carrierboard with Jeenode).
I can poll the webserver via TCP-IP and read the data of all the sensors at once.
The sensors are sending the data to the webserver, and the Webserver is showing me the last 10 received transmissions.
Now the Webserver gives me back a HTML page but I want to change that to XML.
The Roomboards are running on the latest Roomnode Sketch (with improved battery life (thanks JC), lets see how long )
projects.jeelabs.net/projects/cafe/repo ... omNode.pde
The Jeelabs Webserver is running on Sketch:
code.jeelabs.org/libraries/EtherCard/ex ... erNode.pde
Translated data comming from the Jeelabs webserver
Roomboard data displayed in Bwired Home control system
The Webserver is a Jeelabs Ethercard, Carrierboard and a Jeenode.
Roomboard for sending Temp, Humidity, Light and Motion to the webserver
Jeenode Roomboards with Webserver
Moderator: Mdamen
Jeenode Roomboards with Webserver
http://www.bwired.nl Online Home, Domotica, Home Automation. Weblog. http://blog.bwired.nl
- JohnieBraaf
- Starting Member
- Posts: 32
- Joined: Sat Sep 18, 2010 3:21 am
- Location: Amsterdam
- Contact:
Re: Jeenode Roomboards with Webserver
Can I ask why you chose the JeeNode webserver, instead of a JeeLink plugged in directly to the main server?
Re: Jeenode Roomboards with Webserver
Simply, i hate usb and the software drivers for it.
Also usb devices on the server are not optimal, i have allmost all my devices on IP and talking directly IP as well.
Furthermore I can place the webserver where I want and have multiple connections to the device.
Also usb devices on the server are not optimal, i have allmost all my devices on IP and talking directly IP as well.
Furthermore I can place the webserver where I want and have multiple connections to the device.
- JohnieBraaf
- Starting Member
- Posts: 32
- Joined: Sat Sep 18, 2010 3:21 am
- Location: Amsterdam
- Contact:
Re: Jeenode Roomboards with Webserver
I can imagine some of the aversion against usb, as I recently had a heavy struggle simply installing the PLCBUS interface on a COM port The FTDI drivers installad flawlesly btw.
IP communication does allow for more strategically placed receiver nodes around the house for sure.
Anyway, taking a short look at your code, could it be a solution to implement a second okHeader type, with an XML metatype instead of HTML, or omit the HTML header if its not needed...
IP communication does allow for more strategically placed receiver nodes around the house for sure.
Anyway, taking a short look at your code, could it be a solution to implement a second okHeader type, with an XML metatype instead of HTML, or omit the HTML header if its not needed...
Re: Jeenode Roomboards with Webserver
If you have a example for me that would be great!
I still need to dive in on this and figur it out
I still need to dive in on this and figur it out
Re: Jeenode Roomboards with Webserver
pieter,
the software or sketches that you use, are that the standard sketches from the jeenode website or did you change them?
do you need a special version of the sketch for the jeenode because that jeenode must work as master for the other jeenodes?
the software or sketches that you use, are that the standard sketches from the jeenode website or did you change them?
do you need a special version of the sketch for the jeenode because that jeenode must work as master for the other jeenodes?
Re: Jeenode Roomboards with Webserver
I used the standard sketch which is in my above posting. Just change your IP number in there and you should be set to go.
static byte myip[4] = { 192,168,178,203 };
static byte myip[4] = { 192,168,178,203 };