Skip to content

Commit

Permalink
RC 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mountaindude committed May 1, 2020
1 parent 5712f98 commit 0cc36ad
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
[![Build Status](https://cloud.drone.io/api/badges/mountaindude/verisure-mqtt/status.svg)](https://cloud.drone.io/mountaindude/verisure-mqtt)
[![Maintainability](https://api.codeclimate.com/v1/badges/0f88c41e4ee6b831ab49/maintainability)](https://codeclimate.com/github/mountaindude/verisure-mqtt/maintainability)

Dockerized Node.js app that queries Verisure's APIs for status and sensor readings, and then forwards this info to MQTT.
Dockerized Node.js app that queries Verisure's APIs for status and sensor readings, and then forwards this info to MQTT.

Once the data has been injected into MQTT messages, it can be acted upon by any tool or system capable of subscribing to MQTT topics.

What kind of data that is available from different Verisure devices vary, but many of them (PIR, camera, smoke detectors etc) contain temperature and/or humidity sensors. These sensor readings can be logged and then provide useful long-term environmental information.
Expand Down Expand Up @@ -47,7 +48,8 @@ Pushing the sensor readings to MQTT makes it possible to act on them from other

While Node-RED was initially (and still is) positioned as a visual prototyping tool for IoT applications, it has over the past several years developed into a rock-solid platform that lots of people use for continuous data processing. It might not be solid enough for mission critical enterprise data, but it's not far away.

For the purpose of collecting and acting on sensor data in a home setting, Node-RED is more than adequate.
For the purpose of collecting and acting on sensor data in a home setting, Node-RED is more than adequate.

Oh, and Node-RED of course runs as a Docker container too.. making it a breeze to set up.

Once the data is stored in InfluxDB it can be visualised using Grafana och other similar tools. A Grafana dashboard showing temperatures and humidity can look like this:
Expand All @@ -56,7 +58,7 @@ Once the data is stored in InfluxDB it can be visualised using Grafana och other

## Querying Verisure's API

There is some rate limiting for the API, preventing too frequent calls.
There is some rate limiting for the API, preventing too frequent calls.

It is hard to say how often calls can be made, but given that climate sensors only update once per hour, the Node.js code in index.js is set to query the API every 10 minutes. This seems to work fine from a rate limiting perspective.

Expand Down

0 comments on commit 0cc36ad

Please sign in to comment.