https://github.com/goffinet/flowerpower-mqtt
small node.js script to read directly (not using cloud api) Parrot Flower power sensor data using bluetooth and inject them in an mqtt broker
https://github.com/goffinet/flowerpower-mqtt
Last synced: 6 months ago
JSON representation
small node.js script to read directly (not using cloud api) Parrot Flower power sensor data using bluetooth and inject them in an mqtt broker
- Host: GitHub
- URL: https://github.com/goffinet/flowerpower-mqtt
- Owner: goffinet
- Created: 2016-06-04T22:01:40.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-02-27T18:38:51.000Z (over 11 years ago)
- Last Synced: 2025-03-02T23:28:30.697Z (about 1 year ago)
- Language: JavaScript
- Size: 121 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# flowerpower-mqtt
small node.js script to read directly (not using cloud api) Parrot Flower power sensor data using bluetooth and inject them in an mqtt broker
This script use 3 node.js library that need to be installed :
- The flower power reading lib : https://github.com/sandeepmistry/node-flower-power
- The mqtt lib : https://github.com/mqttjs/MQTT.js
- an hashmap lib : https://github.com/flesler/hashmap
All the hard work was done by those creators, I just simply connect every thing together :)
This script is intend to read Parrot flower power data and inject them in an mqtt broker. It was test on beaglebone black using debian, but must work on any linux including raspberry pi. I did test the result in pidome, but there is no reason it could no work with any smart home controller.
I'm using cron to execute the script at defined interval
I did test with only one flower power device, but the script must work with any device in range. Take a look at the begining of the script for configuration
TODO :
- add a properties file for configuration
- better documentation and tutorial to install it on a beaglebone/raspberry pi computer
- add npm install with dependancies