mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-12 02:21:28 +02:00
Home Assistant Integration
This commit is contained in:
@@ -72,6 +72,7 @@ Birdnet-Go can be integrated with Home Assistant using a MQTT Broker.
|
|||||||
### Birdnet-Go Events Sensor
|
### Birdnet-Go Events Sensor
|
||||||
|
|
||||||
Your Home Assistant must be setup with MQTT and Birdnet-Go MQTT integration must be enabled. Modify the Birdnet-Go config.yaml file to enable MQTT. If you are using the Mosquitto Broker addon, you will see a log message during the Birdnet-Go startup showing the internal MQTT server details needed for configuration similar to below.
|
Your Home Assistant must be setup with MQTT and Birdnet-Go MQTT integration must be enabled. Modify the Birdnet-Go config.yaml file to enable MQTT. If you are using the Mosquitto Broker addon, you will see a log message during the Birdnet-Go startup showing the internal MQTT server details needed for configuration similar to below.
|
||||||
|
|
||||||
```text
|
```text
|
||||||
Birdnet-Go log snipped showing MQTT details:
|
Birdnet-Go log snipped showing MQTT details:
|
||||||
/etc/cont-init.d/33-mqtt.sh: executing
|
/etc/cont-init.d/33-mqtt.sh: executing
|
||||||
@@ -252,11 +253,13 @@ card_mod:
|
|||||||
padding-right: 18px;
|
padding-right: 18px;
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## Setting up a RTSP Source using VLC
|
## Setting up a RTSP Source using VLC
|
||||||
|
|
||||||
### Linux instructions
|
### Linux instructions
|
||||||
|
|
||||||
Run vlc without an interface using one of these commands:
|
Run vlc without an interface using one of these commands:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# This should work for most devices
|
# This should work for most devices
|
||||||
/usr/bin/vlc -I dummy -vvv alsa://hw:0,0 --sout '#transcode{acodec=mpga}:rtp{dst=192.168.1.21,port=1234,proto=tcp,sdp=rtsp://192.168.1.21:8080/stream.sdp}'
|
/usr/bin/vlc -I dummy -vvv alsa://hw:0,0 --sout '#transcode{acodec=mpga}:rtp{dst=192.168.1.21,port=1234,proto=tcp,sdp=rtsp://192.168.1.21:8080/stream.sdp}'
|
||||||
@@ -266,6 +269,7 @@ Run vlc without an interface using one of these commands:
|
|||||||
```
|
```
|
||||||
|
|
||||||
Run `arecord -l` to get microphone hardware info
|
Run `arecord -l` to get microphone hardware info
|
||||||
|
|
||||||
```text
|
```text
|
||||||
**** List of CAPTURE Hardware Devices ****
|
**** List of CAPTURE Hardware Devices ****
|
||||||
card 0: PCH [HDA Intel PCH], device 0: ALC3220 Analog [ALC3220 Analog]
|
card 0: PCH [HDA Intel PCH], device 0: ALC3220 Analog [ALC3220 Analog]
|
||||||
@@ -281,9 +285,11 @@ card 4: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
|
|||||||
Subdevices: 0/1
|
Subdevices: 0/1
|
||||||
Subdevice #0: subdevice #0
|
Subdevice #0: subdevice #0
|
||||||
```
|
```
|
||||||
|
|
||||||
hw:4,0 = **card 4**: Device [USB PnP Sound Device], **device 0**: USB Audio [USB Audio]
|
hw:4,0 = **card 4**: Device [USB PnP Sound Device], **device 0**: USB Audio [USB Audio]
|
||||||
|
|
||||||
Systemd service file example. Adjust the user:group accordingly. If you want to run as root, you will likely need to run vlc-wrapper instead of vlc.
|
Systemd service file example. Adjust the user:group accordingly. If you want to run as root, you will likely need to run vlc-wrapper instead of vlc.
|
||||||
|
|
||||||
```text
|
```text
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=VLC Birdnet RTSP Server
|
Description=VLC Birdnet RTSP Server
|
||||||
@@ -301,7 +307,6 @@ Group=somegroup
|
|||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Common issues
|
## Common issues
|
||||||
|
|
||||||
Not yet available
|
Not yet available
|
||||||
|
|||||||
Reference in New Issue
Block a user