Using the outputs to monitor a pulse at 30ms wouln't be feasible in the units current configuration, for starters when the RF sub-system transmits due to the precision needed for the RF pulse train all interrupts are disabled and a pulse stream can take a reasonable amount of time to transmit... much > 30ms. This means you can miss quite a number of events whilst transmitting. So disable RF you say... ok but then you're ripping out a lot of functionality.
Secondly the xap-livebox process and indeed the current firmware are tightly coupled and would require a rewrite which is way out of scope for what it was intended and something I don't wish to take onboard.
Given you current logger is a standalone system can you feed its serial stream into the HAH?
Of course then you would need something to handle it on this side depending on how much data it generates and in what form perhaps even xap-serial could be used for the interface then you would need an LUA applet to pick up this xap serial encapsulated serial data and forward to the pachube service. That might be possible and doable.
If you run into problem with documentation I can certainly clarify how things interface together so you can write what might be required.
Would it be possible to replace your powerlogger with a powerlogger jeenode? You could use the inputs on the jeenode to recording the measurements and the jeenode could then send those to the HAH. You'd need some custom code on it, but it sounds like you've got a very capable friend. I don't know too much about the technical difficulties, but it would seem a sensible way forward, the jeenode is already capable of detecting PIR signals, isn't this similiar to a pulse from your monitor?
Member for
16 years 10 monthsA few thought
Using the outputs to monitor a pulse at 30ms wouln't be feasible in the units current configuration, for starters when the RF sub-system transmits due to the precision needed for the RF pulse train all interrupts are disabled and a pulse stream can take a reasonable amount of time to transmit... much > 30ms. This means you can miss quite a number of events whilst transmitting. So disable RF you say... ok but then you're ripping out a lot of functionality.
Secondly the xap-livebox process and indeed the current firmware are tightly coupled and would require a rewrite which is way out of scope for what it was intended and something I don't wish to take onboard.
Given you current logger is a standalone system can you feed its serial stream into the HAH?
Of course then you would need something to handle it on this side depending on how much data it generates and in what form perhaps even xap-serial could be used for the interface then you would need an LUA applet to pick up this xap serial encapsulated serial data and forward to the pachube service. That might be possible and doable.
If you run into problem with documentation I can certainly clarify how things interface together so you can write what might be required.
Brett
Member for
16 years 5 monthsSome more thoughts
Would it be possible to replace your powerlogger with a powerlogger jeenode? You could use the inputs on the jeenode to recording the measurements and the jeenode could then send those to the HAH. You'd need some custom code on it, but it sounds like you've got a very capable friend. I don't know too much about the technical difficulties, but it would seem a sensible way forward, the jeenode is already capable of detecting PIR signals, isn't this similiar to a pulse from your monitor?