An edge-app adapter for Easee Home EV charger.
- Easee charger documentation (https://developer.easee.cloud/docs)
- Easee API documentation (https://developer.easee.cloud/reference)
Prerequisites:
- https://mosquitto.org/download/ package to communicate with mqtt
Run the following commands to start the service locally:
docker-compose down
docker-compose up --build -d
Once it's started, you can send messages to the MQTT using the following command
mosquitto_pub -h localhost -p 11883 -t <topic> -f /path/to/message.json
Topic: /pt:j1/mt:cmd/rt:ad/rn:easee/ad:1
Message:
{
"corid": null,
"ctime": "2023-09-19T09:30:38.495926Z",
"props": {},
"resp_to": "pt:j1/mt:rsp/rt:cloud/rn:remote-client/ad:smarthome-app",
"serv": "easee",
"src": "smarthome-app",
"tags": [],
"type": "cmd.auth.login",
"uid": "f61abfbc-8fcf-47c7-945d-9746c9d8ed1b",
"val": {
"username": "username",
"password": "password",
"encrypted": true
},
"val_t": "object",
"ver": "1"
}
Topic: pt:j1/mt:cmd/rt:dev/rn:easee/ad:1/sv:chargepoint/ad:10
{
"corid": null,
"ctime": "2023-09-20T10:48:32.687224Z",
"props": {},
"resp_to": "pt:j1/mt:rsp/rt:cloud/rn:remote-client/ad:smarthome-app",
"serv": "chargepoint",
"src": "smarthome-app",
"tags": [],
"type": "cmd.charge.start",
"uid": "4296187f-0347-4ebc-baad-8d4f2ccea52e",
"val": null,
"val_t": "null",
"ver": "1"
}
Topic: pt:j1/mt:cmd/rt:ad/rn:easee/ad:1
{
"corid": null,
"ctime": "2023-09-20T10:49:32.129859Z",
"props": {},
"resp_to": "pt:j1/mt:rsp/rt:cloud/rn:remote-client/ad:smarthome-app",
"serv": "easee",
"src": "smarthome-app",
"tags": [],
"type": "cmd.auth.logout",
"uid": "e5e18917-8f22-4902-94c7-50552ab777b1",
"val": null,
"val_t": "string",
"ver": "1"
}
Topic: pt:j1/mt:cmd/rt:dev/rn:easee/ad:1/sv:chargepoint/ad:1
{
"corid": null,
"ctime": "2023-09-20T11:46:13.040817Z",
"props": {},
"resp_to": "pt:j1/mt:rsp/rt:cloud/rn:remote-client/ad:smarthome-app",
"serv": "chargepoint",
"src": "smarthome-app",
"tags": [],
"type": "cmd.charge.stop",
"uid": "0bc3b8fd-605c-457f-8f55-5907465adfd7",
"val": null,
"val_t": "null",
"ver": "1"
}