Closed itProfi closed 5 years ago
The brownout error means that the voltage supplied to the ESP32 has dropped below a certain value.
I can’t speak for the power supply of the WeMos, but if you think it should hold as expected, you can always disable the brownout detection in the sdkconfing file or via make menuconfig
.
Look for BROWNOUT_DET or something like that.
Ok, i off brownout detection in the sdkconfing file or via make menuconfig.
I (2871) WiFi: Connected
I (4401) event: sta ip: 192.168.1.65, mask: 255.255.255.0, gw: 192.168.1.1
I (4401) BLE2MQTT: Connected to WiFi, connecting to MQTT
I (4401) MQTT: Connecting MQTT client
I (4441) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (4731) MQTT: MQTT client connected
I (4731) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (5051) MQTT_CLIENT: No PING_RESP, disconnected
I (5051) MQTT_CLIENT: Reconnect after 10000 ms
I (5051) MQTT: MQTT client disconnected
I (5051) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (10261) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (10281) MQTT: MQTT client connected
I (10281) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (10311) MQTT_CLIENT: No PING_RESP, disconnected
I (10311) MQTT_CLIENT: Reconnect after 10000 ms
I (10311) MQTT: MQTT client disconnected
I (10311) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (15331) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (15341) MQTT: MQTT client connected
I (15341) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (15361) MQTT_CLIENT: No PING_RESP, disconnected
I (15361) MQTT_CLIENT: Reconnect after 10000 ms
I (15361) MQTT: MQTT client disconnected
I (15361) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (20371) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (20391) MQTT: MQTT client connected
I (20391) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (20401) MQTT_CLIENT: No PING_RESP, disconnected
I (20411) MQTT_CLIENT: Reconnect after 10000 ms
I (20411) MQTT: MQTT client disconnected
I (20411) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (25421) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (25431) MQTT: MQTT client connected
I (25431) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (25721) MQTT_CLIENT: No PING_RESP, disconnected
I (25721) MQTT_CLIENT: Reconnect after 10000 ms
I (25721) MQTT: MQTT client disconnected
I (25731) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (30741) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (30751) MQTT: MQTT client connected
I (30751) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (30761) MQTT_CLIENT: No PING_RESP, disconnected
I (30761) MQTT_CLIENT: Reconnect after 10000 ms
I (30761) MQTT: MQTT client disconnected
I (30771) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (35781) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (35801) MQTT: MQTT client connected
I (35801) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (36061) MQTT_CLIENT: No PING_RESP, disconnected
I (36071) MQTT_CLIENT: Reconnect after 10000 ms
I (36071) MQTT: MQTT client disconnected
I (36071) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (42001) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (42011) MQTT: MQTT client connected
I (42011) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (42031) MQTT_CLIENT: No PING_RESP, disconnected
I (42031) MQTT_CLIENT: Reconnect after 10000 ms
I (42031) MQTT: MQTT client disconnected
I (42031) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (47231) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (47851) MQTT: MQTT client connected
I (47851) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (47921) MQTT_CLIENT: No PING_RESP, disconnected
I (47921) MQTT_CLIENT: Reconnect after 10000 ms
I (47921) MQTT: MQTT client disconnected
I (47921) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (52931) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (52951) MQTT: MQTT client connected
I (52951) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (52971) MQTT_CLIENT: No PING_RESP, disconnected
I (52981) MQTT_CLIENT: Reconnect after 10000 ms
I (52981) MQTT: MQTT client disconnected
I (52981) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (58001) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (58011) MQTT: MQTT client connected
I (58011) BLE2MQTT: Connected to MQTT, scanning for BLE devices
I (58461) BLE2MQTT: Discovered BLE device: de:99:1d:a1:b3:85, connecting
E (60021) MQTT_CLIENT: No PING_RESP, disconnected
I (60021) MQTT_CLIENT: Reconnect after 10000 ms
I (60021) MQTT: MQTT client disconnected
I (60021) BLE2MQTT: Disconnected from MQTT, stopping BLE
E (60031) BT_BTM: BTM_BleScan scan not active
W (60031) BT_APPL: bta_dm_ble_scan stop scan failed, status=0x6
E (60041) BLE: Scanning stopping failed, status: 0x1
W (61111) BT_APPL: bta_gattc_conn_cback() - cif=1 connected=0 conn_id=1 reason=0x003e
E (61111) BLE: Open failed, status = 0x85
I (65041) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (65051) MQTT: MQTT client connected
I (65051) BLE2MQTT: Connected to MQTT, scanning for BLE devices
I (65321) BLE2MQTT: Discovered BLE device: de:99:1d:a1:b3:85, connecting
E (65861) MQTT_CLIENT: No PING_RESP, disconnected
I (65861) MQTT_CLIENT: Reconnect after 10000 ms
I (65871) MQTT: MQTT client disconnected
I (65871) BLE2MQTT: Disconnected from MQTT, stopping BLE
E (65871) BT_BTM: BTM_BleScan scan not active
W (65881) BT_APPL: bta_dm_ble_scan stop scan failed, status=0x6
E (65891) BLE: Scanning stopping failed, status: 0x1
I (70891) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (71391) MQTT: MQTT client connected
I (71391) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (71401) BT_HCI: btu_hcif_hdl_command_complete opcode 0x200c status 0xc
E (71441) MQTT_CLIENT: No PING_RESP, disconnected
I (71441) MQTT_CLIENT: Reconnect after 10000 ms
I (71441) MQTT: MQTT client disconnected
I (71451) BLE2MQTT: Disconnected from MQTT, stopping BLE
E (71451) BT_HCI: btu_hcif_hdl_command_complete opcode 0x200c status 0xc
W (72271) BT_APPL: bta_gattc_conn_cback() - cif=1 connected=0 conn_id=1 reason=0x003e
E (72271) BLE: Open failed, status = 0x85
I (76461) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (76471) MQTT: MQTT client connected
I (76471) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (76721) MQTT_CLIENT: No PING_RESP, disconnected
I (76721) MQTT_CLIENT: Reconnect after 10000 ms
I (76721) MQTT: MQTT client disconnected
I (76721) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (81741) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (81741) MQTT: MQTT client connected
I (81741) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (83761) MQTT_CLIENT: No PING_RESP, disconnected
I (83761) MQTT_CLIENT: Reconnect after 10000 ms
I (83761) MQTT: MQTT client disconnected
I (83761) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (91561) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (91571) MQTT: MQTT client connected
I (91571) BLE2MQTT: Connected to MQTT, scanning for BLE devices
I (92761) BLE2MQTT: Discovered BLE device: de:99:1d:a1:b3:85, connecting
E (93581) MQTT_CLIENT: No PING_RESP, disconnected
I (93581) MQTT_CLIENT: Reconnect after 10000 ms
I (93581) MQTT: MQTT client disconnected
I (93581) BLE2MQTT: Disconnected from MQTT, stopping BLE
E (93591) BT_BTM: BTM_BleScan scan not active
W (93591) BT_APPL: bta_dm_ble_scan stop scan failed, status=0x6
E (93601) BLE: Scanning stopping failed, status: 0x1
I (96801) BLE2MQTT: Connected to device: de:99:1d:a1:b3:85, scanning
I (97361) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/GenericAccess/DeviceName = Amazfit Bip Watch
I (97391) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/GenericAccess/Appearance = 0
I (97431) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/GenericAccess/PeripheralPrivacyFlag = false
I (97461) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/GenericAccess/PeripheralPreferredConnectionParameters = 6,80,0,500
I (97491) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/DeviceInformation/SerialNumberString = PF0P88 130036005b
I (97521) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/DeviceInformation/HardwareRevisionString = V0.11.1.4
I (97571) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/DeviceInformation/SoftwareRevisionString = V1.1.5.04
I (97601) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/DeviceInformation/SystemID = 18446744073694714334,8762273
I (97631) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/DeviceInformation/PnPID = 1,343,15,256
I (97701) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/0000fee0-0000-1000-8000-00805f9b34fb/CurrentTime = 227,7,1,19,22,14,44,6,0,0,12
I (97821) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/0000fee0-0000-1000-8000-00805f9b34fb/PeripheralPreferredConnectionParameters = 12,12,0,600
I (98211) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/0000fee0-0000-1000-8000-00805f9b34fb/00000006-0000-3512-2118-0009af100700 = 15,57,0,227,7,1,9,0,24,12,12,227,7,1,9,5,52,53
,12,100
I (98301) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/0000fee0-0000-1000-8000-00805f9b34fb/00000007-0000-3512-2118-0009af100700 = 12,13,32,0,0,51,22,0,0,175,0,0,0
I (98511) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/0000fee0-0000-1000-8000-00805f9b34fb/00000020-0000-3512-2118-0009af100700 = 3
I (98611) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (98621) MQTT: MQTT client connected
I (98621) MQTT: Publishing from queue: de:99:1d:a1:b3:85/0000fee0-0000-1000-8000-00805f9b34fb/00000020-0000-3512-2118-0009af100700 = 3
I (98621) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/0000fee1-0000-1000-8000-00805f9b34fb/00000009-0000-3512-2118-0009af100700 = 3
I (98621) MQTT: Publishing from queue: de:99:1d:a1:b3:85/0000fee0-0000-1000-8000-00805f9b34fb/00000007-0000-3512-2118-0009af100700 = 12,13,32,0,0,51,22,0,0,175,0,0,0
I (98651) MQTT: Publishing from queue: de:99:1d:a1:b3:85/0000fee0-0000-1000-8000-00805f9b34fb/00000006-0000-3512-2118-0009af100700 = 15,57,0,227,7,1,9,0,24,12,12,227,7,1,9,
5,52,53,12,100
I (98671) MQTT: Publishing from queue: de:99:1d:a1:b3:85/0000fee0-0000-1000-8000-00805f9b34fb/PeripheralPreferredConnectionParameters = 12,12,0,600
I (98681) MQTT: Publishing from queue: de:99:1d:a1:b3:85/0000fee0-0000-1000-8000-00805f9b34fb/CurrentTime = 227,7,1,19,22,14,44,6,0,0,12
I (98701) MQTT: Publishing from queue: de:99:1d:a1:b3:85/DeviceInformation/PnPID = 1,343,15,256
I (98711) MQTT: Publishing from queue: de:99:1d:a1:b3:85/DeviceInformation/SystemID = 18446744073694714334,8762273
I (98721) MQTT: Publishing from queue: de:99:1d:a1:b3:85/DeviceInformation/SoftwareRevisionString = V1.1.5.04
I (98721) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/0000fee1-0000-1000-8000-00805f9b34fb/0000fede-0000-1000-8000-00805f9b34fb = 3
I (98741) MQTT: Publishing from queue: de:99:1d:a1:b3:85/DeviceInformation/HardwareRevisionString = V0.11.1.4
I (98751) MQTT: Publishing from queue: de:99:1d:a1:b3:85/DeviceInformation/SerialNumberString = PF0P88 130036005b
I (98761) MQTT: Publishing from queue: de:99:1d:a1:b3:85/GenericAccess/PeripheralPreferredConnectionParameters = 6,80,0,500
I (98771) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/0000fee1-0000-1000-8000-00805f9b34fb/0000fedf-0000-1000-8000-00805f9b34fb = 1
I (98771) MQTT: Publishing from queue: de:99:1d:a1:b3:85/GenericAccess/PeripheralPrivacyFlag = false
I (98791) MQTT: Publishing from queue: de:99:1d:a1:b3:85/GenericAccess/Appearance = 0
I (98801) MQTT: Publishing from queue: de:99:1d:a1:b3:85/GenericAccess/DeviceName = Amazfit Bip Watch
I (98811) MQTT: Publishing from queue: de:99:1d:a1:b3:85/Owner = BLE2MQTT-C3E8
I (98811) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/0000fee1-0000-1000-8000-00805f9b34fb/0000fed2-0000-1000-8000-00805f9b34fb = 1
I (98821) MQTT: Publishing from queue: de:99:1d:a1:b3:85/Connected = true
I (98841) BLE2MQTT: Connected to MQTT, scanning for BLE devices
I (98911) BLE2MQTT: Publishing: de:99:1d:a1:b3:85/HeartRate/HeartRateControlPoint = 1,10
E (98961) MQTT_CLIENT: No PING_RESP, disconnected
I (98961) MQTT_CLIENT: Reconnect after 10000 ms
I (98961) MQTT: MQTT client disconnected
I (98961) BLE2MQTT: Disconnected from MQTT, stopping BLE
E (98981) BT_APPL: bta_gattc_cmpl_cback unknown conn_id = 1, ignore data
W (98981) BT_APPL: bta_gattc_conn_cback() - cif=1 connected=0 conn_id=1 reason=0x0016
I (98991) BLE: Connection closed, reason = 0x0
I (98991) BLE2MQTT: Disconnected from device: de:99:1d:a1:b3:85
I (103981) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (103981) MQTT: MQTT client connected
I (103991) MQTT: Publishing from queue: de:99:1d:a1:b3:85/Connected = false
I (103991) BLE2MQTT: Connected to MQTT, scanning for BLE devices
I (104131) BLE2MQTT: Discovered Mijia Temp+Hum broadcaster
I (104141) BLE2MQTT: Discovered BLE device: 4c:65:a8:da:9d:d7, connecting
E (104281) MQTT_CLIENT: No PING_RESP, disconnected
I (104281) MQTT_CLIENT: Reconnect after 10000 ms
I (104281) MQTT: MQTT client disconnected
I (104281) BLE2MQTT: Disconnected from MQTT, stopping BLE
E (104291) BT_BTM: BTM_BleScan scan not active
W (104301) BT_APPL: bta_dm_ble_scan stop scan failed, status=0x6
E (104301) BLE: Scanning stopping failed, status: 0x1
I (107451) BLE2MQTT: Connected to device: 4c:65:a8:da:9d:d7, scanning
W (112221) BT_APPL: bta_gattc_conn_cback() - cif=1 connected=0 conn_id=1 reason=0x0013
I (112231) BLE: Connection closed, reason = 0x13
I (112231) BLE2MQTT: Disconnected from device: 4c:65:a8:da:9d:d7
I (113271) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (113291) MQTT: MQTT client connected
I (113291) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/Connected = false
I (113291) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/Owner = BLE2MQTT-C3E8
I (113301) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/Connected = true
I (113311) BLE2MQTT: Connected to MQTT, scanning for BLE devices
I (114251) BLE2MQTT: Discovered Mijia Temp+Hum broadcaster
I (114261) BLE2MQTT: Discovered BLE device: 4c:65:a8:da:9d:d7, connecting
E (115321) MQTT_CLIENT: No PING_RESP, disconnected
I (115321) MQTT_CLIENT: Reconnect after 10000 ms
I (115321) MQTT: MQTT client disconnected
I (115321) BLE2MQTT: Disconnected from MQTT, stopping BLE
E (115331) BT_BTM: BTM_BleScan scan not active
W (115331) BT_APPL: bta_dm_ble_scan stop scan failed, status=0x6
E (115341) BLE: Scanning stopping failed, status: 0x1
I (121101) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (121511) MQTT: MQTT client connected
I (121511) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (121521) BT_HCI: btu_hcif_hdl_command_complete opcode 0x200c status 0xc
E (122321) BT_BTM: BTM_BleScan scan already active
W (122321) BT_APPL: bta_dm_ble_scan start scan failed. status=0x6
E (122321) BLE: Scanning starting failed, status: 0x1
E (122411) MQTT_CLIENT: No PING_RESP, disconnected
I (122411) MQTT_CLIENT: Reconnect after 10000 ms
I (122411) MQTT: MQTT client disconnected
I (122421) BLE2MQTT: Disconnected from MQTT, stopping BLE
E (122421) BT_GATT: GATTC_ConfigureMTU GATT_BUSY conn_id = 1
W (122441) BT_APPL: bta_gattc_conn_cback() - cif=1 connected=0 conn_id=1 reason=0x0016
E (122441) BT_HCI: btu_hcif_hdl_command_complete opcode 0x200c status 0xc
I (122451) BLE: Connection closed, reason = 0x0
I (122451) BLE2MQTT: Disconnected from device: 4c:65:a8:da:9d:d7
I (127431) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (127441) MQTT: MQTT client connected
I (127441) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/Connected = false
I (127451) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (129461) MQTT_CLIENT: No PING_RESP, disconnected
I (129461) MQTT_CLIENT: Reconnect after 10000 ms
I (129461) MQTT: MQTT client disconnected
I (129461) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (134881) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (134891) MQTT: MQTT client connected
I (134891) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (134901) MQTT_CLIENT: No PING_RESP, disconnected
I (134911) MQTT_CLIENT: Reconnect after 10000 ms
I (134911) MQTT: MQTT client disconnected
I (134911) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (142921) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (142931) MQTT: MQTT client connected
I (142931) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (143381) MQTT_CLIENT: No PING_RESP, disconnected
I (143381) MQTT_CLIENT: Reconnect after 10000 ms
I (143381) MQTT: MQTT client disconnected
I (143391) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (151391) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (151421) MQTT: MQTT client connected
I (151421) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (151441) MQTT_CLIENT: No PING_RESP, disconnected
I (151441) MQTT_CLIENT: Reconnect after 10000 ms
I (151441) MQTT: MQTT client disconnected
I (151441) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (156471) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (156481) MQTT: MQTT client connected
I (156481) BLE2MQTT: Connected to MQTT, scanning for BLE devices
I (156551) BLE2MQTT: Discovered Mijia Temp+Hum broadcaster
I (156551) BLE2MQTT: Discovered BLE device: 4c:65:a8:da:9d:d7, connecting
E (156561) MQTT_CLIENT: No PING_RESP, disconnected
I (156571) MQTT_CLIENT: Reconnect after 10000 ms
I (156571) MQTT: MQTT client disconnected
I (156571) BLE2MQTT: Disconnected from MQTT, stopping BLE
E (156581) BT_BTM: BTM_BleScan scan not active
W (156591) BT_APPL: bta_dm_ble_scan stop scan failed, status=0x6
E (156591) BLE: Scanning stopping failed, status: 0x1
I (159881) BLE2MQTT: Connected to device: 4c:65:a8:da:9d:d7, scanning
I (160401) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/GenericAccess/DeviceName = MJ_HT_V1
I (160431) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/GenericAccess/Appearance = 768
I (160461) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/GenericAccess/PeripheralPreferredConnectionParameters = 16,60,0,400
I (160571) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/BatteryService/BatteryLevel = 100
I (160641) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/DeviceInformation/ManufacturerNameString = Cleargrass Inc
I (160671) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/DeviceInformation/ModelNumberString = Duck_Release
I (160701) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/DeviceInformation/SerialNumberString = Le����^�(8��}�
I (160731) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/DeviceInformation/HardwareRevisionString = 2.00
I (160761) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/DeviceInformation/FirmwareRevisionString = 00.00.66
I (160821) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/00001530-1212-efde-1523-785feabcd123/00001534-1212-efde-1523-785feabcd123 = 1,0
I (160881) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/0000fe95-0000-1000-8000-00805f9b34fb/00000002-0000-1000-8000-00805f9b34fb = 170,1
I (160931) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/0000fe95-0000-1000-8000-00805f9b34fb/00000004-0000-1000-8000-00805f9b34fb = 92,11,31,10,65,12,43,128,15,125
I (160961) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/0000fe95-0000-1000-8000-00805f9b34fb/00000013-0000-1000-8000-00805f9b34fb = 255,255,255,255,255,255,255,255,255,255,255,2
55,255,255,255,255,255,255,255,255
I (160991) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/0000fe95-0000-1000-8000-00805f9b34fb/00000014-0000-1000-8000-00805f9b34fb = 50,30,13,222,85,62,0,127,191,8,43,99
I (161121) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-66734470666d = 84,61,50,55,46,53,32,72,61,51,50,46,52,0
I (161131) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d7/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-66734470666d = 84,61,50,55,46,53,32,72,61,51,50,46,51,0
I (161591) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (161601) MQTT: MQTT client connected
I (161601) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-66734470666d = 84,61,50,55,46,53,32,72,61,51,50,46,51
,0
I (161611) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-66734470666d = 84,61,50,55,46,53,32,72,61,51,50,46,52
,0
I (161621) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/0000fe95-0000-1000-8000-00805f9b34fb/00000014-0000-1000-8000-00805f9b34fb = 50,30,13,222,85,62,0,127,191,8,43,99
I (161641) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/0000fe95-0000-1000-8000-00805f9b34fb/00000013-0000-1000-8000-00805f9b34fb = 255,255,255,255,255,255,255,255,255,25
5,255,255,255,255,255,255,255,255,255,255
I (161661) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/0000fe95-0000-1000-8000-00805f9b34fb/00000004-0000-1000-8000-00805f9b34fb = 92,11,31,10,65,12,43,128,15,125
I (161681) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/0000fe95-0000-1000-8000-00805f9b34fb/00000002-0000-1000-8000-00805f9b34fb = 170,1
I (161691) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/00001530-1212-efde-1523-785feabcd123/00001534-1212-efde-1523-785feabcd123 = 1,0
I (161701) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/DeviceInformation/FirmwareRevisionString = 00.00.66
I (161711) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/DeviceInformation/HardwareRevisionString = 2.00
I (161731) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/DeviceInformation/SerialNumberString = Le����^�(8��}�
I (161741) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/DeviceInformation/ModelNumberString = Duck_Release
I (161751) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/DeviceInformation/ManufacturerNameString = Cleargrass Inc
I (161761) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/BatteryService/BatteryLevel = 100
I (161771) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/GenericAccess/PeripheralPreferredConnectionParameters = 16,60,0,400
I (161781) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/GenericAccess/Appearance = 768
I (161791) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/GenericAccess/DeviceName = MJ_HT_V1
I (161801) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/Owner = BLE2MQTT-C3E8
I (161801) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/Connected = true
I (161811) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (162021) MQTT_CLIENT: No PING_RESP, disconnected
I (162031) MQTT_CLIENT: Reconnect after 10000 ms
I (162031) MQTT: MQTT client disconnected
I (162031) BLE2MQTT: Disconnected from MQTT, stopping BLE
W (162041) BT_APPL: bta_gattc_conn_cback() - cif=1 connected=0 conn_id=1 reason=0x0016
I (162051) BLE: Connection closed, reason = 0x0
I (162051) BLE2MQTT: Disconnected from device: 4c:65:a8:da:9d:d7
I (167041) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (167051) MQTT: MQTT client connected
I (167051) MQTT: Publishing from queue: 4c:65:a8:da:9d:d7/Connected = false
I (167061) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (167131) MQTT_CLIENT: No PING_RESP, disconnected
I (167131) MQTT_CLIENT: Reconnect after 10000 ms
I (167141) MQTT: MQTT client disconnected
I (167141) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (174901) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
It's normal benavior?
I (291891) BLE: Connection closed, reason = 0x0
I (291891) BLE2MQTT: Disconnected from device: de:99:1d:a1:b3:85
E (291921) BLE: Scanning stopping failed, status: 0x1
I (295411) BLE2MQTT: Connected to device: 4c:65:a8:da:9d:d6, scanning
I (295931) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/GenericAccess/DeviceName = MJ_HT_V1
I (295981) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/GenericAccess/Appearance = 768
I (296011) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/GenericAccess/PeripheralPreferredConnectionParameters = 16,60,0,400
I (296131) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/BatteryService/BatteryLevel = 98
I (296201) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/DeviceInformation/ManufacturerNameString = Cleargrass Inc
I (296261) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/DeviceInformation/ModelNumberString = Duck_Release
I (296281) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-66734470666d = 8
4,61,50,52,46,55,32,72,61,51,55,46,57,0
I (296281) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-66734470666d = 8
4,61,50,52,46,55,32,72,61,51,56,46,48,0
I (296311) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/DeviceInformation/SerialNumberString = Le����4�7^��7|
I (296341) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/DeviceInformation/HardwareRevisionString = 2.00
I (296381) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/DeviceInformation/FirmwareRevisionString = 00.00.66
I (296461) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/00001530-1212-efde-1523-785feabcd123/00001534-1212-efde-1523-785feabcd123 = 1
,0
I (296531) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/0000fe95-0000-1000-8000-00805f9b34fb/00000002-0000-1000-8000-00805f9b34fb = 1
70,1
I (296561) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/0000fe95-0000-1000-8000-00805f9b34fb/00000004-0000-1000-8000-00805f9b34fb = 2
25,203,85,62,240,144,77,223,79,252
I (296611) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/0000fe95-0000-1000-8000-00805f9b34fb/00000013-0000-1000-8000-00805f9b34fb = 2
08,229,7,124,181,225,78,193,13,190,110,238,68,13,2,145,131,143,244,194
I (296651) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/0000fe95-0000-1000-8000-00805f9b34fb/00000014-0000-1000-8000-00805f9b34fb = 2
08,222,196,119,191,128,32,72,121,146,63,100
I (296891) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (297281) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-66734470666d = 8
4,61,50,52,46,55,32,72,61,51,55,46,56,0
I (298271) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-66734470666d = 8
4,61,50,52,46,55,32,72,61,51,55,46,54,0
I (298281) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-66734470666d = 8
4,61,50,52,46,54,32,72,61,51,55,46,56,0
I (299311) BLE2MQTT: Publishing: 4c:65:a8:da:9d:d6/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-66734470666d = 8
4,61,50,52,46,55,32,72,61,51,55,46,56,0
W (299761) BT_APPL: bta_gattc_conn_cback() - cif=1 connected=0 conn_id=257 reason=0x0013
I (299761) BLE: Connection closed, reason = 0x13
I (299761) BLE2MQTT: Disconnected from device: 4c:65:a8:da:9d:d6
I (299881) MQTT: MQTT client connected
I (299881) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/Connected = false
I (299881) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-667344706
66d = 84,61,50,52,46,55,32,72,61,51,55,46,56,0
I (299891) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-667344706
66d = 84,61,50,52,46,54,32,72,61,51,55,46,56,0
I (299911) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-667344706
66d = 84,61,50,52,46,55,32,72,61,51,55,46,54,0
I (299931) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-667344706
66d = 84,61,50,52,46,55,32,72,61,51,55,46,56,0
I (299941) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/0000fe95-0000-1000-8000-00805f9b34fb/00000014-0000-1000-8000-00805f9b3
4fb = 208,222,196,119,191,128,32,72,121,146,63,100
I (299961) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/0000fe95-0000-1000-8000-00805f9b34fb/00000013-0000-1000-8000-00805f9b3
4fb = 208,229,7,124,181,225,78,193,13,190,110,238,68,13,2,145,131,143,244,194
I (299981) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/0000fe95-0000-1000-8000-00805f9b34fb/00000004-0000-1000-8000-00805f9b3
4fb = 225,203,85,62,240,144,77,223,79,252
I (299991) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/0000fe95-0000-1000-8000-00805f9b34fb/00000002-0000-1000-8000-00805f9b3
4fb = 170,1
I (300011) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/00001530-1212-efde-1523-785feabcd123/00001534-1212-efde-1523-785feabcd
123 = 1,0
I (300021) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/DeviceInformation/FirmwareRevisionString = 00.00.66
I (300031) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/DeviceInformation/HardwareRevisionString = 2.00
I (300041) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/DeviceInformation/SerialNumberString = Le����4�7^��7|
I (300051) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-667344706
66d = 84,61,50,52,46,55,32,72,61,51,56,46,48,0
I (300071) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/226c0000-6476-4566-7562-66734470666d/226caa55-6476-4566-7562-667344706
66d = 84,61,50,52,46,55,32,72,61,51,55,46,57,0
I (300081) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/DeviceInformation/ModelNumberString = Duck_Release
I (300101) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/DeviceInformation/ManufacturerNameString = Cleargrass Inc
I (300111) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/BatteryService/BatteryLevel = 98
I (300121) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/GenericAccess/PeripheralPreferredConnectionParameters = 16,60,0,400
I (300131) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/GenericAccess/Appearance = 768
I (300141) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/GenericAccess/DeviceName = MJ_HT_V1
I (300151) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/Owner = BLE2MQTT-C3E8
I (300151) MQTT: Publishing from queue: 4c:65:a8:da:9d:d6/Connected = true
I (300161) MQTT: Publishing from queue: de:99:1d:a1:b3:85/Connected = false
I (300171) BLE2MQTT: Connected to MQTT, scanning for BLE devices
I (300651) BLE2MQTT: Discovered BLE device: de:99:1d:a1:b3:85, connecting
E (300711) MQTT_CLIENT: No PING_RESP, disconnected
I (300711) MQTT_CLIENT: Reconnect after 10000 ms
I (300711) MQTT: MQTT client disconnected
I (300711) BLE2MQTT: Disconnected from MQTT, stopping BLE
E (300721) BT_BTM: BTM_BleScan scan not active
W (300721) BT_APPL: bta_dm_ble_scan stop scan failed, status=0x6
E (300731) BLE: Scanning stopping failed, status: 0x1
W (305021) BT_APPL: bta_gattc_conn_cback() - cif=1 connected=0 conn_id=1 reason=0x003e
E (305021) BLE: Open failed, status = 0x85
I (305731) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (305751) MQTT: MQTT client connected
I (305751) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (305801) MQTT_CLIENT: No PING_RESP, disconnected
I (305801) MQTT_CLIENT: Reconnect after 10000 ms
I (305801) MQTT: MQTT client disconnected
I (305801) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (312561) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (312581) MQTT: MQTT client connected
I (312581) BLE2MQTT: Connected to MQTT, scanning for BLE devices
I (313131) BLE2MQTT: Discovered Mijia Temp+Hum broadcaster
I (313151) BLE2MQTT: Discovered BLE device: 4c:65:a8:da:9d:d7, connecting
E (313591) MQTT_CLIENT: No PING_RESP, disconnected
I (313591) MQTT_CLIENT: Reconnect after 10000 ms
I (313591) MQTT: MQTT client disconnected
I (313591) BLE2MQTT: Disconnected from MQTT, stopping BLE
E (313611) BT_BTM: BTM_BleScan scan not active
W (313611) BT_APPL: bta_dm_ble_scan stop scan failed, status=0x6
E (313611) BLE: Scanning stopping failed, status: 0x1
W (317221) BT_APPL: bta_gattc_conn_cback() - cif=1 connected=0 conn_id=1 reason=0x003e
E (317231) BLE: Open failed, status = 0x85
I (318841) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
I (318941) MQTT: MQTT client connected
I (318941) BLE2MQTT: Connected to MQTT, scanning for BLE devices
E (319931) MQTT_CLIENT: No PING_RESP, disconnected
I (319931) MQTT_CLIENT: Reconnect after 10000 ms
I (319931) MQTT: MQTT client disconnected
I (319931) BLE2MQTT: Disconnected from MQTT, stopping BLE
It seems your MQTT broker is not responding to MQTT ping requests. Because of this, the ESP32’s MQTT client disconnects the connection. If I may, which MQTT broker are you using?
I use mosquitto ver. 1.5.1 on my router.. Thats my config:
pid_file /opt/etc/mosquitto/mosquitto.pid
persistence true
persistence_location /opt/etc/mosquitto/
persistent_client_expiration 7m
persistence_file mosquitto.db
log_type information error warning subscribe unsubscribe
autosave_interval 900
log_dest file /opt/etc/mosquitto/mosquitto.log
allow_anonymous false
password_file /opt/etc/mosquitto/passwd
max_connections 49
connection bridge_01
address xxxxx.yyyy.ru:1883
cleansession false
keepalive_interval 25
local_password xxxxx
local_username yyyyy
notifications true
This replaces the old "clientid" option to avoid confusion with local/remote sides of the bridge. "clientid" remains valid for the time being.
remote_password lfgfgfgfg
This replaces the old "password" option to avoid confusion with local/remote sides of the bridge. "password" remains valid for the time being.
remote_username fgfgfgfg_client_1
This replaces the old "username" option to avoid confusion with local/remote sides of the bridge. "username" remains valid for the time being.
restart_timeout 10
If round_robin is true, then all addresses are treated as equals. If a connection fails, the next address will be tried and if successful will remain connected until it fails.
start_type automatic
topic # both 2
Mosquitto should do the job. It's working fine on my setup. It's hard to tell what's going on without either debug logs or network dump to see if the ping responses aren't sent by mosquitto or if they're not received by the ESP32.
I try with other MQTT Borker - https://github.com/ioBroker/ioBroker.mqtt There is other error:
I (2901) WiFi: Connected
I (5901) event: sta ip: 192.168.1.65, mask: 255.255.255.0, gw: 192.168.1.1
I (5901) BLE2MQTT: Connected to WiFi, connecting to MQTT
I (5901) MQTT: Connecting MQTT client
I (6091) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (6101) MQTT_CLIENT: Error network response
I (6101) MQTT_CLIENT: Error MQTT Connected
I (6111) MQTT_CLIENT: Reconnect after 10000 ms
I (6111) MQTT: MQTT client disconnected
I (6111) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (11131) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (11151) MQTT_CLIENT: Error network response
I (11151) MQTT_CLIENT: Error MQTT Connected
I (11151) MQTT_CLIENT: Reconnect after 10000 ms
I (11151) MQTT: MQTT client disconnected
I (11161) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (16171) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (16191) MQTT_CLIENT: Error network response
I (16191) MQTT_CLIENT: Error MQTT Connected
I (16191) MQTT_CLIENT: Reconnect after 10000 ms
I (16201) MQTT: MQTT client disconnected
I (16201) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (21211) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (21231) MQTT_CLIENT: Error network response
I (21231) MQTT_CLIENT: Error MQTT Connected
I (21231) MQTT_CLIENT: Reconnect after 10000 ms
I (21241) MQTT: MQTT client disconnected
I (21241) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (26251) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (26271) MQTT_CLIENT: Error network response
I (26271) MQTT_CLIENT: Error MQTT Connected
I (26271) MQTT_CLIENT: Reconnect after 10000 ms
I (26271) MQTT: MQTT client disconnected
I (26281) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (31291) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (31301) MQTT_CLIENT: Error network response
I (31311) MQTT_CLIENT: Error MQTT Connected
I (31311) MQTT_CLIENT: Reconnect after 10000 ms
I (31311) MQTT: MQTT client disconnected
I (31311) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (36321) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (36341) MQTT_CLIENT: Error network response
I (36341) MQTT_CLIENT: Error MQTT Connected
I (36341) MQTT_CLIENT: Reconnect after 10000 ms
I (36341) MQTT: MQTT client disconnected
I (36351) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (41361) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (41371) MQTT_CLIENT: Error network response
I (41371) MQTT_CLIENT: Error MQTT Connected
I (41371) MQTT_CLIENT: Reconnect after 10000 ms
I (41381) MQTT: MQTT client disconnected
I (41381) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (46401) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (46411) MQTT_CLIENT: Error network response
I (46411) MQTT_CLIENT: Error MQTT Connected
I (46421) MQTT_CLIENT: Reconnect after 10000 ms
I (46421) MQTT: MQTT client disconnected
I (46421) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (51441) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (51461) MQTT_CLIENT: Error network response
I (51461) MQTT_CLIENT: Error MQTT Connected
I (51461) MQTT_CLIENT: Reconnect after 10000 ms
I (51461) MQTT: MQTT client disconnected
I (51471) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (56481) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (56491) MQTT_CLIENT: Error network response
I (56491) MQTT_CLIENT: Error MQTT Connected
I (56491) MQTT_CLIENT: Reconnect after 10000 ms
I (56501) MQTT: MQTT client disconnected
I (56501) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (61511) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (61521) MQTT_CLIENT: Error network response
I (61521) MQTT_CLIENT: Error MQTT Connected
I (61531) MQTT_CLIENT: Reconnect after 10000 ms
I (61531) MQTT: MQTT client disconnected
I (61531) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (66551) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (66561) MQTT_CLIENT: Error network response
I (66561) MQTT_CLIENT: Error MQTT Connected
I (66561) MQTT_CLIENT: Reconnect after 10000 ms
I (66571) MQTT: MQTT client disconnected
I (66571) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (71591) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (71621) MQTT_CLIENT: Error network response
I (71621) MQTT_CLIENT: Error MQTT Connected
I (71621) MQTT_CLIENT: Reconnect after 10000 ms
I (71631) MQTT: MQTT client disconnected
I (71631) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (76641) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (76651) MQTT_CLIENT: Error network response
I (76651) MQTT_CLIENT: Error MQTT Connected
I (76661) MQTT_CLIENT: Reconnect after 10000 ms
I (76661) MQTT: MQTT client disconnected
I (76661) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (81691) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (81701) MQTT_CLIENT: Error network response
I (81701) MQTT_CLIENT: Error MQTT Connected
I (81701) MQTT_CLIENT: Reconnect after 10000 ms
I (81701) MQTT: MQTT client disconnected
I (81711) BLE2MQTT: Disconnected from MQTT, stopping BLE
I (86731) MQTT_CLIENT: Sending MQTT CONNECT message, type: 1, id: 0000
E (86741) MQTT_CLIENT: Error network response
Maybe problem in MQTT library?
Seems like network traffic issues... I don't think it's specific to the MQTT library, but you can try to revert to 63cd33a4110f8902aa6731c1ecc080852fee4ae7 which is right before I switch the MQTT imlementation. Note that with that version you might need a different ESP-IDF version. See the README file of the above commit for the exact version.
This log from cloudmqtt panel:
2019-01-21 09:23:19: Received SUBSCRIBE from esp32
2019-01-21 09:23:19: BLE2MQTT-C3E8/OTA/Firmware (QoS 0)
2019-01-21 09:23:19: Sending SUBACK to esp32
2019-01-21 09:23:19: Received SUBSCRIBE from esp32
2019-01-21 09:23:19: BLE2MQTT/OTA/Firmware (QoS 0)
2019-01-21 09:23:19: Sending SUBACK to esp32
2019-01-21 09:23:19: Received SUBSCRIBE from esp32
2019-01-21 09:23:19: BLE2MQTT-C3E8/OTA/Config (QoS 0)
2019-01-21 09:23:19: Sending SUBACK to esp32
2019-01-21 09:23:19: Received SUBSCRIBE from esp32
2019-01-21 09:23:19: BLE2MQTT/OTA/Config (QoS 0)
2019-01-21 09:23:19: Sending SUBACK to esp32
2019-01-21 09:23:19: Received PINGREQ from esp32
2019-01-21 09:23:19: Sending PINGRESP to esp32
2019-01-21 09:23:19: Socket error on client esp32, disconnecting.
Why when server "Sending PINGRESP to esp32 2019-01-21 09:23:19: Socket error on client esp32, disconnecting." error?
Hey,
Could you please enable debug logs on the ESP32? Look for CONFIG_LOG_DEFAULT_LEVEL and change it to debug. This should add some more log messages regarding the MQTT connection. As fas as I can tell so far, at some point the connection simply drops as the ESP doesn't receive the ping responses.
BTW - Is esp32
the client ID you configured in the configuration file? If so, could you, for now, change it to something unique or remove it from the configuration file and one will be generated for you?
Thanks
My issue, the sames servers (mqtt, not one) - https://github.com/OttoWinter/esphomeyaml/issues/365
So the thing that fixed it for you was using a different ESP-IDF version?
Are you sure you’re using v3.1.2? And v0.6.0 of this project? Can you show me the output of git status
from both repositories?
I’ve had a few people confirm these versions were stable for them...
I'm using the master branch version more than 10 days uptime and works well. I'm using naked ESP32 WROOM chips. BUT. The WROOM DEV board with the very same firmware freezes in 10 hours - 1 days interval. I think its a hardware problem on Linear Regulator - it happens on cheap stuffs.
So the thing that fixed it for you was using a different ESP-IDF version?
Are you sure you’re using v3.1.2? And v0.6.0 of this project? Can you show me the output of
git status
from both repositories?I’ve had a few people confirm these versions were stable for them...
In esphomeyaml firmware and the same esp32 (2 pcs) and mqtt servers - all works well
I understand. Could you please verify the versions you’re using as requested above? I could also provide you a prebuilt binary for you to flash.
@itProfi Is this still relevant for you? Can you confirm the versions you're using or would like a pre-built binary? If I don't hear back from you in the next few days, I'll close this issue.
@itProfi, as I haven't heard back from you for quite some time, I'm closing this issue. If you're still having problems, please reopen this issue and provide some more details.
rst:0x1 (POWERON_RESET),boot:0x13 (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:DIO, clock div:2 load:0x3fff0018,len:4 load:0x3fff001c,len:5828 load:0x40078000,len:9176 load:0x40080000,len:6008 entry 0x4008032c [0;32mI (28) boot: ESP-IDF v3.1.2 2nd stage bootloader[0m [0;32mI (29) boot: compile time 21:14:11[0m [0;32mI (29) boot: Enabling RNG early entropy source...[0m [0;32mI (33) boot: SPI Speed : 40MHz[0m [0;32mI (37) boot: SPI Mode : DIO[0m [0;32mI (41) boot: SPI Flash Size : 4MB[0m [0;32mI (45) boot: Partition Table:[0m [0;32mI (49) boot: ## Label Usage Type ST Offset Length[0m [0;32mI (56) boot: 0 nvs WiFi data 01 02 00009000 00004000[0m [0;32mI (64) boot: 1 otadata OTA data 01 00 0000d000 00002000[0m [0;32mI (71) boot: 2 phy_init RF data 01 01 0000f000 00001000[0m [0;32mI (79) boot: 3 ota_0 OTA app 00 10 00010000 00180000[0m [0;32mI (86) boot: 4 ota_1 OTA app 00 11 00190000 00180000[0m [0;32mI (93) boot: 5 storage Unknown data 01 82 00310000 00080000[0m [0;32mI (101) boot: End of partition table[0m [0;32mI (105) boot: No factory image, trying OTA 0[0m [0;32mI (110) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x2fe10 (196112) map[0m [0;32mI (188) esp_image: segment 1: paddr=0x0003fe38 vaddr=0x3ffc0000 size=0x001d8 ( 472) load[0m [0;32mI (188) esp_image: segment 2: paddr=0x00040018 vaddr=0x400d0018 size=0xd6908 (878856) map[0m [0;32mI (502) esp_image: segment 3: paddr=0x00116928 vaddr=0x3ffc01d8 size=0x056e0 ( 22240) load[0m [0;32mI (511) esp_image: segment 4: paddr=0x0011c010 vaddr=0x3ffc58b8 size=0x00000 ( 0) load[0m [0;32mI (511) esp_image: segment 5: paddr=0x0011c018 vaddr=0x40080000 size=0x00400 ( 1024) load[0m [0;32mI (521) esp_image: segment 6: paddr=0x0011c420 vaddr=0x40080400 size=0x15a44 ( 88644) load[0m [0;32mI (566) esp_image: segment 7: paddr=0x00131e6c vaddr=0x400c0000 size=0x00000 ( 0) load[0m [0;32mI (566) esp_image: segment 8: paddr=0x00131e74 vaddr=0x50000000 size=0x00000 ( 0) load[0m [0;32mI (586) boot: Loaded app from partition at offset 0x10000[0m [0;32mI (586) boot: Disabling RNG early entropy source...[0m [0;32mI (587) cpu_start: Pro cpu up.[0m [0;32mI (590) cpu_start: Starting app cpu, entry point is 0x40080ff8[0m [0;32mI (0) cpu_start: App cpu up.[0m [0;32mI (601) heap_init: Initializing. RAM available for dynamic allocation:[0m [0;32mI (608) heap_init: At 3FFAFF10 len 000000F0 (0 KiB): DRAM[0m [0;32mI (614) heap_init: At 3FFD5170 len 0000AE90 (43 KiB): DRAM[0m [0;32mI (620) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM[0m [0;32mI (626) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m [0;32mI (633) heap_init: At 40095E44 len 0000A1BC (40 KiB): IRAM[0m [0;32mI (639) cpu_start: Pro cpu start user code[0m [0;32mI (321) cpu_start: Starting scheduler on PRO CPU.[0m [0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m [0;32mI (364) BLE2MQTT: Version: v0.6.0[0m [0;32mI (364) Config: Initializing configuration[0m [0;32mI (404) Config: version: cf462b4463eb8ea897527476344f66b6[0m [0;32mI (404) OTA: Initializing OTA[0m I (404) wifi: wifi driver task: 3ffdef04, prio:23, stack:3584, core=0 I (414) wifi: wifi firmware version: d5da5a5 I (414) wifi: config NVS flash: enabled I (414) wifi: config nano formating: disabled [0;32mI (424) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m [0;32mI (434) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m I (454) wifi: Init dynamic tx buffer num: 32 I (454) wifi: Init data frame dynamic rx buffer num: 32 I (454) wifi: Init management frame dynamic rx buffer num: 32 I (454) wifi: Init static rx buffer size: 1600 I (464) wifi: Init static rx buffer num: 10 I (464) wifi: Init dynamic rx buffer num: 32 [0;32mI (474) BTDM_INIT: BT controller compile version [0e46ff6] [0m [0;32mI (474) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
Brownout detector was triggered
ets Jun 8 2016 00:22:57