JeeNodes

Description

Issues around HAHNode and JeeNodes

Forums

Reading over on the WH1080 Weather node thread got me thinking that it may be possible to receive and decode CurrentCost info and do away with the CurrentCost LCD which IMO is simply gathering dust via a jeenode with a 433mhz RFM12B module

The CC Transmitters operate on 433mhz FSK using RFM02 (similar to the RFM12B but Transmit only) and transmit at 6hz intervals depending on the number of sensors attached

I have been informed CC have not disclosed the format so it would need to be reversed engineered

the other solution is to directly interface the CC clamps / Optismart sensors to a modified jeenode and do away with the CC transmitter / receiver

interesting to see if anyone has looked into this?

thanks

Andrew

Forums

Was wondering how to house my nodes cheaply (HAhCentral and IRTxnode)

if your like me, you will have tons of old laptop style chargers lying around "that may come in handy one day!"

I took the guts out of one and found it makes a great enclosure (for free anyhow)

pics not great ( neither is the soldering) but you get the idea. 

 

Garry

Forums

Hi All,

Following the Livebox wiki regarding the config of the Base / Room nodes but running into some issues..

these were both sold via the shop so should come with the RFDemo pre flashed

after i enter "# microcom -s 57600 /dev/ttyUSB0"

i get [RF12demo.7] A i1 g212 @ 433 MHz

sometimes it will hang after that, occasionally it may show the below

any text entry after that seems to do weird things after

What am i doing wrong?

thanks

Current configuration:
 @ i0 g0 @ 433 MHz
> 0d
> 0i
 @ i0 g0 @ 433 MHz
config save failed
> 0o

***********************************************

# microcom -s 57600 /dev/ttyUSB0

[RF12demo.7] A i1 g212 @ 433 MHz

Available commands:
  <nn> i     - set node ID (standard node ids are 1..26)
               (or enter an uppercase 'A'..'Z' to set id)
  <n> b      - set MHz band (4 = 433, 8 = 868, 9 = 915)
  <nnn> g    - set network group (RFM12 only allows 212, 0 = any)
  <n> c      - set collect mode (advanced, normally 0)
  t          - broadcast max-size test packet, with ack
  ...,<nn> a - send data packet to node <nn>, with ack
  ...,<nn> s - send data packet to node <nn>, no ack
  <n> l      - turn activity LED on PB1 on or off
  <n> q      - set quiet mode (1 = don't report bad packets)
Remote control commands:
  <hchi>,<hclo>,<addr>,<cmd> f     - FS20 command (868 MHz)
  <addr>,<dev>,<on> k              - KAKU command (433 MHz)
Current configuration:
 A i1 g212 @ 433 MHz
Current configuration:
 @ i0 g0 @ 433 MHz
> 0d
> 0i
 @ i0 g0 @ 433 MHz
config save failed
> 0o

Forums

I got me one of these to play with (Nanode Gateway) - its basically a JeeNode/Arduino with an ethernet port.

http://shop.nanode.eu/shop/nanodes/nanode-gateway/

As proof of concept I turned this into a xap-serial gateway.  What this does is it accept an RF packet and dump the same format xap message onto the ethernet as the xap-serial program would do.  This one embedded device can  replace the base jeenode + xap-serial running on the livebox.  Which is kind of neat.

Rough code for your amusment attached:  This depends on EtherCard and JeeLib from jeelabs.  The xAP class libraries that I wrote are slighly modified from those in the SVN repo - once I finish hacking and I'm happy with these I'll check this and all my bit in.

I think what I might try next is to also have a web server front end and allow you to assign a node type (aka RoomNode) to this RF packet and it have it decode and put those on the wire too as a native xap packets.  This would allow it to assume the job of the plugboard jeenode decoder.

Brett

 

Forums

All,

After playing with Brett's excellent examples and a few? hours on google I have managed to get an IR transmitter node up and running and thought I'd share it. It works great with my home cinema/audio kit with a nice MOTE gui forIPAD control :)

(would be just as good on joggler too i'm sure but I ain't got one...yet! )

In summary there is an IRTxNode.pde sketch that can send IR commands for the following protocols:

NEC, Sony, JVC, RC5, RC6.

I have included one wire just for the hell of it (attached to pin4 same as roomnodes) - but it can be ommited by not including the endpoint in the jeenodeApplet.

In order to use this, put the irtxnode.lua decoder in your plugboard directory and modify your Jeenode applet to include the following:

IRTxNode = require("irtxnode").IRTxNode

and

   [2] = IRTxNode{base="dbzoo.livebox.jeenode:lounge", endpoints={IRTxdata=1,temp=1}, ttl=360},

(where [2] is your jeenode ID)

Flash a jeenode with the sketch (after first configuring its ID etc)

Attach an IR LED to any one of the I pins on any of the ports.

Once done, a message like so will send a control command to the jeenode sketch:

xap-header
{
v=12
hop=1
uid=FF000F00
class=xAPBSC.cmd
source=dbzoo.livebox.demo
target=dbzoo.livebox.jeenode:lounge.IRTxdata
}
output.state.1
{
id=*
state=on
text=N482c00ff
}

The code (sent within the text key) should be up made as follows:

the first digit is the protocol, J=JVC, N=NEC, R=RC6, r=RC5, S=Sony.

then there needs to be eight characters for the HEX IR command. For example, J0000c5e8 sends a JVC power on/off code. The example above is an NEC code for power on/off of my digibox.

I think that's it for instructions.

Version two will attempt to integrate Brett's IRnode to allow transmit and receive from the same jeenode.

I'll post info if and when I get that working.

Having a rest for now, this took me way longer than I thought it would but its all learning ain't it.

Hope its useful for someone.

Garry

Forums

Hi,

I want to do some operations on my house-control-systems like Heating, Ventilation, Sauna, etc. with jeenode via the jeelab RELAY-PLUGs (http://jeelabs.net/projects/hardware/wiki/Relay_Plug).

I think it should be no problem (not tested by now) to switch one of the 2 RELAYS on the plug with the xap OutputNode - Module in the given lua-script as described in the wiki, which is controlled by the digital port.

 

My question is: How can I address the second RELAY on the PLUG, which is hanging on the same jeenode-Port, but is controlled by the analog port?

 

Can I edit/update the OutputNode-Module to manage that, and how is this done?

Thanks for your suggestions!

Markus from Austria

UPDATE:

In the Attachment you can see my suggestion for the OutputNode2 Code (generated from the original OutputNode Code).

I simply doubled the number of variables in the jeenode-lua-module to control the digital as well as the analog part of each jeenode port, where the variables 1-4 in the module are corresponding to the digital (as in the original OutputNode) and the new values 5-8 to the analog parts of the physical port. In other words: variable 1 sets port 1 digital, variable 2 sets port 2 digital, ..., variable 5 sets port 1 analog, variable 6 sets port 2 analog, ... 

Can anyone put this into the HAH-firmware or tell me how to manage that?

Thanks, Markus!

Forums

Hi All,rol

Im sure this is entirely possible but just wanted to check

we have our first little one on the way and i wanted to monitor the babies bedroom temp with a room node, i thought it would be a nice additional to include a remote LCD into the node to monitor the temp locally plus if possible any other xAP data reported into the HAH, is this possible to hook up an LCD to the Node or is extra hardware required?

i realise this can be done with Jogglers but i didnt want a joggler in every room due to expense and no need for HAH control as such

Thanks

Andy

Forums

Hi all,

I'm after some help if you can. I am trying to ultimately produce a IRtransmitter node for the HAH and have got so far and am now hitting my head against a brick wall.

Using the Kenn Sherrif arduino library I have managed to get the HAH to send serial data to an arduino and control allmy home cinema kit fairly easily but now I'm trying to make the jump to jeenodes so that it becomes usable in the real world.

I think I am happy with the jeenodeApplet modification and have created an irtxnode.lua to handle the data (thanks to the boiler node examples), but this is where I come unstuck.

I need to somehow send both a protocol iodentifyer and an eight digit hex code via the jeenode so that my sketchcan decode and send the IR signal.

I think therefore I need to send an eight bit code representing the protocol and a 32bit code representing the IR code. If i am correct these need to be comma delimited.

Now then, do I need to convert my hex code (482C9867) for example to decimal in lua prior to sending or can I use the /x protocol for xap.serial or none of these? 

I am afraid I might be getting in too deep here, all similar examples I can find on the net are undecipherable to me? any advice on ways forward would be much appreciated.

If it ever works I will of course post the code up.

 

Cheers,

Garry.

Forums
Out of the blue my JeeNode which is in my airing cupboard has stopped sending out real values when I view the messages using XFX Viewer all 3 outputs (light, temp & lowbat) all show '?' for the state and text e.g.

xap-header
{
v=12
hop=1
uid=FF00D802
class=xAPBSC.info
source=dbzoo.livebox.jeenode:immersion.temp
}
input.state
{
state=?
text=?
}


Anyone know what is wrong/how I fix?