Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API feature req: update external value from http API #439

Closed
KipK opened this issue Oct 5, 2022 · 6 comments · Fixed by #453
Closed

API feature req: update external value from http API #439

KipK opened this issue Oct 5, 2022 · 6 comments · Fixed by #453

Comments

@KipK
Copy link
Collaborator

KipK commented Oct 5, 2022

I've received this request from another forum.

We should be able to update external values like Voltage, Vehicule SOC, +I/-E and co from HTTP POST requests and not only MQTT.

Before those guys where using RAPI to update voltage, but not available yet using new API

@Sattaz
Copy link

Sattaz commented Oct 5, 2022

I'm the guy from that other forum and I developped a plugin for the Jeedom home automation system using the EVSE RAPI.
I was adapting my plugin to use the new 'WIFI' API but could not find any http/post method to update such settings as the Voltage, etc ... as referred by KipK.
This is essential to get the EVSE module precisely doing internal calculation like the charge session.
Could you implement this? Thx a lot!

@jeremypoulter
Copy link
Collaborator

I guess we could do this, similar to the config API I could allow a POST on the /status endpoint to update those values that can be updated by MQTT.

@jeremypoulter
Copy link
Collaborator

Also if Web Sockets are an option I am also planning on adding support for reading from EmonESP #304.

@fhteagle
Copy link

+1 for this, especially being able to control the max amps value via HTTP post or get.

Any security considerations with enabling this though?

@KipK
Copy link
Collaborator Author

KipK commented Oct 15, 2022

You already can set max_current using claims or override from the API
Also max_soft_current with the /config endpoint if you want it to be permanent

@KipK
Copy link
Collaborator Author

KipK commented Oct 24, 2022

Here are my 2 cents.
I havent modded the GUI, but there will be a need to display somewhere it can be done by HTTP now

jeremypoulter added a commit that referenced this issue Oct 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants