DarwinsBuddy / WienerNetzeSmartmeter

A home-assistant integration supporting WienerNetze Smartmeters as sensors
143 stars 15 forks source link

Protokollfehler - Please file an issue with this error immer um 22:00 #240

Closed TomFeix closed 2 weeks ago

TomFeix commented 4 months ago

Logger: custom_components.wnsm.live_sensor Quelle: custom_components/wnsm/live_sensor.py:68 Integration: WienerNetzeSmartmeter (Dokumentation, Probleme) Erstmals aufgetreten: 1. Juli 2024 um 21:45:26 (194 Vorkommnisse) Zuletzt protokolliert: 22:45:29

Please file an issue with this error and (anonymized) payload in github {'hasSmartMeter': True, 'isDataDeleted': False, 'zaehlpunkt': 'AT00100000000000000010000150xxxxx', 'type': 'TAGSTROM', 'address': 'xxxxxx(Haus 4), 0000 Wien', 'zip': '0000'} {'consumptionDayBeforeYesterdayValue': 249, 'consumptionDayBeforeYesterdayValidated': True, 'consumptionDayBeforeYesterdayTimestamp': '2024-07-05T22:00:00.000Z'} {'lastValue': 7419452, 'lastReading': '2024-07-07T22:00:00.000Z', 'lastValidated': True, 'lastType': '1-2:1.8.0'} {'optIn': True, 'consumptionAverage': 0, 'consumptionMinimum': 0, 'consumptionMaximum': 0}

DarwinsBuddy commented 4 months ago

@tschoerk I guess this is related to #233 But could this be fixed with #236 already as well?

DarwinsBuddy commented 4 months ago

Duplicate of #227

TomFeix commented 4 months ago

Sorry I have one customerID one Smartmeter 2 Zählpunkte get only "Verbrauch" - "Einspeisung" missing - last Version ist there a configuration sample in the yaml (find only for 1 Zählpunkt) sorry all the items are confusing - should i Reinstall - only deinstall and install ore delete all entries pls help

TomFeix commented 4 months ago

So i deinstalled deleted statistic - reinstalled get only 3 entries

  1. has data 2. ok no data 3. ? also no data is for Einspeisung

image

TomFeix commented 4 months ago

@tschoerk I guess this is related to #233 But could this be fixed with #236 already as well?

does not function!

TomFeix commented 4 months ago

Duplicate of #227

does not function

tschoerk commented 4 months ago

I would try the following steps, which resets everything completely and imports it again (see #19 How can I start over with a fresh data import?):

  1. Navigate to the energy configuration and remove the sensors for consumption and feed-in grafik
  2. Remove the statistical data of the sensors
    • Navigate to Developer tools -> Services -> Recorder: Clean up entities
    • Select all sensors (start with AT001)
    • Deactivate Domains to remove and Entity globs to remove
    • Select Days to keep and select 0
    • Click on Execute service grafik
  3. Remove the integration
    • Navigate to Integrationen and to the entry of WienerNetzeSmartmeter.
    • Select the 3 points for ALL entries and click Delete grafik
  4. Navigate to Developer tools -> Statistics
    • Enter AT001 in the search above
    • For each entry, a button should appear on the right “Problems with this integration”
    • Click on it and select delete
  5. Reboot HomeAssistant
  6. Install the newest version with HACS
  7. Reboot HomeAssistant
  8. Add the integration WienerNetzeSmartmeter again

Now 4 entities should be found, two “normal” and two “statistics”. In the energy configuration, the statistics sensors can now be added again for consumption and feed-in so that everything is clearly visible on the energy dashboard.

If the problems still occur, a good starting point for identifying problems is to activate debug logging in the integration:

  1. delete the entities in the integration
  2. activate the debug logging
  3. add the entities again using Add entry
  4. deactivate the debug logging - a log should be downloaded automatically
  5. post the relevant parts, i.e. error messages etc. here wnsm_integration
DarwinsBuddy commented 3 weeks ago

@TomFeix does your problem still exist?

@tschoerk Thank you so much for adding so much detail to the troubleshooting steps. I edited our FAQs to match your description. :heart:

TomFeix commented 3 weeks ago

Wow top it works - many thanks

Am 26.10.2024 um 16:13 schrieb XXX @.***>:



@TomFeixhttps://github.com/TomFeix does your problem still exist?

@tschoerkhttps://github.com/tschoerk Thank you so much for adding so much detail to the troubleshooting steps. I edited our FAQshttps://github.com/DarwinsBuddy/WienerNetzeSmartmeter/discussions/19 to match your description. ❤️

— Reply to this email directly, view it on GitHubhttps://github.com/DarwinsBuddy/WienerNetzeSmartmeter/issues/240#issuecomment-2439597192, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BAE464JTCIUVR7FY2XFLYSDZ5OPPVAVCNFSM6AAAAABKTUXBE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGU4TOMJZGI. You are receiving this because you were mentioned.Message ID: @.***>

franz-josef-kaiser commented 3 weeks ago

@TomFeix you might want to remove your comment, containing personal identifiable information (prob. from your mail footer).

TomFeix commented 3 weeks ago

@TomFeix you might want to remove your comment, containing personal identifiable information (prob. from your mail footer).

many thanks