Update documentation and fix typos

pull/77/head
Simon Stürz 2022-08-22 16:55:52 +02:00
parent f96adcfb3c
commit 66b42e26ae
4 changed files with 10 additions and 9 deletions

View File

@ -4,9 +4,9 @@ Connects to a Huawei FusionSolar using Modbus RTU or TCP.
## Huawei FusionSolar
In order to communicate with the Huawei FusionSolar inverter, a working communication must be provided. This can be done with a Huawei SmartDongle or with a directly with the modbus RTU connection.
The Huawei FusionSolar can be connected either via the Huawei SmartDongle or via a Modbus RTU (RS485) connection.
Once nymea has connected successfully to the inverter, following devices will be supported:
The following devices are supported:
* Huawei FusionSolar Inverter (all model supported by the SmartDongle)
* Huawei Meter (connected internally to the Inverter)
@ -27,7 +27,7 @@ with the Huawei Solar Inverter. In order to allow nymea to read from the device
You can also contact the [official Huawei support](mailto:eu_inverter_support@huawei.com) in order to get the update files and instructions, or get it from [here](https://support.huawei.com/enterprise/en/digital-power/sdongle-pid-23826585/software).
> The SmartDongle provides only access to the registers specified in the Huawei `openAPI`. Full modbus register access requires a modbus RTU connction.
> The SmartDongle provides only access to the registers specified in the Huawei `openAPI`. Full modbus register access requires a modbus RTU connection.
### Direct modbus RTU connection (RS485).

View File

@ -43,7 +43,7 @@ public:
explicit HuaweiFusionSolar(const QHostAddress &hostAddress, uint port, quint16 slaveId, QObject *parent = nullptr);
~HuaweiFusionSolar() = default;
bool initialize() override;
virtual bool initialize() override;
virtual bool update() override;
private:

View File

@ -51,7 +51,7 @@ void HuaweiFusionSolarDiscovery::startDiscovery()
checkNetworkDevice(networkDeviceInfo);
}
// Imedialty check any new device gets discovered
// Immedialty check any new device gets discovered
connect(discoveryReply, &NetworkDeviceDiscoveryReply::networkDeviceInfoAdded, this, &HuaweiFusionSolarDiscovery::checkNetworkDevice);
// Check what might be left on finished

View File

@ -74,7 +74,7 @@
},
{
"name": "huaweiRtuInverter",
"displayName": "Huawei FusionSolar Inverter ((Modbus RTU)",
"displayName": "Huawei FusionSolar Inverter (Modbus RTU)",
"id": "77558007-5076-4ca6-bd46-169f215c3e29",
"createMethods": ["discovery"],
"interfaces": ["solarinverter", "connectable"],
@ -123,7 +123,7 @@
"type": "double",
"unit": "Watt",
"defaultValue": 0,
"cached": true
"cached": false
},
{
"id": "49b92919-301c-4ff7-ae63-0c1a2184e3f4",
@ -164,7 +164,7 @@
"type": "double",
"unit": "Watt",
"defaultValue": 0.00,
"cached": true
"cached": false
},
{
"id": "759554dd-74c5-4836-9792-96e02eb816f0",
@ -183,7 +183,8 @@
"displayNameEvent": "Total real energy imported changed",
"type": "double",
"unit": "KiloWattHour",
"defaultValue": 0.00
"defaultValue": 0.00,
"cached": true
},
{
"id": "af48ff45-11ba-401e-a812-bb1db0896449",