Fixed #827 - Grafana Charts
This commit is contained in:
parent
8b5991fd0d
commit
2bd9c24b88
|
@ -5,25 +5,25 @@
|
||||||
homeassistant:
|
homeassistant:
|
||||||
customize:
|
customize:
|
||||||
sensor.download_grafana_solar:
|
sensor.download_grafana_solar:
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------
|
#-------------------------------------------
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
- platform: command_line
|
- platform: command_line
|
||||||
name: "Download Grafana Solar"
|
name: "Download Grafana Solar"
|
||||||
command: 'curl -s -H "Authorization: Bearer eyJrIjoiZ0UwS1hpRVdCbFVVSTNSdER0Z29maHc4QmVuSXhxalYiLCJuIjoiSEFDYW1lcmEiLCJpZCI6MX0=" "http://192.168.10.10:3000/render/d-solo/h_wosLIik/solar?orgId=1&panelId=2&width=1000&height=500&from=yesterday" > /config/www/custom_ui/floorplan/images/branding/solar_readings.png'
|
command: 'curl -s -H "Authorization: Bearer eyJrIjoiZ0UwS1hpRVdCbFVVSTNSdER0Z29maHc4QmVuSXhxalYiLCJuIjoiSEFDYW1lcmEiLCJpZCI6MX0=" "http://192.168.10.10:3000/render/d/h_wosLIik/solar?orgId=1&from=now-1d%2Fd&to=now-1d%2Fd&height=750&width=1920" > /config/www/custom_ui/floorplan/images/branding/solar_readings.png'
|
||||||
scan_interval: 3000
|
scan_interval: 3000
|
||||||
|
|
||||||
- platform: command_line
|
- platform: command_line
|
||||||
name: "Download Grafana ATT SpeedTest"
|
name: "Download Grafana ATT SpeedTest"
|
||||||
command: 'curl -s -H "Authorization: Bearer eyJrIjoiZ0UwS1hpRVdCbFVVSTNSdER0Z29maHc4QmVuSXhxalYiLCJuIjoiSEFDYW1lcmEiLCJpZCI6MX0=" "http://192.168.10.10:3000/render/d-solo/bdR1ZnFZk/att-speedtest?orgId=1&panelId=2&width=1000&height=500&from=now-14d&to=now" > /config/www/custom_ui/floorplan/images/branding/att_speedtest.png'
|
command: 'curl -s -H "Authorization: Bearer eyJrIjoiZ0UwS1hpRVdCbFVVSTNSdER0Z29maHc4QmVuSXhxalYiLCJuIjoiSEFDYW1lcmEiLCJpZCI6MX0=" "http://192.168.10.10:3000/render/d/bdR1ZnFZk/att-speedtest?viewPanel=2&orgId=1" > /config/www/custom_ui/floorplan/images/branding/att_speedtest.png'
|
||||||
scan_interval: 3000
|
scan_interval: 3000
|
||||||
|
|
||||||
camera:
|
camera:
|
||||||
- platform: generic
|
- platform: generic
|
||||||
name: "Grafana Solar Graph"
|
name: "Grafana Solar Graph"
|
||||||
still_image_url: 'http://192.168.10.10:3000/render/d-solo/h_wosLIik/solar?orgId=1&panelId=2&width=1000&height=500&from=yesterday'
|
still_image_url: 'http://192.168.10.10:3000/render/d/h_wosLIik/solar?orgId=1&from=now-1d%2Fd&to=now-1d%2Fd&height=750&width=1920'
|
||||||
username: HA
|
username: HA
|
||||||
password: HA
|
password: HA
|
||||||
|
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 35 KiB |
Binary file not shown.
Before Width: | Height: | Size: 8.9 KiB After Width: | Height: | Size: 209 KiB |
Loading…
Reference in New Issue