Hi Jason
I changed the auth parameter to use quotes around the username and password but still get client unauthorised response. See output from skyweather startup log.
########################################################
SkyWeather2 Weather Station Version 027.1 - SwitchDoc Labs
Program Started at:2022-05-05 08:06:41
##########################################################
Starting pigpio daemon
b''
----------------------
BMP280: Present
SkyCam: Not Present
OLED: Not Present
SunAirPlus/SunControl: Not Present
SolarMAX: Not Present
DustSensor: Not Present
UseBlynk: Disabled
UseWSLIGHTNING: Disabled
UseWSAQI: Disabled
UseWSSKYCAM: Disabled
UseMySQL: Enabled
UseMQTT: Enabled
Check WLAN: Present
WeatherUnderground: Not Present
UseWeatherStem: Not Present
----------------------
Traceback (most recent call last):
File "/home/pi/SDL_Pi_Skyweather2/sendemail.py", line 51, in sendEmail
s.login(config.mailUser, config.mailPassword)
File "/usr/lib/python3.7/smtplib.py", line 730, in login
raise last_exception
File "/usr/lib/python3.7/smtplib.py", line 721, in login
initial_response_ok=initial_response_ok)
File "/usr/lib/python3.7/smtplib.py", line 642, in auth
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (534, b'5.7.9 Application-specific password required. Learn more at\n5.7.9
support.google.com/mail/?p=InvalidSecondFactor nr1-20020a1709068b8100b006f3ef214e6fsm385015ejc.213 - gsmtp')
sendmail exception raised
-----------------
Scheduled Jobs
-----------------
######
creating new MQTT instance
connecting to broker
Jobstore default:
patTheDog (trigger: interval[0:00:20], next run at: 2022-05-05 08:07:08 BST)
readWiredSensors (trigger: interval[0:00:30], next run at: 2022-05-05 08:07:18 BST)
tick (trigger: interval[0:01:00], next run at: 2022-05-05 08:07:48 BST)
printState (trigger: interval[0:01:00], next run at: 2022-05-05 08:07:48 BST)
publish (trigger: interval[0:10:00], next run at: 2022-05-05 08:16:48 BST)
barometricTrend (trigger: interval[0:15:00], next run at: 2022-05-05 08:21:48 BST)
writeWeatherRecord (trigger: interval[0:15:00], next run at: 2022-05-05 08:21:48 BST)
writeITWeatherRecord (trigger: interval[0:15:00], next run at: 2022-05-05 08:21:48 BST)
cleanPictures (trigger: cron[day='*', hour='3', minute='4'], next run at: 2022-05-06 03:04:00 BST)
cleanTimeLapses (trigger: cron[day='*', hour='3', minute='10'], next run at: 2022-05-06 03:10:00 BST)
buildTimeLapse (trigger: cron[day='*', hour='5', minute='30'], next run at: 2022-05-06 05:30:00 BST)
rebootPi (trigger: cron[day='5-30/5', hour='0', minute='4'], next run at: 2022-05-10 00:04:00 BST)
-----------------
Connected with result code 5
starting 433MHz scanning
######
Connected with result code 5
Processing Prologue data
This is the raw data: {"time" : "2022-05-05 08:06:48", "model" : "Prologue sensor", "id" : 5, "rid" : 235, "channel" : 3, "battery" : "OK", "temperature_C" : 16.500, "button" : 0, "humidity" : 65}
Mosquitto not available
Chinese Indoor Weather Sensors Found
Connected with result code 5
Connected with result code 5
Connected with result code 5
Tick! The time is: 2022-05-05 08:08:48.212856
-------------
Current State
-------------
-------------
latest MainSensor Reading= Never
MainDeviceNumber= 8
OutdoorTemperature = 0.0
OutdoorHumidity = 0.0
latest Indoor Sensor Reading= 2022-05-05 08:06:48
IndoorDeviceNumber= 3
IndoorTemperature = 16.5
IndoorHumidity = 65
Rain60Minutes = 0.0
SunlightVisible = 0.0
SunlightUVIndex = 0.0
WindSpeed = 0
WindGust = 0
WindDirection = 0.2
TotalRain = 0
BarometricTemperature = 28.66
BarometricPressure = 100.58361
Altitude = 187.0
BarometricPressureSeaLevel = 102.84301
BarometricTemperature = 28.66
barometricTrend = True
pastBarometricReading = 0
AQI = 0.0
Hour24_AQI = 0.0
WS_AQI = 0.0
WS_Hour24_AQI = 0.0
Main Battery Status = OK
CPU Temperature = 0.0
-------------
runRainbow = False
flashStrip = False
runOLED = True
-------------
Last_Event = My Last Event
-------------
batteryVoltage 0
batteryCurrent 0
solarVoltage 0
solarCurrent 0
loadVoltage 0
loadCurrent 0
batteryPower 0
solarPower 0
loadPower 0
batteryCharge 0
SolarMAX Inside Temperature 0.0
SolarMAX Inside Humidity 0.0
SolarMAX Last Received Never
-------------
-------------
-------------
fanState = False
-------------
------Patting The Dog-------
processing FT020T Data
This is the raw data: {"time" : "2022-05-05 08:08:56", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 238, "cumulativerain" : 7845, "temperature" : 923, "humidity" : 84, "light" : 19276, "uv" : 13, "mic" : "CRC"}
Mosquitto not available
Main Weather Sensors Found
Connected with result code 5
Processing Prologue data
This is the raw data: {"time" : "2022-05-05 08:09:00", "model" : "Prologue sensor", "id" : 5, "rid" : 116, "channel" : 1, "battery" : "OK", "temperature_C" : 14.600, "button" : 0, "humidity" : 58}
Mosquitto not available
Processing Prologue data
This is the raw data: {"time" : "2022-05-05 08:09:02", "model" : "Prologue sensor", "id" : 5, "rid" : 163, "channel" : 2, "battery" : "OK", "temperature_C" : 18.400, "button" : 0, "humidity" : 70}
Mosquitto not available
Processing Prologue data
This is the raw data: {"time" : "2022-05-05 08:09:04", "model" : "Prologue sensor", "id" : 5, "rid" : 235, "channel" : 3, "battery" : "OK", "temperature_C" : 16.500, "button" : 0, "humidity" : 65}
Mosquitto not available
------Patting The Dog-------