remove my config

This commit is contained in:
Robin Appelman 2020-01-25 17:45:52 +01:00
commit 06cd2a4106
2 changed files with 2 additions and 17 deletions

2
.gitignore vendored
View file

@ -1,2 +1,4 @@
/target /target
**/*.rs.bk **/*.rs.bk
*.json
*.toml

View file

@ -1,17 +0,0 @@
[prometheus]
url = "http://astoria:9291"
[[trigger]]
name = "VR Charging"
delay = 300
[trigger.condition]
query = "switch_state{instance=\"$instance\"}"
from = 1
to = 0
params.instance = { type = "mdns", service = "_switch-http._tcp.local", host = "lighthouse1" }
[trigger.action]
method = "PUT"
params.host = { type = "mdns", service = "_switch-http._tcp.local", host = "vr_switch" }
url = "http://$host/off"