question

Warwick Bruce Chapman avatar image
Warwick Bruce Chapman asked

Webhooks on VRM API or GX - Alerting on Grid Loss

Given the ongoing local grid instability and perennial rolling blackouts in South Africa, we really need a better way than email alerts to signal a grid loss.

We're currently developing a small daemon to run on the GX device to catch a grid loss and trigger an event remotely but that will require us installing that custom code on every GX device we ship and that's going to be harder than it should be.

Two solutions come to mind:

1. Allow calling a custom webhook directly from the GX device on grid loss.

2. Allow calling a custom webhook from the VRM API (configured for the site inside VRM) on grid loss.

I would prefer the first solution because it would not be delayed by the reporting interval configured on the device.

Thoughts?

VRMVenus OSgx device
3 comments
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

Warwick Bruce Chapman avatar image Warwick Bruce Chapman commented ·
0 Likes 0 ·
Teun Lassche avatar image Teun Lassche ♦ Warwick Bruce Chapman commented ·

Hey @warwick, you can do this by watching a MQTT topic:


https://github.com/victronenergy/dbus-mqtt

0 Likes 0 ·
Warwick Bruce Chapman avatar image Warwick Bruce Chapman Teun Lassche ♦ commented ·
0 Likes 0 ·
0 Answers

Related Resources