Skip to content

Instantly share code, notes, and snippets.

@gargomoma
Created October 31, 2023 16:54
Show Gist options
  • Save gargomoma/91f0457eaddc32ba23e5e0b8b9eb19f6 to your computer and use it in GitHub Desktop.
Save gargomoma/91f0457eaddc32ba23e5e0b8b9eb19f6 to your computer and use it in GitHub Desktop.
A home assistant config package to track your TinyGs station
## Replace [STATION_ID] with your station ID
## you can retrieve it from the URL while checking your station status at tinygs.com
rest:
- resource: "https://api.tinygs.com/v1/station/[STATION_ID]"
scan_interval: 300
sensor:
- name: "TinyGs Satellite"
value_template: "{{ value_json.satellite }}"
- name: "TinyGs ConfirmedPackets"
value_template: "{{ value_json.confirmedPackets | int }}"
binary_sensor:
- name: "TinyGs Status"
value_template: "{{ value_json.status }}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment