AC Diversion Load: Watchdog Timer

1 year ago
11

Adding a "Watchdog Timer" feature to the AC diversion load program code to help fill in missing power data that seem to occur from time to time.

The basic idea is to detect when the reported power data is older than the designed reporting interval. This is done by taking advantage of the Program Logic Event Generator (PLEG) time stamp information in the device property that records the power data.

The logic is that if either of the 2 diversion load interval times (Clamp1Check or Clamp2Check) have run and expired, then check the "age" of the power data and if it's older than the reporting interval, request new data from the power meter.

More to come...
Subscribe for more content like this
Comment, like, share & click the bell icon
And as always, thanks for watching

Intro/Outro:
Louisiana Fairytale by Austin Rogers
https://web.archive.org/web/20170402222425/http://drfiddle.com/show_tune.php?id=94

Loading comments...