READING THE MEASUREMENTS

The process of retrieving measurement values from the energy meter was explored. Through research, the Phoenix REST API was discovered, which provides a detailed description of how to retrieve the measurement values using an HTTP request. But what is a REST API? In general, "API" stands for Application Programming Interface, and "REST" (Representational State Transfer) refers to a communication architecture based on the client-server principle. An HTTP connection is established between the host, which is the client, and the server. Operations can be performed using HTTP commands such as "GET" (receiving data from the server) and "PUT" (sending data to the server). In the case of Phoenix meters, the GET command is used to retrieve measurement values such as voltages (U), currents (I), active power (W), apparent power (S), reactive power (Q), etc. The PUT command could be used, for example, to reset counter values. For this project, only the GET commands are required.

1
Figure: Voltages meassured by the energy meter


Zuletzt geändert: Montag, 3. Juli 2023, 17:33