pantherale0 / ha-fuelprices

A generic and extensible integration with pyfuelprices to retrieve local (or remote) fuel price data.
MIT License
16 stars 2 forks source link

Instalation question #9

Closed ArthurMitchell42 closed 7 months ago

ArthurMitchell42 commented 7 months ago

System Health details

System Information

version core-2024.1.6
installation_type Home Assistant Container
dev false
hassio false
docker true
user root
virtualenv false
python_version 3.11.6
os_name Linux
os_version 6.2.16-3-pve
arch x86_64
timezone Europe/London
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4999 Installed Version | 1.34.0 Stage | running Available Repositories | 1391 Downloaded Repositories | 5 HACS Data | ok
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Dashboards dashboards | 6 -- | -- resources | 2 views | 6 mode | storage
Recorder oldest_recorder_run | 4 February 2024 at 21:31 -- | -- current_recorder_run | 10 February 2024 at 20:32 estimated_db_size | 313.98 MiB database_engine | sqlite database_version | 3.41.2

Checklist

Describe the issue

I may have misunderstood something but after setting up the location I get 8 sensors of stations near me. when I add them to a card all I get is a list of the post codes and station names on the left column and just the post code on the right side of the card, no prices. Have I missed a step in configuration please?

Reproduction steps

  1. Set up a location
  2. Finish setup
  3. Add sensors to a new card ...

Debug logs

2024-02-10 20:50:24.010 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:51:54.034 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 20:51:54.174 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:52:41.028 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.028 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.029 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:52:41.143 WARNING (MainThread) [py.warnings] /usr/local/lib/python3.11/site-packages/pyfuelprices/sources/uk/__init__.py:44: RuntimeWarning: coroutine 'FuelLocation.update' was never awaited
  self.location_cache[site_id].update(location)

2024-02-10 20:53:14.563 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:53:24.592 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 20:54:34.986 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:54:45.120 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 20:55:55.234 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.122 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:05.123 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2024-02-10 20:56:06.338 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 20:56:19.293 ERROR (MainThread) [plexwebsocket] AIOHTTP websocket error
2024-02-10 20:57:15.376 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:57:26.806 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 20:58:35.594 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 20:58:57.312 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 20:59:55.756 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:00:27.806 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:01:16.083 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:01:48.098 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:02:36.200 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:03:08.446 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:03:56.333 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:04:28.672 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:05:16.827 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:05:58.912 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:06:37.180 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:07:29.155 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:07:57.651 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:08:49.408 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:09:17.867 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://10.0.10.35:5000/api/stats: Cannot connect to host 10.0.10.35:5000 ssl:default [Connect call failed ('10.0.10.35', 5000)]
2024-02-10 21:10:19.860 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:11:50.375 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:13:20.891 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:14:51.363 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:16:21.921 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:17:52.552 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:19:12.868 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:20:32.962 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:21:53.318 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:23:13.655 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:24:34.086 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:25:54.247 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:27:14.336 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:28:44.718 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:30:05.326 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:31:25.642 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:32:56.106 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:34:16.308 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer
2024-02-10 21:35:46.657 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  AdbTimeoutError: Timeout: read 0 of 24 bytes (transport_timeout_s = 1.0, read_timeout_s = 10.0)
2024-02-10 21:37:06.842 WARNING (MainThread) [androidtv.adb_manager.adb_manager_async] Couldn't connect to 10.0.10.162:5555.  ConnectionResetError: Connection reset by peer

Diagnostics dump

No response

pantherale0 commented 7 months ago

Hi,

You will need to use something like auto entities and flex table card to show the prices.

The price data for UK data sources will be stored within the attributes B7/E5/E10/SDV. See below linked example:

https://community.home-assistant.io/t/fuel-prices-integration/658716/23?u=11harveyj