This unsupported FPM is targeted at Building Automation Support. All files are included for you to load onto a Smartserver. I didn't make a config page on the iLON as it is targeted for LonMaker integration. Note that the functionality is not guaranteed.
This version includes an Occupancy collector module. This module accepts one to six occupancy inputs and performs a logical OR on them to determine a combined occupancy output. i.e. if any of the six inputs are occupied, then the output is occupied. This is usefull where multiple occupancy sensors feed into a single lighting/HVAC zone.
Additionally there is a 5 minute timer that increments based on occupancies (nvo_ticks_occ1..6). This number is reset when the 5minute timer goes off if that zone is un-occupied. The goal here is to be able to determine if a zone doesn't go un-occupied for an extended period of time. i.e. if you have a count of 12*24 = 288 - then your zone has been "occupied for 24 hrs.
There is a bit of a flaw... the count should reset as soon as the zone becomes un-occupied rather than waiting for timer expiration.... Perhaps this could be considered a debounce?