baumi's blog

baumi's personal blog … Linux, OS X, Windows, Random things, …

February, 2022

smart-me.com REST API curl examples – Smart Meter for KAMSTRUP DK-8660 – EV solar charging – PV Überschussladen

For API documentation see https://smart-me.com/swagger/ui/index and/or https://www.any-api.com/smart_me_com/smart_me_com/docs/API_Description Current energy usage (update every minute for free *or* every second for a small subscription fee or a one time payment, see https://web.smart-me.com/en/cloud-services-pricing/ …. also updates each second while running smart-me mobile app or website live data): curl -s –user “username:password” -H “Accept: application/json” “https://smart-me.com:443/api/Values/a1b1c1d1-abcd-1234-abcd-a1b2c3e4g5h6” example output: {“DeviceId”:”a1b1c1d1-abcd-1234-abcd-a1b2c3e4g5h6″,”Date”:”2022-02-05T17:53:16.3596015Z”,”Values”:[{“Obis”:”1-0:1.8.0*255″,”Value”:15492250.0},{“Obis”:”1-0:2.8.0*255″,”Value”:4154730.0},{“Obis”:”1-0:1.8.1*255″,”Value”:10728380.0},{“Obis”:”1-0:1.8.2*255″,”Value”:4763870.0},{“Obis”:”1-0:1.8.3*255″,”Value”:0.0},{“Obis”:”1-0:1.8.4*255″,”Value”:0.0},{“Obis”:”1-0:2.8.1*255″,”Value”:4153930.0},{“Obis”:”1-0:2.8.2*255″,”Value”:800.0},{“Obis”:”1-0:2.8.3*255″,”Value”:0.0},{“Obis”:”1-0:2.8.4*255″,”Value”:0.0},{“Obis”:”1-0:1.7.0*255″,”Value”:2456.0},{“Obis”:”0-0:96.14.0*255″,”Value”:1.0},{“Obis”:”1-0:32.7.0*255″,”Value”:236.0},{“Obis”:”1-0:52.7.0*255″,”Value”:235.0},{“Obis”:”1-0:72.7.0*255″,”Value”:236.0},{“Obis”:”1-0:31.7.0*255″,”Value”:1.07},{“Obis”:”1-0:51.7.0*255″,”Value”:7.89},{“Obis”:”1-0:71.7.0*255″,”Value”:2.18}]} […]

Solar charging with go-e Charger (hardware v3) – PV Überschussladen mit go-e Charger (hardware v3)

1) Enable local HTTP API v2 inside go-e app (Internet -> extended settings) 2) Use curl to adjust charging: #adjust amps curl “http://1.2.3.4/api/set?amp=16” #set 1-phase curl “http://1.2.3.4/api/set?psm=1” #set 3-phase curl “http://1.2.3.4/api/set?psm=2” #start charging curl “http://1.2.3.4/api/set?frc=0” #stop charging curl “http://1.2.3.4/api/set?frc=1” Get settings (all or some, see https://github.com/goecharger/go-eCharger-API-v2/blob/main/apikeys-de.md ): curl “http://1.2.3.4/api/status” curl “http://1.2.3.4/api/status?filter=amp,psm”