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 :)