Using Rest APIs in OpenEMS

Hello All :),
I would like use OpenEMS to monitor a PV device via Rest APIs. I’m not able to find satisfactory documentation about the setup and use of the controllers available. Specifically:

How do I start the API service? [Is it running by default/ do I make a change in the config files]
When I save a controller in the Apache ConfigManager, I get webSocket errors.

In general, are there any code samples/Documentation/Guides for how to use the various components? How do I go about getting familiar with the OpenEMS environment?

Warm Regards,
Dipti

Hello,
no there are not so many documentations out, yet. Cause most of us are full with workload :D.
just start the alphabeticSchedular and the “Rest Api”, than you can talk to openems by rest.

for example http://localhost:8084/rest/channel/meter0/ActivePower with an meter with id “meter0” you get so the ActivePower.

“When I save a controller in the Apache ConfigManager, I get webSocket errors.” this is a bit to less information to help you ;).

1 Like