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

no Rate since 13.0.7 #1600

Closed
donnie-darko opened this issue Dec 16, 2022 · 2 comments
Closed

no Rate since 13.0.7 #1600

donnie-darko opened this issue Dec 16, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@donnie-darko
Copy link

The Problem

Since version 13.0.7 the 'Previous Value' and 'Value' is always the same therefore the 'Rate' is always 'inf'.
I use the device as a gasmeter reader integrated to Home Assistant with MQTT

Version

13.0.7

Logfile

[       4] 2022-12-16T09:51:17 <INF> [MAIN] =================================================
[       4] 2022-12-16T09:51:17 <INF> [MAIN] ==================== Startup ====================
[       4] 2022-12-16T09:51:17 <INF> [MAIN] =================================================
[       4] 2022-12-16T09:51:17 <INF> [MAIN] Branch: 'HEAD', Revision: 304b9e0, Date/Time: 2022-12-11 22:36, Web UI: Release: v13.0.7 (Commit: 304b9e0) 
[       4] 2022-12-16T09:51:17 <INF> [MAIN] Reset reason: Via esp_restart
[      10] 2022-12-16T09:51:23 <INF> [MAIN] =================================================
[      10] 2022-12-16T09:51:23 <INF> [MAIN] ================== Main Started =================
[      10] 2022-12-16T09:51:23 <INF> [MAIN] =================================================
[      12] 2022-12-16T09:51:25 <INF> [MAIN] Initialization completed successfully!
[      17] 2022-12-16T10:51:30 <INF> [SNTP] Time zone set to CET-1CEST,M3.5.0,M10.5.0/3
[      17] 2022-12-16T10:51:30 <INF> [MQTT] Digitizer interval is 5.0 minutes => setting MQTT LWT timeout to 12.5 minutes.
[      17] 2022-12-16T10:51:30 <INF> [MQTT IF] URI: mqtt://10.0.1.4:1883, clientname: gasm, user: gasmeter, password: XXXXXXXX, maintopic: gasmeter, last-will-topic: gasmeter/connection, keepAlive: 750
[      17] 2022-12-16T10:51:30 <INF> [MQTT IF] Init
[      17] 2022-12-16T10:51:30 <INF> [MQTT IF] Client started, waiting for established connection...
[      17] 2022-12-16T10:51:30 <DBG> [TFLITE SERVER] ----------------------------------------------------------------
[      17] 2022-12-16T10:51:30 <INF> [TFLITE SERVER] Round #1 started
[      17] 2022-12-16T10:51:31 <INF> [MQTT IF] Connected to broker
[      17] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: gasmeter/connection, content: connected (msg_id=9238)
[      17] 2022-12-16T10:51:31 <INF> [MQTT SERVER] MQTT - Sending Homeassistant Discovery Topics (Meter Type: gas, Value Unit: m³ , Rate Unit: m³/h)...
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/uptime/config, content: { "~": "gasmeter", "unique_id": "gasmeter-uptime", "object_id": "gasmeter_uptime.. (msg_id=37519)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/MAC/config, content: { "~": "gasmeter", "unique_id": "gasmeter-MAC", "object_id": "gasmeter_MAC", "na.. (msg_id=21317)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/hostname/config, content: { "~": "gasmeter", "unique_id": "gasmeter-hostname", "object_id": "gasmeter_host.. (msg_id=23947)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/freeMem/config, content: { "~": "gasmeter", "unique_id": "gasmeter-freeMem", "object_id": "gasmeter_freeM.. (msg_id=24226)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/wifiRSSI/config, content: { "~": "gasmeter", "unique_id": "gasmeter-wifiRSSI", "object_id": "gasmeter_wifi.. (msg_id=44691)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/CPUtemp/config, content: { "~": "gasmeter", "unique_id": "gasmeter-CPUtemp", "object_id": "gasmeter_CPUte.. (msg_id=65472)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/interval/config, content: { "~": "gasmeter", "unique_id": "gasmeter-interval", "object_id": "gasmeter_inte.. (msg_id=61410)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/IP/config, content: { "~": "gasmeter", "unique_id": "gasmeter-IP", "object_id": "gasmeter_IP", "name.. (msg_id=42360)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/status/config, content: { "~": "gasmeter", "unique_id": "gasmeter-status", "object_id": "gasmeter_status.. (msg_id=38317)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/value/config, content: { "~": "gasmeter", "unique_id": "gasmeter-value", "object_id": "gasmeter_value",.. (msg_id=9414)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/raw/config, content: { "~": "gasmeter", "unique_id": "gasmeter-raw", "object_id": "gasmeter_raw", "na.. (msg_id=29382)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/error/config, content: { "~": "gasmeter", "unique_id": "gasmeter-error", "object_id": "gasmeter_error",.. (msg_id=45134)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/rate_per_time_unit/config, content: { "~": "gasmeter", "unique_id": "gasmeter-rate_per_time_unit", "object_id": "gas.. (msg_id=25716)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/rate_per_digitalization_round/config, content: { "~": "gasmeter", "unique_id": "gasmeter-rate_per_digitalization_round", "objec.. (msg_id=195)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/timestamp/config, content: { "~": "gasmeter", "unique_id": "gasmeter-timestamp", "object_id": "gasmeter_tim.. (msg_id=12406)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/sensor/gasmeter/json/config, content: { "~": "gasmeter", "unique_id": "gasmeter-json", "object_id": "gasmeter_json", ".. (msg_id=59624)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: homeassistant/binary_sensor/gasmeter/problem/config, content: { "~": "gasmeter", "unique_id": "gasmeter-problem", "object_id": "gasmeter_probl.. (msg_id=40289)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT SERVER] Publishing static MQTT topics...
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: gasmeter/MAC, content: 58:BF:25:83:8A:78 (msg_id=61573)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: gasmeter/IP, content: 10.0.1.23 (msg_id=12881)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: gasmeter/hostname, content: gasmeter (msg_id=11406)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: gasmeter/interval, content: 5.0 (msg_id=60434)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT SERVER] Publishing system MQTT topics...
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: gasmeter/uptime, content: 8 (msg_id=5884)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: gasmeter/freeMem, content: 3125903 (msg_id=61308)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: gasmeter/wifiRSSI, content: -57 (msg_id=3144)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: gasmeter/CPUtemp, content: 53 (msg_id=57352)
[      18] 2022-12-16T10:51:31 <DBG> [MQTT IF] Published topic: gasmeter/status, content: Take Image (msg_id=46335)
[      18] 2022-12-16T10:51:32 <DBG> [OTA FILE] log_get_last_part_handler
[      26] 2022-12-16T10:51:39 <DBG> [MQTT IF] Published topic: gasmeter/status, content: Aligning (msg_id=41548)
[      33] 2022-12-16T10:51:46 <DBG> [OTA FILE] log_get_last_part_handler
[      66] 2022-12-16T10:52:19 <DBG> [MQTT IF] Published topic: gasmeter/status, content: Digitalization of ROIs (msg_id=21774)
[      66] 2022-12-16T10:52:19 <DBG> [CNN] doFlow nach Alignment
[      69] 2022-12-16T10:52:22 <DBG> [TFLITE] Make Allocate
[      69] 2022-12-16T10:52:22 <DBG> [CNN] Processing Number 'main'
[      69] 2022-12-16T10:52:22 <DBG> [CNN] ROI #0 - TfLite
[      69] 2022-12-16T10:52:22 <DBG> [CNN] CNN Type: DoubleHyprid10
[      75] 2022-12-16T10:52:28 <DBG> [CNN] Nach Invoke
[      75] 2022-12-16T10:52:28 <DBG> [CNN] _num (p, m): 1 2 0 _val (p, m): 0.982925 0.016822 0.000222 result: 1.016826 _fit: 0.999747
[      75] 2022-12-16T10:52:28 <DBG> [CNN] ROI #1 - TfLite
[      75] 2022-12-16T10:52:28 <DBG> [CNN] CNN Type: DoubleHyprid10
[      80] 2022-12-16T10:52:34 <DBG> [CNN] Nach Invoke
[      80] 2022-12-16T10:52:34 <DBG> [CNN] _num (p, m): 6 7 5 _val (p, m): 0.942522 0.056865 0.000613 result: 6.056900 _fit: 0.999387
[      80] 2022-12-16T10:52:34 <DBG> [CNN] ROI #2 - TfLite
[      81] 2022-12-16T10:52:34 <DBG> [CNN] CNN Type: DoubleHyprid10
[      86] 2022-12-16T10:52:39 <DBG> [CNN] Nach Invoke
[      86] 2022-12-16T10:52:39 <DBG> [CNN] _num (p, m): 1 2 0 _val (p, m): 0.988181 0.011568 0.000251 result: 1.011571 _fit: 0.999749
[      86] 2022-12-16T10:52:39 <DBG> [CNN] ROI #3 - TfLite
[      86] 2022-12-16T10:52:39 <DBG> [CNN] CNN Type: DoubleHyprid10
[      92] 2022-12-16T10:52:45 <DBG> [CNN] Nach Invoke
[      92] 2022-12-16T10:52:45 <DBG> [CNN] _num (p, m): 2 3 1 _val (p, m): 0.998223 0.001757 0.000020 result: 2.001757 _fit: 0.999980
[      92] 2022-12-16T10:52:45 <DBG> [CNN] ROI #4 - TfLite
[      92] 2022-12-16T10:52:45 <DBG> [CNN] CNN Type: DoubleHyprid10
[      98] 2022-12-16T10:52:51 <DBG> [CNN] Nach Invoke
[      98] 2022-12-16T10:52:51 <DBG> [CNN] _num (p, m): 8 9 7 _val (p, m): 0.999498 0.000501 0.000000 result: 8.000502 _fit: 0.999999
[      98] 2022-12-16T10:52:51 <DBG> [CNN] ROI #5 - TfLite
[      98] 2022-12-16T10:52:51 <DBG> [CNN] CNN Type: DoubleHyprid10
[     104] 2022-12-16T10:52:57 <DBG> [CNN] Nach Invoke
[     104] 2022-12-16T10:52:57 <DBG> [CNN] _num (p, m): 3 4 2 _val (p, m): 0.999850 0.000150 0.000000 result: 3.000150 _fit: 1.000000
[     104] 2022-12-16T10:52:57 <DBG> [CNN] ROI #6 - TfLite
[     104] 2022-12-16T10:52:57 <DBG> [CNN] CNN Type: DoubleHyprid10
[     110] 2022-12-16T10:53:03 <DBG> [CNN] Nach Invoke
[     110] 2022-12-16T10:53:03 <DBG> [CNN] _num (p, m): 2 3 1 _val (p, m): 0.954171 0.000000 0.045829 result: 1.954171 _fit: 1.000000
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/status, content: Post-Processing (msg_id=27231)
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout _analog=0, _extendedResolution=0, prev=-1
[     110] 2022-12-16T10:53:03 <DBG> [CNN] ZeigerEvalHybridNeu - kein Vorgänger - Ergebnis = 2 zahl: 1.954171 zahl_vorgaenger = -1.000000 eval_vorgaenger = -1 DigitalUnschaerfe = 0.200000
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout(dig100) prev=2
[     110] 2022-12-16T10:53:03 <DBG> [CNN] ZeigerEvalHybridNeu - KEIN Analoger Vorgänger, kein Ziffernwechsel, da Vorkomma weit genug weg = 3 zahl: 3.000150 zahl_vorgaenger = 1.954171 eval_vorgaenger = 2 DigitalUnschaerfe = 0.200000
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout#ZeigerEvalHybridNeu()= 3
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout#result= 32
[     110] 2022-12-16T10:53:03 <DBG> [CNN] ZeigerEvalHybridNeu - KEIN Analoger Vorgänger, kein Ziffernwechsel, da Vorkomma weit genug weg = 8 zahl: 8.000502 zahl_vorgaenger = 3.000150 eval_vorgaenger = 3 DigitalUnschaerfe = 0.200000
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout#ZeigerEvalHybridNeu()= 8
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout#result= 832
[     110] 2022-12-16T10:53:03 <DBG> [CNN] ZeigerEvalHybridNeu - KEIN Analoger Vorgänger, kein Ziffernwechsel, da Vorkomma weit genug weg = 2 zahl: 2.001757 zahl_vorgaenger = 8.000502 eval_vorgaenger = 8 DigitalUnschaerfe = 0.200000
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout#ZeigerEvalHybridNeu()= 2
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout#result= 2832
[     110] 2022-12-16T10:53:03 <DBG> [CNN] ZeigerEvalHybridNeu - KEIN Analoger Vorgänger, kein Ziffernwechsel, da Vorkomma weit genug weg = 1 zahl: 1.011571 zahl_vorgaenger = 2.001757 eval_vorgaenger = 2 DigitalUnschaerfe = 0.200000
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout#ZeigerEvalHybridNeu()= 1
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout#result= 12832
[     110] 2022-12-16T10:53:03 <DBG> [CNN] ZeigerEvalHybridNeu - KEIN Analoger Vorgänger, kein Ziffernwechsel, da Vorkomma weit genug weg = 6 zahl: 6.056900 zahl_vorgaenger = 1.011571 eval_vorgaenger = 1 DigitalUnschaerfe = 0.200000
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout#ZeigerEvalHybridNeu()= 6
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout#result= 612832
[     110] 2022-12-16T10:53:03 <DBG> [CNN] ZeigerEvalHybridNeu - KEIN Analoger Vorgänger, kein Ziffernwechsel, da Vorkomma weit genug weg = 1 zahl: 1.016826 zahl_vorgaenger = 6.056900 eval_vorgaenger = 6 DigitalUnschaerfe = 0.200000
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout#ZeigerEvalHybridNeu()= 1
[     110] 2022-12-16T10:53:03 <DBG> [CNN] getReadout#result= 1612832
[     110] 2022-12-16T10:53:03 <INF> [POSTPROC] main: Raw: 1612.832, Value: 1612.832, Status: no error
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/status, content: Sending MQTT (msg_id=32838)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT SERVER] Publishing system MQTT topics...
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/uptime, content: 100 (msg_id=472)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/freeMem, content: 3148915 (msg_id=45034)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/wifiRSSI, content: -57 (msg_id=31208)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/CPUtemp, content: 36 (msg_id=3220)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT] Publishing MQTT topics...
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/main/value, content: 1612.832 (msg_id=47095)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/main/error, content: no error (msg_id=28170)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/main/rate, content: inf (msg_id=22800)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/main/rate_per_time_unit, content: inf (msg_id=45822)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/main/changeabsolut, content: 0.012 (msg_id=62682)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/main/rate_per_digitalization_round, content: 0.012 (msg_id=41167)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/main/raw, content: 1612.832 (msg_id=44053)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/main/timestamp, content: 2022-12-16T10:51:39+0100 (msg_id=2084)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/main/json, content: { "value": "1612.832", "raw": "1612.832", "pre": "1612.832", ".. (msg_id=34420)
[     110] 2022-12-16T10:53:03 <DBG> [MQTT IF] Published topic: gasmeter/status, content: Flow finished (msg_id=10760)
[     110] 2022-12-16T10:53:03 <DBG> [TFLITE SERVER] CPU Temperature: 36.7
[     110] 2022-12-16T10:53:03 <INF> [TFLITE SERVER] Round #1 completed
[     118] 2022-12-16T10:53:11 <DBG> [OTA FILE] log_get_last_part_handler

Expected Behavior

No response

Screenshots

No response

Additional Context

No response

@donnie-darko donnie-darko added the bug Something isn't working label Dec 16, 2022
@TopGoalVl
Copy link

Have a look at issue 1578:
#1578

@donnie-darko
Copy link
Author

Thanks @TopGoalVl, now I see my bug report is a duplicate so I’ll close it.

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

2 participants