add instructions for map on ha dashboard

This commit is contained in:
Cyberes 2024-09-04 17:13:18 -06:00
parent aba4511e95
commit 122bf365d9
1 changed files with 22 additions and 5 deletions

View File

@ -1,4 +1,5 @@
This is an MQTT sensor to send NOAA space weather data to Home Assistant. Fetching the data requires a login to NASA's EarthData which is done through Selenium and the Chrome browser.
This is an MQTT sensor to send NOAA space weather data to Home Assistant. Fetching the data requires a login to NASA's
EarthData which is done through Selenium and the Chrome browser.
## Install
@ -37,11 +38,11 @@ Example systemd service files are provided.
```yaml
mqtt:
- state_topic: "space-weather/vtec"
name: "VTEC"
- state_topic: "space-weather/vtec"
name: "VTEC"
unit_of_measurement: "(10^16 el) / m^2"
state_class: measurement
unique_id: space_weather_vtec
state_class: measurement
unique_id: space_weather_vtec
```
## Data
@ -57,3 +58,19 @@ vertically from the Earth's surface to the edge of the atmosphere. So essentiall
difference lying in the specific path along which the measurement is taken.
Updated hourly.
## Home Assistant Dashboard
### Global VTEC Map
1. Enable the [Generic Camera](https://www.home-assistant.io/integrations/generic/) integration.
2. Set the `Still Image URL` to `http://[server IP]:5000/global`
3. Set the `Frame Rate (Hz)` to `0.0016666666666667` (sets it to a 10 minute refresh rate).
4. Create this card on the dashboard:
```yaml
type: picture-entity
entity: camera.[your entity name]
show_state: false
show_name: false
camera_view: auto
```