-
Notifications
You must be signed in to change notification settings - Fork 636
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
Sensor magnitude offset option in webUI not showing. #2491
Comments
Built a firmware now with latest dev on a wemos d1 mini and get the following error at the top of the page:
I had a BME280 connected (which currently has an issue and intermittently fails so data pins disconnected) and I've just added a DS18b20 Waterproof Temperature Sensor but that isn't showing up as a sensor at the moment. |
2nd one seems to be caused by no sensors being available for reading Line 1768 in ec33ee3
i.e. data.values is undefined where it should've been [] , so it's something to fix from both sides (ref. 'Developer Tools / Network' for the /ws endpoint, message causing the error would be {"magnitudes":{}} )
1st one is correction aka offset simply missing from the web interface, starting from this commit espurna/code/espurna/sensor.cpp Lines 1857 to 1865 in ec33ee3
|
Both sensors are now reading so that error has gone. Like you said, the |
Hi Max. Is this a relatively quick fix? I'm going to build some other devices in the next few weeks and wondered if the fix would be implemented? Thanks. |
Probably is, but there's also a lot of backlog. Lines 2527 to 2531 in 02581c6
Lines 1895 to 1903 in 02581c6
(or, at least the correction offsets, which could be just a c/p and changing names of the elements to match the keys used by settings) |
Thank you. I'll look to update some of my devices over the weekend. |
Just to note, current PIO config also depends on the development version of PlatformIO. You'd need to also do a |
As mentioned in the #2491 Hides parent element when these groups are empty
Working, thanks. |
I have a device that is using build:
1.15.0-dev.gitd5273513
with a BME280 sensor and I've noticed that I can't see the section in the webUI for adjustingPX, TEMP, HUMIDITY
offsets. I know they used to be there in other builds.I'm going to look to build a firmware tomorrow for another dev board with temp sensor, but before I do, is there something that needs to be adjusted in the code? I've had a quick look through the previous commits and couldn't see anything obvious that may have been fixed since Sep 2021. Thanks.
The text was updated successfully, but these errors were encountered: