Hi, I followed the instruction on General Transit Feed Specification (GTFS) - Home Assistant in order to add gtfs sensor to my configuration. The ZIP file size is 10MB and a sqlite file generated around 100Mb on the same directory.
Under Developer tools, I don’t see any sensor associate with the gtfs. Here is the error:
pi@raspberrypi:/home/hass/.homeassistant $ more home-assistant.log | grep gtfs
16-08-19 14:20:25 homeassistant.components.sensor: Error while setting up platform gtfs
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/sensor/gtfs.py”, line 172, in setup_platform
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/sensor/gtfs.py”, line 191, in init
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/sensor/gtfs.py”, line 222, in update
File “/srv/hass/hass_venv/lib/python3.4/site-packages/homeassistant/components/sensor/gtfs.py”, line 82, in get_next_departure
pi@raspberrypi:/home/hass/.homeassistant $
My configuration as below:
- platform: gtfs
origin: 3826
destination: 5508
data: bart.zip