All messages from JeeNode =?
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?
... the most likely thing is that the batteries on the roomNode are drained. If your monitoring script raises an alert when the lowbat signal becomes active, you can have this act as a warning that the batteries are on their way out.
It's worth doing a manual inspection of what (if anything) is being received by the baseNode.
Telnet onto the HAH and kill off any processes that are using the serial port. Then fire up microcom and see what is coming in over the serial port.
Use 'ps' to list all of the running processes. 'kill -9 <process id>' will kill a specified process. kill the plugboard and any xap-serial processes.
microcom is just a simple terminal emulator 'microcom -s 57600 /dev/USBxx' (replace xx with the number of your USB port).
use 'dmesg' to check which USB port your cable has been allocated.
Make sure you use the correct baud rate you entered 57500 which is wrong its 57600.
# microcom -s 57600 /dev/ttyUSB0
In any case before you got that low I would have checked to see if xap-serial was reporting xAP packets.
JEENODE BASE ----serial---> xap-serial ---> xAP (serial class)
xAP (serial class) -----> Plugboard.lua ---> JeeNodeApplet.lua ---> xAPBSC
You should also kill the plugboard process.
Do you have any other jeenodes or is this the only one?
All I can think of is that something (temperature at the location of the HAH?) caused the HAH 5V line to drop below the point at which the regulator on the baseNode was happy to keep powering the AVR micro. We do know that folks who make use of the onboard relays of the HAH PCB are better to run the PCB via an external 5V supply ... could be a similar thing.
Anyway, thanks for persevering & letting us know what fixed it for you. I've added a note to the wiki.
The ? means that nothing has been received from the node for a while. So either the node isn't transmitting any more or the HAH basenode isn't receiving.
Have you tried resetting the node? Then reset the box?