question

eliott avatar image
eliott asked

VRM API hasMains only available in the list of installations when request is not extended - alarm is only available in the extended

Hi!

Is it on purpose that hasMains attribute is missing from the extended query of installations on the VRM API? Is there an other way to get from that response?


In case of alarm the opposite is true, it is only in the extended request.


thanks

eliott


VRM
2 |3000

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

1 Answer
Teun Lassche avatar image
Teun Lassche answered ·

@eliott that was not on purpose and fixed now.

Thanks for reporting!

4 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.

eliott avatar image eliott commented ·

I had checked the api again before seeing your message and was scratching my head for a while. thanks for fixing

0 Likes 0 ·
Warwick Bruce Chapman avatar image Warwick Bruce Chapman commented ·

I don't see any mention of hasMains in https://docs.victronenergy.com/vrmapi/overview.html


I'm trying to find if I can check a site for mains failure

0 Likes 0 ·
Warwick Bruce Chapman avatar image Warwick Bruce Chapman Warwick Bruce Chapman commented ·
0 Likes 0 ·
1599081084952.png (21.3 KiB)
Teun Lassche avatar image Teun Lassche ♦ Warwick Bruce Chapman commented ·

@warwick You can't use hasMains to detect grid failure

0 Likes 0 ·