fix cert issue

master
Andrew Woodlee 2 weeks ago
parent c4d950c580
commit 0ce8b4e34b

@ -90,7 +90,7 @@ if sslEnabled:
except IOError:
print('Exception: {0}'.format(IOError.strerror))
# transform the certificate to a multi-line C-string variable
with open("transformerMonitorServerCert_2.crt", "r") as file:
with open("transformerMonitorServerCert_1.crt", "r") as file:
for item in file:
for i in item.splitlines():
if i.startswith("-----END CERTIFICATE-----"):

@ -49,8 +49,8 @@
//********* GPIO PINS ************* //
// pins for UART
#define PIN_SerialATM_RX 16 //RX pin, CHANGE IT according to your board
#define PIN_SerialATM_TX 17 //TX pin, CHANGE IT according to your board
#define PIN_SerialATM_RX 19 //RX pin, CHANGE IT according to your board
#define PIN_SerialATM_TX 13 //TX pin, CHANGE IT according to your board
// GPIO pins where the DS18B20 sensors are connected
const int oilTempBus = 4;

@ -17,7 +17,7 @@ board = featheresp32
framework = arduino
extra_scripts = pre:envSetup.py
monitor_speed = 9600
upload_port = COM7
upload_port = COM8
[env:dev]
build_flags = -D DEV ${env.build_flags} -D ATM90E26_EIC
@ -47,10 +47,10 @@ build_src_filter = +<*> -<.git/> -<.svn/> -<tests/>
[env:dev-ATM90E26]
build_flags = -D DEV ${env.build_flags} -D ATM90E26_EIC
lib_deps =
lib_deps =
SPI
knolleary/pubsubclient
https://github.com/whatnick/ATM90E26_Arduino
https://github.com/CircuitSetup/ATM90E36
bblanchon/ArduinoJson @ ^6.21.3
paulstoffregen/OneWire@^2.3.8
milesburton/DallasTemperature@^3.11.0

Loading…
Cancel
Save