First of thank you for providing these excellent tools open-source!
I have successfully running the AMI4 in docker and connected it to MySQL (MariaDB) and a meter (Cewe Prometer 100). Imported the Device Template form GXDLMSDirector with some COSEM-objects.
Running fine!
But I have a "missing link" in my knowledge to get access to the data from other applications.
I thought that I could query the SQL database but i seams hard. And it also seams difficult thought the REST also.
I wish to retrieve the data from a ProfileGeneric Object with time and data. Preferably with option of time-range.
Could you give me a tip on the way?
Below is a snippet by inspecting the COSEM object. I have already run the read command, collection approx 7 month of 15 minutes interval data
1.0.99.1.0.255
0.0.1.0.0.255 | 1.0.1.29.0.255 | 1.0.2.29.0.255 | 1.0.129.29.0.255 | 1.0.130.29.0.255 | 1.0.5.29.0.255 | 1.0.8.29.0.255 | 1.0.6.29.0.255 | 1.0.7.29.0.255 | 1.0.9.29.0.255 | 1.0.10.29.0.255 | 1.0.96.5.4.255 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|
12/4/2023 12:15:00.000 AM | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Hi, You can use the Swagger…
Hi,
You can use the Swagger to show the REST interface. The address is something like:
https://localhost:8001/swagger
You can read the value using api/Value/List API.
BR,
Mikko