ESPresense icon indicating copy to clipboard operation
ESPresense copied to clipboard

Wifi and HA config screens show different values for: absorbtion and max distance

Open AlfredJKwack opened this issue 2 years ago • 4 comments

Describe the bug

There's s a discrepancy between the MQTT Device configuration and the native Wifi Configuration screens for absorbtion and max distanace. You can set values in Home Assistant and they are not reflected in the native Wifi Config.

Config

  • Version: v3.1.0

Hardware

  • Firmware flavor: default
  • Device (be specific): D1 mini esp32 CH9102X

Logs

If possible, copy and paste any logs from the serial monitor from the time that you see the bug.

Screenshots

If applicable, add screenshots to help explain your problem. Screen Shot 2022-09-18 at 09 17 32

AlfredJKwack avatar Sep 18 '22 07:09 AlfredJKwack

For me, I have to hit enter after inputting them in HA or they don't update

Zipties avatar Sep 18 '22 16:09 Zipties

Thanks for the tip @Zipties. Tried it but saw no change in behaviour. The HA logbook does update. I have entries like: "{...] Absorprion changed to 4.4 triggered by service number.set_value [...]". Refreshing the ESPresence wifi config page does not reflect those values. I can however confirm that changing the value sin the wifi config has an effect (as you would expect).

AlfredJKwack avatar Sep 18 '22 18:09 AlfredJKwack

Did you try restarting the esp after changing the values?

Zipties avatar Sep 19 '22 00:09 Zipties

You don't have to restart the ESP when you do it though the Wifi config screen do you? Just hit save and it takes the input. It would defeat the purpose if you had to reboot the device for it to take the input from MQTT.

AlfredJKwack avatar Sep 19 '22 16:09 AlfredJKwack

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 18 '22 18:11 stale[bot]

Bump the stale bot.

AlfredJKwack avatar Nov 24 '22 19:11 AlfredJKwack

The wifi settings are done 100% at startup. So even tho the value takes effect immediately via mqtt, you won't see it in wifi settings until you restart. It's just a limitation of wifi settings.

DTTerastar avatar Dec 18 '22 20:12 DTTerastar

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Mar 19 '23 21:03 stale[bot]