Problem:
Inputs but no updates – emonTH standard? Setup
Setup:
I have a new RFM12Pi v2 and an emonTH purchased from the shop. See pictures attached.
Using the Raspberry Pi Ready to go image from: https://github.com/emoncms/docs/blob/master/raspberrypiimage.md
Wireless distance between at one metres
Running on 433MHz
Using Tesco Extra Long Life Akaline AA 1.5v batterys – swapped for new numerous times
sending data to emonscms.org
LED solid at emonTH power on then blips 18 (I think – difficult to count) times but then nothing. I though there was a 60sec heartbeat?
Inputs come through at power on of emoTH
I`ve followed: http://openenergymonitor.org/emon/modules/emonTH
No values aprt from node19:1 (temperature) at beginning.
No regular updates from any inputs
I ran minicom and rebooted (battery out then in) emonTH
pi@raspberrypi ~ $ sudo service rfm12piphp stop
Log is turned off
Stopping RPI: stopped
pi@raspberrypi ~ $ minicom -b9600 -D/dev/ttyAMA0
See output below.
Solution?
Is the EmonTH faulty or have I set it up wrong?
Thanks
Aidan Venn
Log file after EmonTH reboot:
MESSAGE RX:> 15i
BASEID SET CORRECTLY
DATA RX:^A
MESSAGE RX:> 4b
FREQUENCY SET CORRECTLY
DATA RX:^A
MESSAGE RX:> 210g
GROUP SET CORRECTLY
DATA RX:^A
DATA RX: 19 10 0 0 0 0 0 0 0
DATA RX: 19 9 0 0 0 0 0 0 0
DATA RX: 19 8 0 0 0 0 0 0 0
DATA RX: 19 7 0 0 0 0 0 0 0
DATA RX: 19 6 0 0 0 0 0 0 0
DATA RX: 19 5 0 0 0 0 0 0 0
DATA RX: 19 4 0 0 0 0 0 0 0
DATA RX: 19 3 0 0 0 0 0 0 0
DATA RX: 19 2 0 0 0 0 0 0 0
DATA RX: 19 1 0 0 0 0 0 0 0
DATA RX: 19 0 0 0 0 0 0 0 0
Sending remote data00,10,32,00s
MESSAGE RX:> 0s
LENGTH: -> 4 b
Sending remote dataSending remote data00,10,33,00s
MESSAGE RX:> 0s
LENGTH: -> 4 b
Sending remote dataSending remote data00,10,34,00s
MESSAGE RX:> 0s
LENGTH: -> 4 b
Sending remote dataSending remote data00,10,35,00s
MESSAGE RX:> 0s
LENGTH: -> 4 b
Sending remote dataSending remote data00,10,36,00s
MESSAGE RX:> 0s
LENGTH: -> 4 b
Sending remote dataSending remote data00,10,37,00s
MESSAGE RX:> 0s
LENGTH: -> 4 b
Sending remote dataSending remote data00,10,38,00s
MESSAGE RX:> 0s
LENGTH: -> 4 b
Sending remote dataSending remote data00,10,39,00s
MESSAGE RX:> 0s
LENGTH: -> 4 b
Sending remote dataSending remote data00,10,40,00s
MESSAGE RX:> 0s
LENGTH: -> 4 b
Sending remote dataSending remote data00,10,41,00s
MESSAGE RX:> 0s
LENGTH: -> 4 b
Sending remote dataSending remote data
MINICOM output:
Welcome to minicom 2.6.1
OPTIONS: I18n
Compiled on Apr 28 2012, 19:24:31.
Port /dev/ttyAMA0
Press CTRL-A Z for help on special keys
19 10 0 0 0 0 0 0 0
19 9 0 0 0 0 0 0 0
19 8 0 0 0 0 0 0 0
19 7 0 0 0 0 0 0 0
19 6 0 0 0 0 0 0 0
19 5 0 0 0 0 0 0 0
19 4 0 0 0 0 0 0 0
19 3 0 0 0 0 0 0 0
19 2 0 0 0 0 0 0 0
19 1 0 0 0 0 0 0 0
19 0 0 0 0 0 0 0 0
MINICOM Menu Output:
Available commands:
123 x - Toggle configuration change protection, 1=Unlocked
<nn> i - set node ID (standard node ids are 1..26)
<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)
...,<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 DIG8 on or off
Current configuration:
79 i15 g210 @ 433 MHz Lock: 1
Re: Inputs but no updates – emonTH standard? Setup
Hi avenn,
Good work getting up and running.
It sounds like the emonTH is not detecting the sensors, the LED should not flash. It should come on for a few seconds at power up to indicate successful power up (there is no heartbeat). If the LED flashes it means the sensors have not been detected. Looking at the photo you have incorrectly solderd the DS18B20 into the DHT22 socket. See photo showing how the DS18B20 should be soldered:
It sounds like the Raspberry Pi is working fine, I can see it's successfully receiving the initial RF test packets from the emonTH (10 -0 count down)
I would recommend you download and install the latest pre-built SD card image for the Pi based on latest raspbian set to work in read-only file system with separate data partition to increase SD card lifespan. This comes with emonHub pre installed.
https://github.com/emoncms/emoncms/blob/bufferedwrite/readme.md