Code Monkey home page Code Monkey logo

homebridge-flowerpower's Introduction

homebridge-flowerpower

Parrot Flower Power plugin for Homebridge

This plugin allows you to connect your Parrot Flower Power sensors to HomeBridge. Currently, it only allows you to access the sensors like air temperature, as well as the standard system data.

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-flowerpower
  3. Update your configuration file. See sample config.json snippet below.

Configuration

Configuration sample:

   "platforms": [
   	{
   		"platform": "FlowerPower",
   		"name": "Flower Power"
   	}
   ]

Fields:

  • "platform": Must always be "FlowerPower" (required)
  • "name": Can be anything (required)

homebridge-flowerpower's People

Contributors

kraigm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

adnanoner

homebridge-flowerpower's Issues

Data transmission

Hey there. I read the the distance these FlowerPowers can transmit only over short distances. How is your experience?

SyntaxError: Unexpected identifier

Not compatible with ES6?

Aug 6 17:23:45 raspberrypi homebridge[1641]: [Sat Aug 06 2016 17:23:45 GMT+1000 (AEST)] ---
Aug 6 17:23:46 raspberrypi homebridge[1641]: [Sat Aug 06 2016 17:23:46 GMT+1000 (AEST)] Loaded plugin: homebridge-wemo
Aug 6 17:23:46 raspberrypi homebridge[1641]: [Sat Aug 06 2016 17:23:46 GMT+1000 (AEST)] Registering accessory 'homebridge-wemo.WeMo'
Aug 6 17:23:46 raspberrypi homebridge[1641]: [Sat Aug 06 2016 17:23:46 GMT+1000 (AEST)] ---
Aug 6 17:23:46 raspberrypi homebridge[1641]: [Sat Aug 06 2016 17:23:46 GMT+1000 (AEST)] Loaded plugin: homebridge-flowerpower
Aug 6 17:23:46 raspberrypi homebridge[1641]: /usr/local/lib/node_modules/homebridge-flowerpower/node_modules/flower-power-api/FlowerPowerCloud.js:127
Aug 6 17:23:46 raspberrypi homebridge[1641]: for (var sensor of results.sensors) {
Aug 6 17:23:46 raspberrypi homebridge[1641]: ^^
Aug 6 17:23:46 raspberrypi homebridge[1641]: SyntaxError: Unexpected identifier
Aug 6 17:23:46 raspberrypi homebridge[1641]: at Module._compile (module.js:439:25)
Aug 6 17:23:46 raspberrypi homebridge[1641]: at Object.Module._extensions..js (module.js:474:10)
Aug 6 17:23:46 raspberrypi homebridge[1641]: at Module.load (module.js:356:32)
Aug 6 17:23:46 raspberrypi homebridge[1641]: at Function.Module._load (module.js:312:12)
Aug 6 17:23:46 raspberrypi homebridge[1641]: at Module.require (module.js:364:17)
Aug 6 17:23:46 raspberrypi homebridge[1641]: at require (module.js:380:17)
Aug 6 17:23:46 raspberrypi homebridge[1641]: at Object. (/usr/local/lib/node_modules/homebridge-flowerpower/lib/platform.js:9:22)
Aug 6 17:23:46 raspberrypi homebridge[1641]: at Module._compile (module.js:456:26)
Aug 6 17:23:46 raspberrypi homebridge[1641]: at Object.Module._extensions..js (module.js:474:10)
Aug 6 17:23:46 raspberrypi homebridge[1641]: at Module.load (module.js:356:32)
Aug 6 17:23:46 raspberrypi systemd[1]: homebridge.service: main process exited, code=exited, status=8/n/a
Aug 6 17:23:46 raspberrypi systemd[1]: Unit homebridge.service entered failed state.
Aug 6 17:23:56 raspberrypi systemd[1]: homebridge.service holdoff time over, scheduling restart.
Aug 6 17:23:56 raspberrypi systemd[1]: Stopping Node.js HomeKit Server...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.