Gas monitor jeenode
This is modified roomnode source. The 'moved' signal no longer sends an immediate transmission but each 'moved' pulse is counted. The total count is sent where the 'humi' value would be, every 5 minutes. The count is retained until an 'ack' is recieved from the basenode.
The code has been working well now for a couple of weeks and now the heating season will soon be upon us, I thought others may want to try.
If you edit the jeenodeApplet.lua as follows...
[yourRoomnodeNumber] = RoomNode{base="dbzoo.livebox.jeenode:gas-monitor", endpoints = {temp=1,lobat=1,light=1,moved=1,humi="count"}, ttl=900},
you will get the count endpoint at dbzoo.livebox.jeenode:gas-monitor.count every 5 minutes
If you are like me and you gas box is outside you also get a handy monitor of the outside temperature and light level :)
Attachment | Size |
---|---|
gasnode.cpp_.hex_.zip | 11.17 KB |
Mike
I have to say that I too am having problems with the RF not working for inexplicable reasons.
I have even done several backups when the whole system is working but when I do a restore of the files after a breakdown the RF still refuses to operate. I then have to rebuild the system from a clean update, checking that the RF works with each module added.
Following the last rebuild 4 days ago the RF is still working OK so maybe I'm making some progress. This time I didn't enable the following:
Serial
SMS
iServer
Calendar
FTP
I'm keeping an eye on things and I'll let you know if I come up with any definitive finding.
Allan
Since posting this I have had a failed boiler control panel and several of the RF sockets have stopped responding...but he ho we carry on :)