Any plans for Home Assistant Add-on?
MaxWinterstein opened this issue · 7 comments
Are there any plans to make this usable as a home assistant add-on?
I recently wrapped https://github.com/Thom-x/docker-fr24feed-piaware-dump1090 as add-on and thought about this one as well.
To be honest, I hadn't really thought about it.
Some time ago, I put this together: https://github.com/mikenye/docker-adsb-to-mqtt
What's your use case?
What's your use case?
Providing some 'turnkey' solution to publish adsb data towards more platforms from my 24/7 running HomeAssistant infrastructure.
sure thing you can ssh towards your HA, run the docker run
commands yourself, and have a quick working system, but being able to manage all via HA WebUI, easy backup/restore functionality, and easy ingress integration (to just name a few) sounds like a nice benefit for me.
To be honest, I hadn't really thought about it.
Some time ago, I put this together: https://github.com/mikenye/docker-adsb-to-mqtt
What's your use case?
Well son of a....
I had actually been scraping the json files from piaware + iframing readsb. I guess I'm switching over to this since it's simpler.
what you possibly also could do is use something like portainer for your docker management, it can be deployed by itself as a docker container. You could then iframe the portainer gui as an extra panel in Home Assistant:
Not a "direct" integration into HA, but makes it way more comfortable to manage your docker and readsb environments....combined with a nginx reverse proxy container and TLS offloading on the nginx container, this gives you a nice and pretty secure setup for external management access. When then combining this with MFA from your Home Assistant instance, you also got a reasonable secure setup for authentication....with this, you dont really need to mqtt all the adsb data into homeassistant itself and for instance use Mike's fantastic containers for forwarding you data into the different ADSB platforms.....
Since we are in protobuf version and I got a hard time to find aircraft.json, would this solution be something to look into ?
Since we are in protobuf version and I got a hard time to find aircraft.json, would this solution be something to look into ?
You could look at using the tar1090 container to generate aircraft.json. It runs a fork of readsb that produces the aircraft.json file.
Just for the next one curiuos:
I use some RPi Zero for ADSB-Data gathering and my home assistant addon - the wrapped one mentioned above - https://github.com/MaxWinterstein/homeassistant-addons/ for publishing.
Using portainer to simply create the stack on the RPi Zero:
version: '2.0'
networks:
adsbnet:
volumes:
readsbpb_rrd:
readsbpb_autogain:
tar1090_heatmap:
services:
readsb:
image: ghcr.io/sdr-enthusiasts/docker-readsb-protobuf:latest
tty: true
container_name: readsb
hostname: readsb
restart: always
devices:
- /dev/bus/usb/001/002:/dev/bus/usb/001/002
ports:
- 8080:8080
- 30005:30005
networks:
- adsbnet
environment:
- TZ=${FEEDER_TZ}
- READSB_DCFILTER=true
- READSB_DEVICE_TYPE=rtlsdr
- READSB_FIX=true
- READSB_GAIN=autogain
- READSB_LAT=xxx
- READSB_LON=xxx
- READSB_MODEAC=true
- READSB_RX_LOCATION_ACCURACY=2
- READSB_STATS_RANGE=true
- READSB_NET_ENABLE=true
- READSB_RTLSDR_PPM=13
# - READSB_NET_CONNECTOR=mlathub,30105,beast_in
volumes:
- readsbpb_rrd:/run/collectd
- readsbpb_autogain:/run/autogain
tmpfs:
- /run/readsb
- /var/log