Closed oOoHoCo closed 5 months ago
VERY interesting sample data - specially when comparing this to #28
Thats why I thought I should post it.
Please close, if the new build will solve this - TIA
Hey there, thank for the fast "experimental" release. I could add the intengration without errors, but there are no entities and this is in the logs:
2024-06-23 22:48:07.212 INFO (MainThread) [custom_components.tibber_local] Starting TibberLocal with interval: 0:00:10 - ConfigEntry: {'data': {'name': 'ltibber', 'host': '<MASKED>', 'password': '<MASKED>', 'scan_interval': 10, 'node_num': 1, 'id': None, 'mode': 99}, 'disabled_by': None, 'domain': 'tibber_local', 'entry_id': '4999a8c3e147fc312121323740502c8b', 'minor_version': 1, 'options': {}, 'pref_disable_new_entities': False, 'pref_disable_polling': False, 'source': 'user', 'title': 'ltibber', 'unique_id': None, 'version': 1} 2024-06-23 22:48:07.212 INFO (MainThread) [custom_components.tibber_local] restarting TibberLocalBridge integration... for host: '<masked>' node: '1' com_mode: '99' with options: {'ignore_parse_errors': False} 2024-06-23 22:48:07.242 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '\x021', '0', 'C', '1', '0', '255', '1ZPA0026363560', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: '\x021' 2024-06-23 22:48:07.243 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '90', '2', '255', '7249A01D', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:48:07.243 DEBUG (MainThread) [custom_components.tibber_local] unknown entry: 1-0:F.F*255(000000) (line: 1-0:F.F*255(000000)) 2024-06-23 22:48:07.244 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '5', '0', '255', '001C0104', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:48:07.244 INFO (MainThread) [custom_components.tibber_local] after init - found OBIS entries: '{'0100010800ff': <obis: 0100010800ff, value: 4098972.7999999993, unit: 30>, '0100010801ff': <obis: 0100010801ff, value: 4098972.7999999993, unit: 30>, '0100010802ff': <obis: 0100010802ff, value: 0.0, unit: 30>, '0100020800ff': <obis: 0100020800ff, value: 109931.9, unit: 30>, '0100100700ff': <obis: 0100100700ff, value: 432, unit: 27>, '0100200700ff': <obis: 0100200700ff, value: 232.0, unit: 35>, '0100340700ff': <obis: 0100340700ff, value: 233.0, unit: 35>, '0100480700ff': <obis: 0100480700ff, value: 232.8, unit: 35>, '01001f0700ff': <obis: 01001f0700ff, value: 0.05, unit: 33>, '0100330700ff': <obis: 0100330700ff, value: 2.11, unit: 33>, '0100470700ff': <obis: 0100470700ff, value: 0.48, unit: 33>, '0100510701ff': <obis: 0100510701ff, value: 119>, '0100510702ff': <obis: 0100510702ff, value: 238>, '0100510704ff': <obis: 0100510704ff, value: 303>, '010051070fff': <obis: 010051070fff, value: 328>, '010051071aff': <obis: 010051071aff, value: 298>, '01000e0700ff': <obis: 01000e0700ff, value: 50.0, unit: 44>, '0100000200ff': <obis: 0100000200ff, value: ver.21,7249A01D,20211201>, '0100240700ff': <obis: 0100240700ff, value: 4, unit: 27>, '0100380700ff': <obis: 0100380700ff, value: 372, unit: 27>, '01004c0700ff': <obis: 01004c0700ff, value: 48, unit: 27>, '010001080060': <obis: 010001080060, value: 11900.0, unit: 30>, '010001080061': <obis: 010001080061, value: 66000.0, unit: 30>, '010001080062': <obis: 010001080062, value: 298100.0, unit: 30>, '010001080063': <obis: 010001080063, value: 0.0, unit: 30>, '010001080064': <obis: 010001080064, value: 4098899.9999999995, unit: 30>}' 2024-06-23 22:48:07.259 INFO (MainThread) [custom_components.tibber_local.sensor] available sensors found: dict_keys(['0100010800ff', '0100010801ff', '0100010802ff', '0100020800ff', '0100100700ff', '0100200700ff', '0100340700ff', '0100480700ff', '01001f0700ff', '0100330700ff', '0100470700ff', '0100510701ff', '0100510702ff', '0100510704ff', '010051070fff', '010051071aff', '01000e0700ff', '0100000200ff', '0100240700ff', '0100380700ff', '01004c0700ff', '010001080060', '010001080061', '010001080062', '010001080063', '010001080064']) 2024-06-23 22:48:17.430 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '\x021', '0', 'C', '1', '0', '255', '1ZPA0026363560', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: '\x021' 2024-06-23 22:48:17.431 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '90', '2', '255', '7249A01D', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:48:17.432 DEBUG (MainThread) [custom_components.tibber_local] unknown entry: 1-0:F.F*255(000000) (line: 1-0:F.F*255(000000)) 2024-06-23 22:48:17.432 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '5', '0', '255', '001C0104', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:48:17.433 DEBUG (MainThread) [custom_components.tibber_local] Finished fetching tibber_local data in 0.141 seconds (success: True) 2024-06-23 22:48:27.432 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '\x021', '0', 'C', '1', '0', '255', '1ZPA0026363560', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: '\x021' 2024-06-23 22:48:27.434 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '90', '2', '255', '7249A01D', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:48:27.434 DEBUG (MainThread) [custom_components.tibber_local] unknown entry: 1-0:F.F*255(000000) (line: 1-0:F.F*255(000000)) 2024-06-23 22:48:27.434 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '5', '0', '255', '001C0104', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:48:27.435 DEBUG (MainThread) [custom_components.tibber_local] Finished fetching tibber_local data in 0.138 seconds (success: True) 2024-06-23 22:48:37.394 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '\x021', '0', 'C', '1', '0', '255', '1ZPA0026363560', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: '\x021' 2024-06-23 22:48:37.396 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '90', '2', '255', '7249A01D', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:48:37.396 DEBUG (MainThread) [custom_components.tibber_local] unknown entry: 1-0:F.F*255(000000) (line: 1-0:F.F*255(000000)) 2024-06-23 22:48:37.396 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '5', '0', '255', '001C0104', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:48:37.397 DEBUG (MainThread) [custom_components.tibber_local] Finished fetching tibber_local data in 0.105 seconds (success: True) 2024-06-23 22:48:47.330 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '\x021', '0', 'C', '1', '0', '255', '1ZPA0026363560', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: '\x021' 2024-06-23 22:48:47.331 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '90', '2', '255', '7249A01D', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:48:47.331 DEBUG (MainThread) [custom_components.tibber_local] unknown entry: 1-0:F.F*255(000000) (line: 1-0:F.F*255(000000)) 2024-06-23 22:48:47.331 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '5', '0', '255', '001C0104', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:48:47.332 DEBUG (MainThread) [custom_components.tibber_local] Finished fetching tibber_local data in 0.040 seconds (success: True) 2024-06-23 22:48:57.364 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '\x021', '0', 'C', '1', '0', '255', '1ZPA0026363560', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: '\x021' 2024-06-23 22:48:57.366 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '90', '2', '255', '7249A01D', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:48:57.367 DEBUG (MainThread) [custom_components.tibber_local] unknown entry: 1-0:F.F*255(000000) (line: 1-0:F.F*255(000000)) 2024-06-23 22:48:57.367 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '5', '0', '255', '001C0104', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:48:57.368 DEBUG (MainThread) [custom_components.tibber_local] Finished fetching tibber_local data in 0.076 seconds (success: True) 2024-06-23 22:49:07.400 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '\x021', '0', 'C', '1', '0', '255', '1ZPA0026363560', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: '\x021' 2024-06-23 22:49:07.401 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '90', '2', '255', '7249A01D', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:49:07.402 DEBUG (MainThread) [custom_components.tibber_local] unknown entry: 1-0:F.F*255(000000) (line: 1-0:F.F*255(000000)) 2024-06-23 22:49:07.402 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '5', '0', '255', '001C0104', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:49:07.403 DEBUG (MainThread) [custom_components.tibber_local] Finished fetching tibber_local data in 0.111 seconds (success: True) 2024-06-23 22:49:17.327 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '\x021', '0', 'C', '1', '0', '255', '1ZPA0026363560', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: '\x021' 2024-06-23 22:49:17.328 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '90', '2', '255', '7249A01D', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:49:17.329 DEBUG (MainThread) [custom_components.tibber_local] unknown entry: 1-0:F.F*255(000000) (line: 1-0:F.F*255(000000)) 2024-06-23 22:49:17.329 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '5', '0', '255', '001C0104', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:49:17.330 DEBUG (MainThread) [custom_components.tibber_local] Finished fetching tibber_local data in 0.037 seconds (success: True) 2024-06-23 22:49:27.493 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '\x021', '0', 'C', '1', '0', '255', '1ZPA0026363560', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: '\x021' 2024-06-23 22:49:27.495 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '90', '2', '255', '7249A01D', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:49:27.495 DEBUG (MainThread) [custom_components.tibber_local] unknown entry: 1-0:F.F*255(000000) (line: 1-0:F.F*255(000000)) 2024-06-23 22:49:27.496 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '5', '0', '255', '001C0104', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:49:27.497 DEBUG (MainThread) [custom_components.tibber_local] Finished fetching tibber_local data in 0.205 seconds (success: True) 2024-06-23 22:49:37.404 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '\x021', '0', 'C', '1', '0', '255', '1ZPA0026363560', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: '\x021' 2024-06-23 22:49:37.406 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '90', '2', '255', '7249A01D', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:49:37.406 DEBUG (MainThread) [custom_components.tibber_local] unknown entry: 1-0:F.F*255(000000) (line: 1-0:F.F*255(000000)) 2024-06-23 22:49:37.406 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '5', '0', '255', '001C0104', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:49:37.407 DEBUG (MainThread) [custom_components.tibber_local] Finished fetching tibber_local data in 0.113 seconds (success: True) 2024-06-23 22:49:47.332 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '\x021', '0', 'C', '1', '0', '255', '1ZPA0026363560', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: '\x021' 2024-06-23 22:49:47.333 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '90', '2', '255', '7249A01D', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:49:47.333 DEBUG (MainThread) [custom_components.tibber_local] unknown entry: 1-0:F.F*255(000000) (line: 1-0:F.F*255(000000)) 2024-06-23 22:49:47.333 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '5', '0', '255', '001C0104', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:49:47.334 DEBUG (MainThread) [custom_components.tibber_local] Finished fetching tibber_local data in 0.043 seconds (success: True) 2024-06-23 22:49:57.368 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '\x021', '0', 'C', '1', '0', '255', '1ZPA0026363560', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: '\x021' 2024-06-23 22:49:57.370 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '90', '2', '255', '7249A01D', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:49:57.370 DEBUG (MainThread) [custom_components.tibber_local] unknown entry: 1-0:F.F*255(000000) (line: 1-0:F.F*255(000000)) 2024-06-23 22:49:57.370 WARNING (MainThread) [custom_components.tibber_local] could not parse a value as int from list ['', '1', '0', 'C', '5', '0', '255', '001C0104', ''] - Please check the position of your Tibber Pulse reading head (you might need to rotate it few degrees anti clock wise) - Exception: invalid literal for int() with base 10: 'C' 2024-06-23 22:49:57.371 DEBUG (MainThread) [custom_components.tibber_local] Finished fetching tibber_local data in 0.078 seconds (success: True)
once the integration is configured, you can select the additional setting "do not log parser errors"... that's the main part of the LOG output here...
Ahh yes ... and now I have the entities ... seems that I was tooo fast with my judgement ;) Now I have the entities and they look OK!
Thank you for the fast fix. Will close the issue.
Regards,
Ben
Thank
Checklist
Meter type? | check your http://[YOUR-PULSE-IP]/nodes/1/config
IEC-62056-21 (IR)
Output of the Tibber webfrontent data.json | check http://[YOUR-PULSE-IP]/nodes/1/data or http://[YOUR-PULSE-IP]/data.json?node_id=1
Integration DEBUG log
Any additional description
I can see that it is pretty much plain text. So I think this could be pretty straight forward. Would love to use local polling instead of relying on the tibber API :D
Regards!