-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.yaml
47 lines (46 loc) · 1.2 KB
/
config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: "GPSD to MQTT"
description: >-
This addon will run GPSD and serve the data to MQTT and show a device tracker device (device_tracker.gpsd_location). The addon uses Mosquitto MQTT but can also be configued to another broker if wanted.
Remember to install Mosquitto or another broker before setting up this addon.
Installation requires you to set up a username and password to publish to MQTT. Also you must select the serial device for GPSD in configuration.
url: https://github.com/corvy/ha-addons/tree/main/gpsd2mqtt
version: "2024.9.0"
slug: "gpsd2mqtt"
codenotary: "[email protected]"
init: false
arch:
- aarch64
- amd64
- armhf
- armv7
- i386
services:
- mqtt:need
options:
device: null
publish_3d_fix_only: true
schema:
device: device(subsystem=tty)
baudrate: int?
charsize: int?
parity: bool?
stopbit: int?
charsize: int?
parity: bool?
stopbit: int?
publish_3d_fix_only: bool?
min_n_satellites: int?
publish_interval: int?
summary_interval: int?
mqtt_broker: str?
mqtt_port: int?
mqtt_username: str?
mqtt_pw: str?
mqtt_state: str?
gpsd_options: str?
debug: bool?
ports:
2947/tcp: null
devices:
- /dev/pps0
image: ghcr.io/corvy/{arch}-addon-gpsd2mqtt