DigitalShoestringSolutions / DowntimeMonitoring

GNU General Public License v3.0
0 stars 1 forks source link

Using sensors from other solutions for auto start/stop #12

Open tobyaharris opened 5 months ago

tobyaharris commented 5 months ago

The classic example of combining solutions - using power monitoring data with thresholds as an input for downtime monitoring.

For a while (years?) it has been said this should be possible, but if it is we have no documentation on how. I imagine there is an MQTT JSON message format that can be sent to the downtime system, something like

MyMachineName
{
    "active" : "true"
}

that will in turn create downtime events. Would that need to be published from the current_sensing module? Or could the analysis module provide downtime output from historic power data?

But now we have a customer who wants to do exactly this. Is this something we can officially support?

tobyaharris commented 4 months ago

Note to self to do - I'd love to have documentation of typical MQTT messages in the README to save having to build a solution and intercept the messages each time.