Hello OpenEMS Community,
I have successfully set up the OpenEMS backend, but I am facing a few issues and would appreciate your assistance:
- History Data Not Displaying: Although the backend is working fine, history data is not showing up. Could this be related to the service I’m using for testing? I initially followed the “Getting Started” guide with “Timedata.Dummy,” but I am considering switching to “TimedataRRD4j.” Has anyone experienced issues with history data not displaying and resolved it by changing the service?
- Missing “Debug Mode: Detailed” Option: In the new UI, the “Debug Mode: Detailed” option is no longer available. Is there any way to enable this feature or a workaround for debugging?
Edge Connection Issue: In the UI, I am only seeing “Edge#12” as the live connection, but the documentation suggests that “Edge#0” should also be visible. Could someone point me in the right direction to resolve this issue?
I’ve already consulted the documentation and community threads, but any additional insights would be greatly appreciated.
Thank you for your help!
1 Like
Hi @Shahroznasir,
nice to see, that you got the moduls backend, edge and UI working.
Regarding your question:
Please have a look at the System Architecture. Timedata.Dummy just fullfills the interface, but does not do anything else (it is just a dummy ;-)).
If you want to have historical data on the backend you need to have a database server running. The recommended OpenEMS way is to use an InfluxDB. See the readme of the DB. Note that you need to create the database manually.
For the configuration of the Influx backend component you may use:
- apiKey = root:root
- bucket = influx0/autogen
- url = …
Use default values for the other configuration options. Note: bucket is the database you have created manually before.
Also you need to adopt the TimedataManager to use this database (timedata0
). 10-15 min after setup you should see (some) data within the history view of your Backend UI (the UI connected to the OpenEMS backend). After 24h you should also see correct energy values.
Note that at this point you will not see any historical data in the Edge UI (the UI connected directly to OpenEMS Edge).
To see historical data on the edge you just need to enable the RRD4J Database on the edge.
Can’t help you on this.
To work with multiple edges you probably need to add the Odoo Metadata bundle. Note that this could take weeks or months until it is set up correctly.
I have heard that the Metadata File Bundle may work also. See the JSON example configuration of the bundle. Each Edge needs to connect to the backend by using the (Edge) Api Backend Bundle. You need to setup a uniq apikey in each edge and it should be represented in the Metadata File JSON Configuration. So make sure that the apikey differs in your edge12
and in your e.g. edge0
.
Hope this helps.