arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.19k stars 4.81k forks source link

VL53L0X show null when some relay is turned up #18533

Closed mefisto22 closed 1 year ago

mefisto22 commented 1 year ago

PROBLEM DESCRIPTION

A clear and concise description of what the problem is. I have one ESP32 with 8 relay and 2 VL53L0X sensor. Every VL53L0X measure without issue until i turning on 1 or more relay. When relay is on, all of VL53L0X measured result is null. I only get back the sensors when turn off all relay and restart ESP.

REQUESTED INFORMATION

Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!

- [ x] If using rules, provide the output of this command: `Backlog Rule1; Rule2; Rule3`:
```lua
  Rules output here:
09:08:08.761 MQT: stat/vizoraakna/RESULT = {"Rule1":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":145,"Free":366,"Rules":"ON VL53L0X-1#Distance DO Publish stat/vizoraakna/vizszint1 %value% ENDON ON VL53L0X-2#Distance DO Publish stat/vizoraakna/vizszint2 %value% ENDON"}}
09:08:09.074 MQT: stat/vizoraakna/RESULT = {"Rule2":{"State":"ON","Once":"OFF","StopOnError":"OFF","Length":64,"Free":447,"Rules":"ON ADS1115#A0 DO Publish stat/vizoraakna/viznyomas %value% ENDON"}}
09:08:09.283 MQT: stat/vizoraakna/RESULT = {"Rule3":{"State":"OFF","Once":"OFF","StopOnError":"OFF","Length":0,"Free":511,"Rules":""}}
- [x] Set `weblog` to 4 and then, when you experience your issue, provide the output of the Console log:
```lua
  Console output here:

09:19:59.965 MQT: tele/vizoraakna/STATE = {"Time":"2023-04-29T09:19:59","Uptime":"0T00:01:28","UptimeSec":88,"Heap":156,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":92,"MqttCount":1,"Berry":{"HeapUsed":3,"Objects":35},"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"OFF","Wifi":{"AP":1,"SSId":"udvar","BSSId":"FC:EC:DA:DA:51:1F","Channel":11,"Mode":"11n","RSSI":66,"Signal":-67,"LinkCount":1,"Downtime":"0T00:00:03"}}
09:20:00.105 MQT: tele/vizoraakna/SENSOR = {"Time":"2023-04-29T09:20:00","DS18B20":{"Id":"3C01E076B908","Temperature":11.4},"ADS1115":{"A0":9210,"A1":5868,"A2":5891,"A3":5879},"VL53L0X-1":{"Distance":6.3},"VL53L0X-2":{"Distance":76.0},"TempUnit":"C"}
09:20:06.330 SRC: WebGui from 10.0.0.1
09:20:06.340 MQT: stat/vizoraakna/RESULT = {"POWER8":"ON"}
09:20:06.344 MQT: stat/vizoraakna/POWER8 = ON
09:20:10.836 CFG: Saved, Szám 54, Byte-ok 4096
09:20:23.340 BRY: GC from 5494 to 3416 bytes, objects freed 2/35 (in 1 ms) - slots from 40/91 to 37/91
09:20:23.350 MQT: tele/vizoraakna/STATE = {"Time":"2023-04-29T09:20:23","Uptime":"0T00:01:52","UptimeSec":112,"Heap":162,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":1274,"MqttCount":1,"Berry":{"HeapUsed":3,"Objects":35},"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","POWER5":"OFF","POWER6":"OFF","POWER7":"OFF","POWER8":"ON","Wifi":{"AP":1,"SSId":"udvar","BSSId":"FC:EC:DA:DA:51:1F","Channel":11,"Mode":"11n","RSSI":66,"Signal":-67,"LinkCount":1,"Downtime":"0T00:00:03"}}
09:20:23.493 MQT: tele/vizoraakna/SENSOR = {"Time":"2023-04-29T09:20:23","DS18B20":{"Id":"3C01E076B908","Temperature":11.4},"ADS1115":{"A0":9262,"A1":5852,"A2":5871,"A3":5886},"VL53L0X-1":{"Distance":null},"VL53L0X-2":{"Distance":null},"TempUnit":"C"}

TO REPRODUCE

Steps to reproduce the behavior: Connect two VL53L0X sensor to ESP32 and relays, and turn on relay.

EXPECTED BEHAVIOUR

A clear and concise description of what you expected to happen. Relays turn on, and VL53L0X measure like before relays turned on.

SCREENSHOTS

If applicable, add screenshots to help explain your problem.

ADDITIONAL CONTEXT

_Add any other context about the pr

Képernyőfotó 2023-04-29 - 10 27 06

oblem here._

Képernyőfotó 2023-04-29 - 10 27 28

(Please, remember to close the issue when the problem has been addressed)

barbudor commented 1 year ago

Wiring or power supply problem Not a Tasmota issue

mefisto22 commented 1 year ago

I measured 5V and 3.3V everywhere, all voltage is OK. I measured cables with multimeter, all cable is OK. Every connection is soldered.

barbudor commented 1 year ago

Disconnect physically the relays and tell me