26

Public API

  • Released

Avatar
Kåre Rasmussen

Open up your API for integration with i.e. home automation systems. This way community can build adapters for Home Assistant, etc. Data to be exposed should be basically all the data you can see in the app when logged in as a personal user

A

Activity Newest / Oldest

Avatar

Jesus M Diaz-Perez

Stop Charge API call returning BAD_REQUEST today. Any problem?

{
"status": "BAD_REQUEST",
"message": "Bad Request",
"readableMessage": "Bad Request",
"errorCode": "BAD_REQUEST",
"context": null
}


Avatar

Jesus M Diaz-Perez

And it started working again yesterday ...


L

Bluhme

Hello Christian.
When you are developing the Home Assistant Plugin, I would be happy to test
I have been using HA for more than four years and have a rather advanced setup


Avatar

Jesus M Diaz-Perez

When retrieving the list of charges, the list is shown with the newest first. Any way to get it reversed, so the oldest first?
Thanks


Avatar

Kåre Rasmussen

hi, hven I log into the portal (app.monta.app/portal), my image is in the top left side, and I dont have the option to go to aplications?


Avatar

Kåre Rasmussen

Ohh, I need to go to the new version. The link in the post is wrong


R

RogTP

Did you enable the new portal, it appears in there.


Avatar

Jesus M Diaz-Perez

Hi!
I am probably doing something wrong, since I am getting this when trying to get a token:

{
"status": "UNAUTHORIZED",
"message": "Consumer with given `clientId` and `clientSecret` not found",
"readableMessage": "Unauthorized",
"errorCode": "APPLICATION_NOT_FOUND",
"context": null
}

EDIT: created a new application and it worked


R

RogTP

I've setup an application, and retrieved access/refresh tokens, those work fine. However trying to retrieve my charger list results in no data returned (I get a response that indicates no chargers). I am the charge point owner, but it is via Sevadis as an Enterprise Partner. Does the public api work only for personal chargers where you are the operator (I think in this setup Sevadis are the operator)?


Avatar

Christian Weinberger

Hi RogTP,
Can you share your applicationId or userId (should be visible in /auth/me endpoint).
Please note: never share clientId and clientSecret. We will never ask for these.
Best,
Christian


R

RogTP

This is the error I get when I try to access by ID:

User with ID `135013` has no access to Charge Point with ID `2975778`

User is in my wife's name....


Avatar

Jesus M Diaz-Perez

Same here.

I finally got to get the token, but can't retrieve charger information.

If requesting the list, it is empty. When requesting the specific charger:
{
"status": "FORBIDDEN",
"message": "User with ID `126170` has no access to Charge Point with ID `2942448`.",
"readableMessage": "Forbidden",
"errorCode": "ACCESS_FORBIDDEN",
"context": null
}

And like @RogTP, my charger is not configured as a personal one, but as part of a team created by the integrator (SmartZone), even tho I am the owner and only member of the team.


Avatar

Christian Weinberger

Good morning,
We are looking into this. Can I ask you to add a ticket in our public api developer hub -> Discussions?
Upvoty is meant for feature requests :)
docs.public-api.monta.com/discuss
Thanks a ton


R

RogTP

Will do


Avatar

Christian Weinberger

As announced we are live with our first version NOW :)

## Monta Public API

We have *just* launched the first version of our 🧩 Public API to all our BETA users 🚀.

We can't wait to see what you are building with it! 🤩

You'll find the API docs and guides here: docs.public-api.monta.com

At Monta, we are deeply committed to empowering our end consumers by democratizing access to their data. We believe that you, as the users, should be in the driver's seat, steering your data in the way you desire. With the launch of our Public API, this mission is becoming a reality. 🤘🏻

## Monta Public API Hackathon

We are also hosting a hackathon at Monta and invite interested folks to join us and come up with great ideas.
More information + sign up form here: formcrafts.com/a/monta-hackathon

## What's next?
- More features on Public API
- Home Assistant plugin
- ...


Avatar

Christian Weinberger

Status changed to: Released

Avatar

Christian Weinberger

We are currently conducting real tests on production and plan to release to beta users next Thursday 🤩

Some impressions from the test: www.linkedin.com/posts/cweinberger_publicapi-smarthome-homeautomation-activity-7075446307938541568-oPdk


  • Avatar
Avatar

Christian Weinberger

Public API will be launched to our BETA users in next 1-2 weeks. 🤗
See: www.linkedin.com/posts/cweinberger_publicapi-smarthome-homeautomation-activity-7071447952929521665-VSVM


  • Avatar
  • Avatar
L

Bluhme

👍👍


R

RogTP

Do you just need to turn on 'beta access' to be able to try it (when available)? Are you publishing api docs to go with it?


R

RogTP

I see my questions are answered via the screenshot on Linkedin


  • Avatar
Avatar

Christian Weinberger

Post moved to this board

L

Bluhme

👍👍looking forward


Avatar

Christian Weinberger

Status changed to: In progress

L

Bluhme

Any news about this feature ?


Avatar

Christian Weinberger

We are actively working on it and planning for a release in Q2 ☺️


L

Bluhme

👋👋


Avatar

Tobias S

Status changed to: Planned

Avatar

Christian Weinberger

We are working on it 🤓
www.linkedin.com/feed/update/urn:li:activity:7022262895770038272?utm_source=share&utm_medium=member_ios

The full level of detail is not yet defined but the plan is to have an MVP in spring ready. Maybe even a home assistant plug-in


  • Avatar
  • Avatar
  • H
H

Henmyg

+1
I would love to be able to integrate Monta to my home assistant. I would love to have a hue switch to start my (smart-)charging through Monta.

For this to work I either have to communicate directly to my Easee charger (and ditch Montaand all it’s benefits) or ideally I could call a Monta api endpoint with startSmartCharge { finishAt: 7.30, amountKwh: 15.0 }

Today it is too cumbersome to find your phone, find the Monta app, select your charger, select amount, swipe to start. Especially when it could just be a press of a zigbee button .

I wonder if I can start the charging through Easee and Monta would then pick it up? E.g. “simulate” an rfid card through the Easee api?


Avatar

Tobias S

Status changed to: Under review