123456789101112131415161718192021222324252627 |
- mail:
- sender: foo@bar.baz
- recipient: admin@bar.baz
- smtp:
- host: smtp.bar.baz
- port: 465
- username: foo@bar.baz
- password: hackme
- warp10_exec: http://localhost/api/v0/exec
- token: READ_TOKEN
- scripts:
- - key: "temperature"
- script: "
- NOW 'now' STORE
- [
- $token
- 'sensores.temperature'
- { 'room' 'bedroom' }
- $now
- -1
- ] FETCH
- VALUES LIST-> DROP LIST-> DROP
- "
- type: number
- threshold: 50
- action: http
- target: http://localhost:9996/alert
|