I get the following data from my energy meter via
http://190.160.1.12/restAPI?get=Actual
The data:
{
"Timestamp": "190924184540S"
, "Energy_Delivered": "16021.018"
, "Energy_Returned": "0.000"
, "Gas_Delivered": "2393.86"
, "Energy_Delivered_Tariff1": "9646.286"
, "Energy_Delivered_Tariff2": "6374.731"
, "Energy_Returned_Tariff1": "0.000"
, "Energy_Returned_Tariff2": "0.000"
, "Power_Delivered": "2.892"
, "Power_Returned": "0.000"
, "Voltage_l1": "0.0"
, "Current_l1": "12"
, "Voltage_l2": "0.0"
, "Current_l2": "0"
, "Voltage_l3": "0.0"
, "Current_l3": "0"
, "Power_Delivered_l1": "2892"
, "Power_Returned_l1": "0"
, "Power_Delivered_l2": "0"
, "Power_Returned_l2": "0"
, "Power_Delivered_l3": "0"
, "Power_Returned_l3": "0"
}
I would like to display this data differently. I am unable to write this data in variables.
Many demos and posts viewed and tried. For example:
https://www.b4x.com/android/forum/t...-json-response-from-an-api-web-request.45822/
https://www.b4x.com/android/forum/t...-services-are-now-even-simpler.18992/#content
So now the question to you if someone can help me on my way. Thanks in advance.
Dirk