diff --git a/ESP8266_CC1101.png b/ESP8266_CC1101.png new file mode 100644 index 0000000..11c03aa Binary files /dev/null and b/ESP8266_CC1101.png differ diff --git a/README.md b/README.md index b16f191..269f2a1 100644 --- a/README.md +++ b/README.md @@ -39,16 +39,23 @@ Provide your water meter serial number and decryption key. #define SERIAL_NUMBER 0x63, 0x00, 0x05, 0x43 ``` -Add your Wifi credentials (ssid, password). Add your MQTT broker ip address. If your -broker uses authentication add MQTT username/password. +Provide your wifi credentials (ssid, 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 const credentials = { + { "ssid1", "********", "10.0.0.1", "mqttuser", "********"} +``` + +You can provide multiple wifi configurations: ``` // more than one wifi credentials are supported, upper one wins // "ssid", "wifi_passphrase", "mqtt_broker", "mqtt_username", "mqtt_password" std::vector const credentials = { { "ssid1", "********", "", "", ""} // no MQTT , { "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 | | GDO2 | not connected| not connected| +ESP8266_CC1101 + Thanks to [weetmuts](https://github.com/weetmuts) for his great job on the wmbusmeters. diff --git a/multical21.png b/multical21.png index e6a6052..6fc7d4f 100644 Binary files a/multical21.png and b/multical21.png differ