Skip to content
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

Webinterface shows wrong values #820

Closed
MaartenRs opened this issue Dec 19, 2022 · 22 comments
Closed

Webinterface shows wrong values #820

MaartenRs opened this issue Dec 19, 2022 · 22 comments
Labels
bug Something isn't working
Milestone

Comments

@MaartenRs
Copy link

Webinterdace shows values of 21.474.836 kWh, while Home Assistent shows -1.

EMS-ESP Version
v3.5.0b12

Apparaat (Platform / SDK)
ESP32 / v4.4.2

TYPE DESCRIPTION ENTITIES  
  Boiler Enviline/Compress 6000AW/Hybrid 3000-7000iAW/SupraEco/Geo 5xx/WLW196i 122
  Thermostat RC300/RC310/Moduline 3000/1010H/CW400/Sense II/HPC410 48
  Thermostat RC100H 4
  Sensors Attached EMS-ESP Sensors 0
cooling control starts 29  
dhw control starts2 21.474.836  
pool control starts 21.474.836  
total energy consumption 1.946 kWh  
total energy consumption compressor 1.947 kWh  
energy consumption compressor heating 1.898 kWh  
energy consumption compressor dhw 21.474.836 kWh  
energy consumption compressor cooling 22 kWh  
energy consumption compressor pool 21.474.836 kWh  
total auxiliary electrical heater energy consumption 21.474.836 kWh  
auxiliary electrical heater energy consumption heating 21.474.836 kWh  
auxiliary electrical heater energy consumption dhw 21.474.836 kWh  
auxiliary electrical heater energy consumption pool 21.474.836 kWh  
total energy supplied 7.394 kWh  
total energy supplied heating 7.357 kWh  
total energy warm supplied dhw 21.474.836 kWh  
total energy supplied cooling 36 kWh  
total energy supplied pool 21.474.836 kWh  
compressor power output 3,5 kW  
 


@MaartenRs MaartenRs added the bug Something isn't working label Dec 19, 2022
@MichaelDvP
Copy link
Contributor

Confusion in browser cache? Shut down and restart browser and (to be sure) also ems-esp.

@MaartenRs
Copy link
Author

Restart PC, empty browser cache and restart ems-esp.
Error is still there. If I connect with another browser (Firefox), the result is the same.

@heennkkee
Copy link

Do you expect these values to be read? I have similar values being sent out, like for instance

total energy supplied pool: 21.474.836 kWh

and the exported value is -1 (it was 21.474.836 when running 3.5.0b4).

I assume this is some type of default value for when a device "could have" this value (so the EMS-ESP32 detects the value) but the value has never been set in the device. I for instance do not have any pool that my heater supplies heat to, hence that value is "empty" (or defaulted to 21.474.836). I have similar for cooling, solar systems and some more.

MichaelDvP added a commit to MichaelDvP/EMS-ESP32 that referenced this issue Dec 20, 2022
@MichaelDvP
Copy link
Contributor

Please test https://github.com/MichaelDvP/EMS-ESP32/releases and give feedback if it is fixed or not.

@pswid
Copy link
Contributor

pswid commented Dec 21, 2022

I'm experiencing similar(?) issue. In my case uptimecontrol and uptimecompheating are not displayed at all:

image

v3.5.0b11 was OK:
image

Your b12 compilation doesn't solve the problem.

@MichaelDvP
Copy link
Contributor

Your b12 compilation doesn't solve the problem.

Thanks, now i understand this strange value, it's an artifact from float conversion.
I'll update my testbuild. Please check.

MichaelDvP added a commit to MichaelDvP/EMS-ESP32 that referenced this issue Dec 22, 2022
@MaartenRs
Copy link
Author

MaartenRs commented Dec 22, 2022 via email

@MichaelDvP
Copy link
Contributor

MichaelDvP commented Dec 22, 2022

Nice finding,

@MaartenRs reboot emsesp and only use single click and wait for data.
The Homeassistant entities has to be configured in mqtt, use the v3.4.4 option to keep compatible to old version.

@pswid
Copy link
Contributor

pswid commented Dec 22, 2022

Unfortunately B13 is much worse. It's even impossible to display all entities for Boiler. App is highly instable and very frequently restarts (e.g. if I try to expand Boiler entities on the dashboard). I also noticed that B11 (which is working properly) shows 82 entities for my Boiler while B12/B13 version much more (102-104). Hoever it doesn't seem that so many new entities was added in b12/b13!??
While refreshing dashboard in B12/B13 I often see error message:

image
What does this error mean?

@MaartenRs
Copy link
Author

I solved the error "Problem loading" by power off the gateway restart didn't solve the issue.

Single click works fine.

My version of MQTT is:
Mosquitto broker
Current version: 6.1.3

I have restarted HA, but still Enitites are not found or not available.
image

@MichaelDvP
Copy link
Contributor

grafik

@pswid
Copy link
Contributor

pswid commented Dec 22, 2022

Small update. I'm already using "long name (v.3.4)" option. Regarding number of entities. I counted them and value over 100 is correct in B12/B13 (for my system). So indeed more than 20 new entities was added since B11. Nice!

@MichaelDvP
Copy link
Contributor

The bad side of more entities is ram and the 507 on dashboard/customization, see #823

@MaartenRs
Copy link
Author

Unfortenatly I don't see (anymore) MQTT at the left of my screen.
If I go to settings, I can't find this option.
image

@MichaelDvP
Copy link
Contributor

MichaelDvP commented Dec 22, 2022

@MaartenRs : You are searching in Homeassistant., this is EMS-ESP. Open EMS-ESP webpage and set the options.

http://ems-esp.local

@MaartenRs
Copy link
Author

Stupid me 😡
After having set this
image

I get this error message, even after re-booting the gatway (power off).
image

@MichaelDvP
Copy link
Contributor

see #823

@MichaelDvP
Copy link
Contributor

@pswid Could you please test with https://github.com/MichaelDvP/EMS-ESP32/releases
set a log to debug and navigate to dashboard boiler and Settings/Customization Boiler
The log (please attach) should show the buffer used for the display. I've reduced the buffer to 16k to avoid 507, if it is to small a few entities at the end will be skipped.

@proddy proddy added this to the v3.5.0 milestone Dec 23, 2022
@pswid
Copy link
Contributor

pswid commented Dec 23, 2022

Indeed the buffer is too small and the customization page is truncated (~50 entities from 104 total is missing!). Furthermore if I try to expand Boiler at dashboard only empty/white page is displayed. Log attached. It says Customization buffer used: 7639

image
image

log.txt

@MichaelDvP
Copy link
Contributor

Sad, so the size measurement is packed json, but the buffer have to hold unpacked json. I'll set back to 20k.

proddy added a commit that referenced this issue Dec 24, 2022
@MichaelDvP
Copy link
Contributor

Back to OP:
@MaartenRs Is the wrong value 21.474.836 solved in latest builds?
Can this be closed or i something to do?

@MaartenRs
Copy link
Author

MaartenRs commented Dec 28, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants