Update README
parent
6ddb84de97
commit
de9bf5d3db
|
|
@ -2,23 +2,31 @@
|
|||
|
||||
nymea plugin for go-eCharger smart wallbox for electic vehicles.
|
||||
|
||||
If you are using the original go-e App or other client services to communicate with the wallbox, disable MQTT during the setup in order to make sure all services are able to communicate with the wallbox. There is no support for multiple MQTT clients on go-e devices, thus nymea defaults to HTTP to prevent constant reconfiguration trough the clients.
|
||||
In order to make nymea work with go-e, please make sure you have enable `API V2` in the official app.
|
||||
|
||||
The preferred way of communicating would be MQTT, default is HTTP.
|
||||
If you are using the original go-e App or other client services to communicate with the wallbox, disable MQTT during the setup in order to make
|
||||
sure all services are able to communicate with the wallbox.
|
||||
There is no support for multiple MQTT clients on go-e devices, thus nymea defaults to HTTP to prevent constant
|
||||
reconfiguration trough the clients.
|
||||
|
||||
The preferred way of communicating would be MQTT (API V2), default is HTTP (API V1).
|
||||
|
||||
## Supported Things
|
||||
|
||||
* go-eCharger Home
|
||||
* go-eCharger Home (Hardware V1 and V2 using `API V1`)
|
||||
* go-eCharger Home (Hardware V3 using `API V2`)
|
||||
|
||||
## Requirements
|
||||
|
||||
* The package "nymea-plugin-goecharger" must be installed.
|
||||
* The device must be in the same local area network as nymea.
|
||||
* The Firmware version has to be at least `030.00`.
|
||||
* The Firmware version has to be at least `030.0` (API V1).
|
||||
* The Firmware version has to be at least `051.1` (API V2).
|
||||
|
||||
## Developer documentation
|
||||
|
||||
The documentation of the API can be found [here](https://github.com/goecharger/go-eCharger-API-v1).
|
||||
The documentation of the API V1 can be found [here](https://github.com/goecharger/go-eCharger-API-v1).
|
||||
The documentation of the API v2 can be found [here](https://github.com/goecharger/go-eCharger-API-v2).
|
||||
|
||||
## More
|
||||
|
||||
|
|
|
|||
|
|
@ -852,6 +852,7 @@ void IntegrationPluginGoECharger::reconfigureMqttChannelV1(Thing *thing, const Q
|
|||
QString clientId = QString("go-eCharger:%1:%2").arg(serialNumber).arg(statusMap.value("rbc").toInt());
|
||||
QString statusTopic = QString("/go-eCharger/%1/status").arg(serialNumber);
|
||||
QString commandTopic = QString("/go-eCharger/%1/cmd/req").arg(serialNumber);
|
||||
|
||||
qCDebug(dcGoECharger()) << "Setting up mqtt channel for" << thing << address.toString() << statusTopic << commandTopic;
|
||||
|
||||
MqttChannel *channel = hardwareManager()->mqttProvider()->createChannel(clientId, address, {statusTopic, commandTopic});
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@
|
|||
"name":"useMqtt",
|
||||
"displayName": "Use MQTT interface",
|
||||
"type": "bool",
|
||||
"defaultValue": true
|
||||
"defaultValue": false
|
||||
},
|
||||
{
|
||||
"id": "3ad014e2-c948-406e-99be-eba1d866ea20",
|
||||
|
|
|
|||
Loading…
Reference in New Issue