-
-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Calibration only uses Rx RSSI adjustments #628
Comments
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. |
Would still like to see a resolution/discussion on this. Thanks! |
What do you mean by "The calibration to run"? Is there an automatic tool to do it? |
It took a couple of days but the automatic calibration eventually started updating the absorption as well. I've dug deeper into the code since I submitted this and my understanding is that the calibration will try multiple ways to get a better solution: Changing the Rx RSSI of the nodes AND changing the absorption. If one or both give better solutions, it will take the best and apply that. Since the Rx RSSI provided better solutions than absorption for those several days, the absorption just sat at whatever the default was. As to your question about what I meant, ESPresense will automatically calibrate your nodes to give the best results using known distances between nodes. I find it works pretty good overall. I've fine-tuned using manual calibration before, but I don't think it's necessarily worth the effort unless the automatic calibration is just not working for how your house and nodes are laid out. To get it to work, you need to add something like this to your ESPresense config.yaml (not the HA configuration.yaml)
You can also use the ESPresense recommendation (link)
The difference between my settings and the recommendation is that I have mine running the calibration every two minutes since I've been doing experimentation and the default is once an hour. I've changed the "width" of the absorption range it can apply from 2.5-->3.5 to my range of 1-->5 to give a wider range of solutions to the matrix. I'm finding this probably wasn't necessary but at the time I was getting very odd results due to interferences and the mix of ESP32 boards. I also changed the max_snapshots from the default of 60 but I don't think it's changed much and probably should just change it back. I also haven't ever found the calibration to change the Tx RSSI for a node so I'm not sure that's useful either. Edit: Actually, I'd still like to see if there's something I am doing wrong that prevents the Tx RSSI from being optimized. So perhaps keep this open for now. |
I'm not sure if this is a bug or not.
I recently added several more base stations to my house. I set them up and waited for the calibration to run. It ended up erasing all of the absorption numbers, setting them all to 3, and now it only adjusts Rx RSSI and only moderately successfully.
What would cause the calibration routine to do this? It's been running for a couple days now and the absorption hasn't been touched? I tried digging through the code a bit but I quickly get lost in the calibration sections.
Thanks
Edit:
A few other comments/notes on calibration, not related to any bugs:
The text was updated successfully, but these errors were encountered: