zacs / ha-gtfs-rt

Real-time transit information for Home Assistant
MIT License
69 stars 29 forks source link

Installation with Docker container doesn't want to co-operate #Beginner #9

Closed xldude closed 2 years ago

xldude commented 2 years ago

Hello, I'd like to ask your advice how to get this running with HA Docker container. I've listed details from my setup below.

The ERROR I can't get solved is 'ERROR (MainThread) [homeassistant.components.homeassistant] Platform error sensor.gtfs_rt - Integration 'gtfs_rt' not found.'

Files in my container

bash-5.0# ls -la /config/custom_components/gtfs_rt total 20 drwxrwxrwx 2 1000 10000 4096 Dec 12 18:43 . drwxrwxr-x 5 1000 10000 4096 Dec 12 17:41 .. -rwxrwxrwx 1 1000 10000 0 Dec 12 18:11 init.py -rwxrwxr-x 1 1000 1000 262 Dec 12 18:43 manifest.json -rwxrwxrwx 1 1000 10000 7213 Sep 29 08:46 sensor.py bash-5.0#

Part of my configuration.yaml

sensor:
  - platform: gtfs_rt
    trip_update_url: 'https://data.texas.gov/download/rmk2-acnw/application%2foctet-stream'
    vehicle_position_url: 'https://data.texas.gov/download/eiei-9rpf/application%2Foctet-stream'
    departures:
    - name: Downtown to airport
      route: 100
      stopid: 514

System Health

version 2020.12.1
installation_type Home Assistant Container
dev false
hassio false
docker true
virtualenv false
python_version 3.8.6
os_name Linux
os_version 5.4.0-91-generic
arch x86_64
timezone Europe/Helsinki

Please, any recommendations how can I solve this mystery?

xldude commented 2 years ago

The error disappeared over the night. I guess the system reboot made it. I'll close the issue. Hope this experiment helps other beginners. Cheers!