Connection and Calibration Issues – Need Help Debugging #18
-
I have carefully soldered all components and inspected them under a microscope—everything looks good. The device successfully connects to WiFi and MQTT, but I’m encountering an issue with calibration. I performed the calibration process step by step:
However, after restarting, the serial port logs show the error: What could be causing this? Is there a problem with how the calibration values are stored or retrieved after reboot?I've been working on this project for over two months now, but I’m still stuck on this issue. Any advice would be appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
OK,
"Invalid input range, min == max" usually occurs when the mapping function is called with the same value for both the minimum and maximum input range, "sensor hasn't been calibrated properly, or sensor has a soldering issue", you can check it by grabbing sensor with hands and checking MQTT ROW topic then pushing trig button. |
Beta Was this translation helpful? Give feedback.
At this point, I have set up a local MQTT server. I can connect to it from my phone and send messages. As shown in the screenshot, I sent the letters ‘A’ and ‘AB’ successfully.
Secondly, I soldered a different sensor and set it up. As shown in the screenshot, this one does not give the ‘MIN == MAX’ error, but it still does not send any data.
Am I correct in understanding that it should send data to the topic ‘homeassistant/sensor/murad/’?”**
Also, could you share your contact information, such as Telegram or Discord, so I can reach out to you directly?