Discussions

Ask a Question
Back to All

Unable to view my charger, just got moved to the norlys solution.

Hi

Today my charger was moved to the "Norlys Opladning 2.0" flavor of Monta, and thereby moved to a team controlled by them.

Today I also planned to give up waiting for the official HomeAssistant integration, and make my own, but after I am authenticated , GET charge-points gives me just an empty list in return.

{
  "data": [],
  "meta": {
    "itemCount": 0,
    "currentPage": 0,
    "perPage": 10,
    "totalPageCount": 0,
    "totalItemCount": 0
  }
}

Using my browser I can see the charge-point just fine, both in the old portal and the new Monta hub, and it also shows up on the app, both Norlys Opladning 2.0 and the ol' faithful Monta app, so I should have access.

When I try to guess the ID of my charger (there's really only two numbers I can find) and ask specifically about that, I get a message telling me that user 5004 does not have access to the charge point.

{
  "status": "FORBIDDEN",
  "message": "User with ID `50xx` has no access to Charge Point with ID `274xxx`.",
  "readableMessage": "Forbidden",
  "errorCode": "ACCESS_FORBIDDEN",
  "context": null
}

If I GET charge-transactions I can see a list of transactions too long to paste in here, so something appears to be working.

I found an [https://docs.public-api.monta.com/discuss/649546ae60e41400410e52e2](earlier discussion about non-personal chargers not being visible via this API) from 8 months ago, but it also looked like the limitation was lifted at that point.

I was really hoping to keep the same openness after the switch as before, so I hope this is me doing something wrong and not a limitation in the API, and that someone can point me to what my problem is.

Admin

Hi Henrik,

Sorry for the inconvenience. You are indeed right, this is a limitation of the current setup. I will bring it up with Norlys.

Regarding Home Assistant: We didn't forget about it, but just didn't get to it yet. If you don't want to do your own version, there are some first community integrations available, ie here: https://github.com/nickknissen/hass-monta

Thanks for the quick reply :)

I'll look into Nick's integration, and hope Norlys can be convinced to open up :)

Admin

Hi Henrik,

We have talked to Norlys and updated our Authorization model to work with their setup at Monta as well.

-> Team Admins can now use the Public API on Charge Points belonging to that team

Let me know if this worked for you.

Have a nice weekend,

Christian

It works :)

Thanks a bunch, yet another reason to ❀️ Monta

Admin

amazing!

Admin(edited)

amazing! And ❀️ Norlys as well πŸ™Œ

Marked as answered by Christian Weinberger

ο»Ώ