curl https://ipadresvanbatterij/api/user --insecure -X POST -H "Content-Type: application/json" -H "X-Api-Version: 2" -d "{\"name\": \"local/mannema\"}"
{ "name":"local/mannema", "token":"3F153NOGWATFICTIEF326F18E190" }
curl https://ipadresvanbatterij/api/measurement --insecure -H "Authorization: Bearer 3F153NOGWATFICTIEF326F18E190" -H "X-Api-Version: 2"
{ "energy_import_kwh":3.352, "energy_export_kwh":2.345, "power_w":-465.665, "voltage_v":233.594, "current_a":2.03, "frequency_hz":49.994, "state_of_charge_pct":20, "cycles":0 }