chester4444 / esp-multical21

ESP8266/ESP32 decrypts wireless MBus frames from a Multical21 water meter
GNU General Public License v3.0
84 stars 33 forks source link

credentials - MQTT #9

Closed babajun12 closed 10 months ago

babajun12 commented 1 year ago

Hi, I´d like to give it a try and found that the crentails.h file is needed. See example below. Why are three SSIDs implemented?

credentails.h:

#ifndef CREDENTIALS_H #define CREDENTIALS_H #define SSID1 "1st_ssid" #define PW1 "password_1" #define SSID2 "2nd_ssid" #define PW2 "password_2" #define SSID3 "3rd_ssid" #define PW3 "password3" #define MQTT1 "192.168.1.30" #define MQTT2 "192.168.1.30" #define MQTT3 "192.168.1.30" #define W_SERIAL_NUMBER "meter_serial" #define W_ENCRYPTION_KEY "insert_your_key_here" #endif

Is there a way to add user:password for MQTT authentication?

352 Serial.println(credentials[cred][2]);

Regards, Gerhard

runevad commented 1 year ago

I have made a file in my fork with MQTT Credentials.

https://github.com/runevad/esp-multical21

chester4444 commented 10 months ago

New version now supports MQTT authentication