Generalnie coś jest nie do końca dobrze zrobione, bo nie widzę urządzenia w cloud a dostaje channel conflict - no to albo jest i faktycznie jest konflikt albo go nie ma i nie ma konfliktu ?
I po to nie używałem WebInterface, żeby teraz za każdym razem kiedy coś jest pomieszane nie musieć klepać od nowa ustawień...
Code: Select all
Creating OneWire bus for pin: 4
Initializing OneWire bus at pin 4
OneWire(pin 4) Parasite power is OFF
OneWire(pin 4) Found 1 devices:
Index 0 - address {0x28, 0x52, 0x29, 0xB5, 0x63, 0x20, 0x01, 0x9B}
Device address not provided. Using device from index 0
Channel(2) value changed to -1.00
GPM[3]: DefaultUnitAfterValue "lx"
GPM[6]: DefaultUnitAfterValue "km/h"
[ 773][E][Wire.cpp:381] setClock(): could not acquire lock
Supla - starting initialization
Main storage not configured
LittleFsConfig: config file size 68
LittleFsConfig: initializing storage from file...
LittleFsConfig: init result 1
Config incomplete: missing Wi-Fi SSID
LAST STATE ADDED: Missing Wi-Fi SSID
Config incomplete: missing Wi-Fi password
LAST STATE ADDED: Missing Wi-Fi password
Config incomplete: missing server
Config incomplete: missing email
Security level: 0
Supla CA ceritificate is selected, but it is not set. Connection will fail
RemoteDeviceConfig: Registering field 0x00000010
Clock: automaticTimeSync: 1
Channel[0] temperature correction 0.000000
Channel[0] humidity correction 0.000000
Channel[1] temperature correction 0.000000
Channel[1] humidity correction 0.000000
GPM[3]: config loaded successfully
GPM[4]: config loaded successfully
GPM[6]: config loaded successfully
Channel(0) value changed to 24.12
Manufacturer ID=0x5449
Device ID=0x1050
Device Serial Number=209-4618-6900
Channel(1) value changed to temp(23.979797), humi(53.961182)
Channel(2) value changed to 0.00
MS5611 init.
MS5611 found.
MS5611 getting pres.
Channel(4) value changed to temp(1017.458374), humi(-1.000000)
Config incomplete: deviceMode = CONFIG
GUID: 36587DD6C4487007E9F6F3D5010BC2D2
Device name: SUPLA-ESP32
Device software version: SDK 24.02-dev
Initializing network layer
Network AP/hostname: SUPLA-ESP32-AC67B236E4B8
Using Supla protocol version 21
Current status: [5] SuplaDevice initialized
Wi-Fi SSID missing
WiFi: enter config mode with SSID: "SUPLA-ESP32-AC67B236E4B8"
Starting local web server
LAST STATE ADDED: Config mode
Current status: [40] Config mode
addClock: DEPRECATED
MS5611 getting pres.
Channel(4) value changed to 1017.45
Channel(3) value changed to 74.00
Speed: 0.00
Channel(7) value changed to 195.90
Wind direction: 195.91
Analog read of voltage:191
Channel(8) value changed to 0.59
Channel(1) value changed to temp(23.999939), humi(53.961182)
Channel(3) value changed to 72.00
MS5611 getting pres.
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
Channel(8) value changed to 0.44
Channel(1) value changed to temp(23.979797), humi(53.961182)
MS5611 getting pres.
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
SERVER: get request
WebSender error - lost connection
[ 40093][E][vfs_api.cpp:105] open(): /littlefs/custom_ca.pem does not exist, no permits for creation
LittleFsConfig:: custom ca file missing
Channel(3) value changed to 73.00
MS5611 getting pres.
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
SERVER: get request
[ 50972][E][vfs_api.cpp:105] open(): /littlefs/custom_ca.pem does not exist, no permits for creation
LittleFsConfig:: custom ca file missing
MS5611 getting pres.
Channel(4) value changed to 1017.49
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
SERVER: get favicon.ico
Channel(1) value changed to temp(23.999939), humi(53.961182)
Channel(3) value changed to 72.00
MS5611 getting pres.
Channel(4) value changed to 1017.60
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
Channel(1) value changed to temp(24.010010), humi(53.961182)
Channel(3) value changed to 74.00
MS5611 getting pres.
Channel(4) value changed to 1017.49
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
SERVER: post request
SERVER: key sid, value ........
SERVER: key wpw, value ........
SERVER: key protocol_supla, value 1
SERVER: key svr, value beta-cloud.supla.org
SERVER: key eml, value ............
SERVER: key sec, value 2
SERVER: key custom_ca, value
SERVER: key protocol_mqtt, value 0
SERVER: key mqttserver, value
SERVER: key mqtttls, value 0
SERVER: key mqttport, value 1883
SERVER: key mqttauth, value 1
SERVER: key mqttuser, value
SERVER: key mqttpasswd, value
SERVER: key mqttprefix, value
SERVER: key mqttqos, value 0
SERVER: key mqttretain, value 0
SERVER: key rbt, value 2
rbt found 2
Triggering soft restart
LAST STATE ADDED: Software reset (82)
Current status: [41] Software reset
SERVER: get request
Channel(1) value changed to temp(23.999939), humi(53.961182)
MS5611 getting pres.
Channel(4) value changed to 1017.64
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
Reset requested. Reset device
Stopping local web server
E (99324) wifi_init_default: netstack cb reg failed with 12308
Resetting in 0.5s...
See you soon!
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_RESET),boot:0x17 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DOUT, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13220
ho 0 tail 12 room 4
load:0x40080400,len:3028
entry 0x400805e4
Creating OneWire bus for pin: 4
Initializing OneWire bus at pin 4
OneWire(pin 4) Parasite power is OFF
OneWire(pin 4) Found 1 devices:
Index 0 - address {0x28, 0x52, 0x29, 0xB5, 0x63, 0x20, 0x01, 0x9B}
Device address not provided. Using device from index 0
Channel(2) value changed to -1.00
GPM[3]: DefaultUnitAfterValue "lx"
GPM[6]: DefaultUnitAfterValue "km/h"
[ 784][E][Wire.cpp:381] setClock(): could not acquire lock
Supla - starting initialization
Main storage not configured
LittleFsConfig: config file size 430
LittleFsConfig: initializing storage from file...
LittleFsConfig: init result 1
Security level: 2
RemoteDeviceConfig: Registering field 0x00000010
Clock: automaticTimeSync: 1
Channel[0] temperature correction 0.000000
Channel[0] humidity correction 0.000000
Channel[1] temperature correction 0.000000
Channel[1] humidity correction 0.000000
GPM[3]: config loaded successfully
GPM[4]: config loaded successfully
GPM[6]: config loaded successfully
Channel(0) value changed to 24.12
Manufacturer ID=0x5449
Device ID=0x1050
Device Serial Number=209-4618-6900
Channel(1) value changed to temp(24.010010), humi(53.961182)
Channel(2) value changed to 0.00
MS5611 init.
MS5611 found.
MS5611 getting pres.
Channel(4) value changed to temp(1017.497559), humi(-1.000000)
GUID: 36587DD6C4487007E9F6F3D5010BC2D2
Device name: SUPLA-ESP32
Device software version: SDK 24.02-dev
Initializing network layer
Network AP/hostname: SUPLA-ESP32-AC67B236E4B8
Using Supla protocol version 21
Current status: [5] SuplaDevice initialized
Enter normal mode
addClock: DEPRECATED
MS5611 getting pres.
Channel(4) value changed to 1017.49
WiFi: establishing connection with SSID: "...."
Connected BSSID: 32:DE:4B:9D:ED:DE
local IP: 192.168.0.122
subnetMask: 255.255.255.0
gatewayIP: 192.168.0.1
Signal strength (RSSI): -75 dBm
Connecting without certificate validation (INSECURE)
Establishing encrypted connection with: beta-cloud.supla.org (port: 2016)
SSL error: 48, PADLOCK - Input data should be aligned
LAST STATE ADDED: PADLOCK - Input data should be aligned (8)
Connected to Supla Server
Initializing SRPC
LAST STATE ADDED: Register in progress (8)
Current status: [10] Register in progress
CH #0, type: 3034, FuncList: 0x0, default: 40, flags: 0x8010000, value: [00 00 00 00 00 20 38 40]
CH #1, type: 3038, FuncList: 0x0, default: 45, flags: 0x8010000, value: [ca 5d 00 00 c9 d2 00 00]
CH #2, type: 3048, FuncList: 0x0, default: 270, flags: 0x10000, value: [00 00 00 00 00 00 00 00]
CH #3, type: 9000, FuncList: 0x0, default: 520, flags: 0x8010000, value: [00 00 00 00 00 00 00 00]
CH #4, type: 9000, FuncList: 0x0, default: 520, flags: 0x8010000, value: [00 00 00 00 fb cb 8f 40]
CH #5, type: 9000, FuncList: 0x0, default: 520, flags: 0x8010000, value: [00 00 00 00 00 00 00 00]
CH #6, type: 0, FuncList: 0x0, default: 0, flags: 0x10000, value: [00 00 00 00 00 00 00 00]
CH #7, type: 3034, FuncList: 0x0, default: 40, flags: 0x10000, value: [00 00 00 00 00 00 00 00]
CH #8, type: 3034, FuncList: 0x0, default: 40, flags: 0x10000, value: [00 00 00 00 00 00 00 00]
Send: [53 55 50 4C 41 15 01 00 00 00 45 00 00 00 29 03 00 00 72 61 66 61 6C 65 6B 6B 61 6C 77 61 6B 40 77 70 2E 70 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E7 B2 41 09 DA 9B 7D E8 32 A2 B6 06 0D CD DF 47 36 58 7D D6 C4 48 70 07 E9 F6 F3 D5 01 0B C2 D2 53 55 50 4C 41 2D 45 53 50 33 32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(1) value changed to temp(23.999939), humi(53.961182)
Channel(3) value changed to 75.00
Speed: 0.00
Channel(7) value changed to 195.90
Wind direction: 195.91
Analog read of voltage:142
Channel(8) value changed to 0.44
Recv: [53 55 50 4C 41 15 01 00 00 00 46 00 00 00 07 00 00 00 07 00 00 00 78 17 01 53 55 50 4C 41 ]
LAST STATE ADDED: Channel conflict! (10)
Current status: [27] Channel conflict!
Deinitializing SRPC
Channel(3) value changed to 76.00
MS5611 getting pres.
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
Channel(3) value changed to 74.00
MS5611 getting pres.
Channel(4) value changed to 1017.35
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
Connecting without certificate validation (INSECURE)
Establishing encrypted connection with: beta-cloud.supla.org (port: 2016)
SSL error: 48, PADLOCK - Input data should be aligned
Connected to Supla Server
Initializing SRPC
Send: [53 55 50 4C 41 15 01 00 00 00 45 00 00 00 29 03 00 00 72 61 66 61 6C 65 6B 6B 61 6C 77 61 6B 40 77 70 2E 70 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E7 B2 41 09 DA 9B 7D E8 32 A2 B6 06 0D CD DF 47 36 58 7D D6 C4 48 70 07 E9 F6 F3 D5 01 0B C2 D2 53 55 50 4C 41 2D 45 53 50 33 32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(1) value changed to temp(23.979797), humi(53.863525)
Channel(3) value changed to 75.00
MS5611 getting pres.
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
Recv: [53 55 50 4C 41 15 01 00 00 00 46 00 00 00 07 00 00 00 07 00 00 00 78 17 01 53 55 50 4C 41 ]
Current status: [27] Channel conflict!
Deinitializing SRPC
Channel(1) value changed to temp(23.999939), humi(53.863525)
Channel(3) value changed to 74.00
MS5611 getting pres.
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
Channel(1) value changed to temp(24.010010), humi(53.863525)
Channel(3) value changed to 75.00
MS5611 getting pres.
Channel(4) value changed to 1017.49
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
Connecting without certificate validation (INSECURE)
Establishing encrypted connection with: beta-cloud.supla.org (port: 2016)
SSL error: 48, PADLOCK - Input data should be aligned
Connected to Supla Server
Initializing SRPC
Send: [53 55 50 4C 41 15 01 00 00 00 45 00 00 00 29 03 00 00 72 61 66 61 6C 65 6B 6B 61 6C 77 61 6B 40 77 70 2E 70 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E7 B2 41 09 DA 9B 7D E8 32 A2 B6 06 0D CD DF 47 36 58 7D D6 C4 48 70 07 E9 F6 F3 D5 01 0B C2 D2 53 55 50 4C 41 2D 45 53 50 33 32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
Channel(1) value changed to temp(23.999939), humi(53.863525)
MS5611 getting pres.
Channel(4) value changed to 1017.35
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
Recv: [53 55 50 4C 41 15 01 00 00 00 46 00 00 00 07 00 00 00 07 00 00 00 78 17 01 53 55 50 4C 41 ]
Current status: [27] Channel conflict!
Deinitializing SRPC
Channel(3) value changed to 76.00
MS5611 getting pres.
Channel(4) value changed to 1017.53
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
Channel(3) value changed to 75.00
MS5611 getting pres.
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
Connecting without certificate validation (INSECURE)
Establishing encrypted connection with: beta-cloud.supla.org (port: 2016)
SSL error: 48, PADLOCK - Input data should be aligned
Connected to Supla Server
Initializing SRPC
Send: [53 55 50 4C 41 15 01 00 00 00 45 00 00 00 29 03 00 00 72 61 66 61 6C 65 6B 6B 61 6C 77 61 6B 40 77 70 2E 70 6C 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 E7 B2 41 09 DA 9B 7D E8 32 A2 B6 06 0D CD DF 47 36 58 7D D6 C4 48 70 07 E9 F6 F3 D5 01 0B C2 D2 53 55 50 4C 41 2D 45 53 50 33 32 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ]
Send: [53 55 50 4C 41 ]
MS5611 getting pres.
Channel(4) value changed to 1017.39
Speed: 0.00
Wind direction: 195.91
Analog read of voltage:142
Recv: [53 55 50 4C 41 15 01 00 00 00 46 00 00 00 07 00 00 00 07 00 00 00 78 17 01 53 55 50 4C 41 ]
Current status: [27] Channel conflict!
Deinitializing SRPC
Channel(1) value changed to temp(24.020081), humi(53.863525)
MS5611 getting pres.
Channel(4) value changed to 1017.53