From f64b23b724d06ac697431b6983924919080eb9e7 Mon Sep 17 00:00:00 2001 From: "David G. Simmons" Date: Fri, 3 Nov 2017 13:18:17 -0400 Subject: [PATCH] Revert "Small fixes" This reverts commit a987118b010ca3827c1ee8ebe691f6f6bd287ac5. --- plugins/inputs/webhooks/particle/README.md | 4 ++-- plugins/inputs/webhooks/particle/particle_webhooks_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/inputs/webhooks/particle/README.md b/plugins/inputs/webhooks/particle/README.md index 3c345daa8..e7b206b53 100644 --- a/plugins/inputs/webhooks/particle/README.md +++ b/plugins/inputs/webhooks/particle/README.md @@ -1,10 +1,10 @@ # 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://: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://:1619/particle`, and under `Advanced Settings` click on `JSON` and add: ``` { - "influx_db": "your_measurement_name" + "influx_db": "your_database_name" } ``` diff --git a/plugins/inputs/webhooks/particle/particle_webhooks_test.go b/plugins/inputs/webhooks/particle/particle_webhooks_test.go index 850b2c4fc..eecf26e14 100644 --- a/plugins/inputs/webhooks/particle/particle_webhooks_test.go +++ b/plugins/inputs/webhooks/particle/particle_webhooks_test.go @@ -74,7 +74,7 @@ func NewItemJSON() string { "altitude": 119.331436, "broadband": 1266, "infrared": 528, - "lux": 0.0 + "lux": 0 } }, "ttl": 60,