api-state.json (163.3 KB)
Hi, I hope I’m answering the questions correctly. I simply created the heat pump in the evcc webUI, which basically just meant selecting the manufacturer and entering the IP address.
Then I installed the binding in openHAB and created the things that were discovered. I then created equipment using the semantic model and selected the data points I wanted.
I then noticed that the loadpoint power was not changing.
Attached is the *.json from the evcc API and the config from evcc itself.
Edit: the loadpoints → 0 → chargePower in the api/state json response is correct.
{
"site": {
"title": "Home",
"grid": "db:6",
"pv": ["db:8"],
"battery": ["db:7"],
"aux": null,
"ext": null
},
"loadpoints": [
{"id":2,"name":"db:2","charger":"db:1","title":"Novelan LADV 9","defaultMode":"off","priority":0,"phasesConfigured":1,"minCurrent":0.2,"maxCurrent":16,"smartCostLimit":null,"smartFeedInPriorityLimit":null,"planEnergy":0,"planTime":"0001-01-01T00:00:00Z","planPrecondition":0,"limitEnergy":0,"limitSoc":57,"planStrategy":{"continuous":false,"precondition":0},"thresholds":{"enable":{"delay":60000000000,"threshold":0},"disable":{"delay":180000000000,"threshold":0}},"soc":{"poll":{"mode":"charging","interval":3600000000000},"estimate":true}}
],
"charger": [
{"config":{"heatoffset":2,"host":"192.168.178.52","modbus":"tcpip","template":"luxtronik","wwoffset":5},"deviceProduct":"Novelan WPR NET","id":1,"name":"db:1","type":"template"}
],
"meter": [
{"config":{"forceaccharging":"false","host":"192.168.178.87","maxacpower":"0","maxchargepower":"10000","modbus":"tcpip","storageunit":"1","template":"huawei-sun2000","timeout":"15s","usage":"pv"},"deviceProduct":"Huawei SUN2000","deviceTitle":"Huawei SUN 2000","id":8,"name":"db:8","type":"template"},
{"config":{"forceaccharging":"false","host":"192.168.178.87","maxacpower":"0","maxchargepower":"10000","modbus":"tcpip","storageunit":"1","template":"huawei-sun2000","timeout":"15s","usage":"grid"},"deviceProduct":"Huawei SUN2000","id":6,"name":"db:6","type":"template"},
{"config":{"capacity":13.8,"forceaccharging":"false","host":"192.168.178.87","maxacpower":"0","maxchargepower":7000,"maxdischargepower":7000,"modbus":"tcpip","storageunit":"1","template":"huawei-sun2000","timeout":"15s","usage":"battery"},"deviceProduct":"Huawei SUN2000","deviceTitle":"Huawei LUNA 2000","id":7,"name":"db:7","type":"template"}
],
"tariffs": "currency: EUR
grid: # price using energy from the grid
type: fixed
price: 0.294 # EUR/kWh
feedin: # price for feeding solar energy to the grid
type: fixed
price: 0.08 # EUR/kWh
#co2: # carbon intensity forecast
# type: template
# template: grünstromindex
# zip: *****
#solar: # list of pv generation forecast (additive)
#- type: template
# template: solcast
# site: <site>
# token: *****",
"mqtt": {"broker":"","user":"","password":"","clientID":"","insecure":false,"caCert":"","clientCert":"","clientKey":"","topic":"evcc"},
"influx": {"url":"","database":"","token":"","org":"","user":"","password":"","insecure":false},
"shm": {"vendorId":"","deviceId":""},
"interval": 30
}