Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including homebridge-bloomsky with all npm packages installed. Try it out:

var homebridgeBloomsky = require("homebridge-bloomsky")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

homebridge-bloomsky v1.1.14

Homebridge plugin for Bloomsky weather stations

Bloomsky Plugin for Homebridge

homebridge-bloomsky

This plugin for Homebridge will add your personal Bloomsky weather station to HomeKit. You can shop Bloomsky at Amazon for example.

This plugin will expose the following information for each device associated with your Bloomsky account:

  • Humidity
  • Luminance
  • Temperature
  • Rain Sensor
  • Camera
  • Night/Day Status

Since I personally own a SKY1 model from back when it was a Kickstarter, I can only make an educated guess about supporting other models. If you have a newer version, you can help me out with the support.

Installation

  1. Install ffmpeg on your computer with libx264 or (h264_omx for Raspberry Pi)
  2. Make sure your homebridge setup is current.
  3. Follow the official homebridge installation instructions if you haven't done so yet
  4. Install this plugin using: npm install -g homebridge-bloomsky
  5. Edit config.json and add the platform.
  6. Run/Restart Homebridge
  7. Optionally npm install -g sharp on modern platforms for improved performance when generating snapshot images

Configuration Example

Add this configuration information to your homebridge config.json in the platform section.

{
  "platform": "Bloomsky",
  "apiKey": "your-api-key-here==",
  "apiUrl": "https://api.bloomsky.com/api/skydata/",
  "vcodec": "libx264",
  "debug": false
}
Property NameValueRequired
platformMust be Bloomskyyes
apiKeyYour personal Bloomsky API authorization keyyes
apiUrlUse default value for official public Bloomsky API: https://api.bloomsky.com/api/skydata/no
vcodeclibx264 by default, use h264_omx for Raspberry Pino
debugIf set to true, will log more information during runtime and try to update camera preview more often, defaults to falseno

Bloomsky API

The BloomSky API provides the most recent data from your own devices! Follow these steps to obtain your own personal Bloomsky API key:

  1. Sign in to your Bloomsky account at: https://dashboard.bloomsky.com
  2. In the left hand menu, select Developers
  3. The pop-up will show your personal API key

Donations

Donations are very welcome and accepted at the following addresses:

  • BTC: 3QTxu56V2gNdq1VznL7ftw3B4megXq5bix
  • LTC: MFDLN62hMNYDLMAWx4W6Z45nhDDLDjDUV7

License Information

Copyright 2018 Michael Henke

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free