parent
c11739d143
commit
f64b23b724
|
@ -1,10 +1,10 @@
|
||||||
# particle webhooks
|
# particle webhooks
|
||||||
|
|
||||||
You should configure your Particle.io's Webhooks to point at the `webhooks` service. To do this go to `(https://console.particle.io/)[https://console.particle.io]` and click `Integrations > New Integration > Webhook`. In the resulting page set `URL` to `http://<my_ip>:1619/particle`, and under `Advanced Settings` click on `JSON` and add:
|
You should configure your Particle.io's Webhooks to point at the `webhooks` service. To do this go to `console.particle.io/` and click `Integrations > New Integration > Webhook`. In the resulting page set `URL` to `http://<my_ip>:1619/particle`, and under `Advanced Settings` click on `JSON` and add:
|
||||||
|
|
||||||
```
|
```
|
||||||
{
|
{
|
||||||
"influx_db": "your_measurement_name"
|
"influx_db": "your_database_name"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ func NewItemJSON() string {
|
||||||
"altitude": 119.331436,
|
"altitude": 119.331436,
|
||||||
"broadband": 1266,
|
"broadband": 1266,
|
||||||
"infrared": 528,
|
"infrared": 528,
|
||||||
"lux": 0.0
|
"lux": 0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ttl": 60,
|
"ttl": 60,
|
||||||
|
|
Loading…
Reference in New Issue