question

bs-hybridgenerator avatar image
bs-hybridgenerator asked

VRM Alarm rules BUG

Edit a value in a alarm rule doesn't get saved after edit. Have worked before, but have been a bug for more than 3 weeks now. Workaround solution is to delete rule and add a rule with new values, but it would be nice to get this error solved.

vrm alarm
2 |3000

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

7 Answers
Vaibhav Vaidya avatar image
Vaibhav Vaidya answered ·

+1 for this bug.

After adding an alarm via API, I tried to use PUT to edit the value per the official API bundle. The API response shows as if it is successful with the returned data showing the new edited values, but if I view the alarm setup in the VRM UI it still has the old value. The value specifically was for the lowhysteresis number.

The challenge is that the API doesn't seem to have a DELETE for an alarm rule so I'm stuck.

2 |3000

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

kevgermany avatar image
kevgermany answered ·
2 |3000

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

Guy Stewart (Victron Community Manager) avatar image
Guy Stewart (Victron Community Manager) answered ·

Thanks for the report, I'll pass it up to VRM team to investigate.

2 |3000

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

dutchsolarfreak avatar image
dutchsolarfreak answered ·

+1 for this bug

2 |3000

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

Guy Stewart (Victron Community Manager) avatar image
Guy Stewart (Victron Community Manager) answered ·

Hi All,

Thanks for your bug reports, the VRM team has just applied a fix and it should now be resolved.

2 |3000

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

Vaibhav Vaidya avatar image
Vaibhav Vaidya answered ·

Not quite yet... it's getting confused between notifyAfterSeconds and NotifyAfterSeconds-

Request content

{ "idDataAttribute": 442, "instance": 6, "AlarmEnabled": 1,

"NotifyAfterSeconds": 84000,

"highAlarm": 9000, "highAlarmHysteresis": 3000, "lowAlarm": 1, "lowAlarmHysteresis": 5}

Response:

  • dataCollection

    • idDataAttributeLimit

      110342

    • idSite

      199439

    • idDataAttribute

      442

    • instance

      6

    • lowAlarm

      1

    • lowAlarmHysteresis

      5

    • highAlarm

      9000

    • highAlarmHysteresis

      3000

    • AlarmEnabled

      1

    • NotifyAfterSeconds

      86400

    • alarmEnabled

      1

    • notifyAfterSeconds

      84000

1 comment
2 |3000

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

Thanks for the additional info, I've passed it on to the VRM team as well.
1 Like 1 ·
Vaibhav Vaidya avatar image
Vaibhav Vaidya answered ·

Was this fixed?

2 |3000

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

Related Resources

Additional resources still need to be added for this topic