Readme update

This commit is contained in:
Chester 2023-11-28 17:16:39 +01:00
parent 4b6f4a136a
commit 684b9c2d09
3 changed files with 12 additions and 3 deletions

BIN
ESP8266_CC1101.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 KiB

View file

@ -39,16 +39,23 @@ Provide your water meter serial number and decryption key.
#define SERIAL_NUMBER 0x63, 0x00, 0x05, 0x43 #define SERIAL_NUMBER 0x63, 0x00, 0x05, 0x43
``` ```
Add your Wifi credentials (ssid, password). Add your MQTT broker ip address. If your Provide your wifi credentials (ssid, password).
broker uses authentication add MQTT username/password. Add your optional MQTT broker ip address. If your broker uses authentication add MQTT username/password.
```
// "ssid", "wifi_passphrase", "mqtt_broker", "mqtt_username", "mqtt_password"
std::vector<CREDENTIAL> const credentials = {
{ "ssid1", "********", "10.0.0.1", "mqttuser", "********"}
```
You can provide multiple wifi configurations:
``` ```
// more than one wifi credentials are supported, upper one wins // more than one wifi credentials are supported, upper one wins
// "ssid", "wifi_passphrase", "mqtt_broker", "mqtt_username", "mqtt_password" // "ssid", "wifi_passphrase", "mqtt_broker", "mqtt_username", "mqtt_password"
std::vector<CREDENTIAL> const credentials = { std::vector<CREDENTIAL> const credentials = {
{ "ssid1", "********", "", "", ""} // no MQTT { "ssid1", "********", "", "", ""} // no MQTT
, { "ssid2", "********", "10.14.0.1", "", ""} // MQTT without auth , { "ssid2", "********", "10.14.0.1", "", ""} // MQTT without auth
, { "ssid3", "********", "10.0.0.111", "mqttuser", "mqtt1234"} // MQTT with auth , { "ssid3", "********", "10.0.0.111", "mqttuser", "********"} // MQTT with auth
}; };
``` ```
@ -77,4 +84,6 @@ Connect your ESP8266/ESP32 to the CC1101 868Mhz module:
| GDO0 | D2 | 32 | | GDO0 | D2 | 32 |
| GDO2 | not connected| not connected| | GDO2 | not connected| not connected|
<img src="ESP8266_CC1101.png" alt="ESP8266_CC1101" />
Thanks to [weetmuts](https://github.com/weetmuts) for his great job on the wmbusmeters. Thanks to [weetmuts](https://github.com/weetmuts) for his great job on the wmbusmeters.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 216 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Before After
Before After