A homebridge plugin to display the current consumption from your Tibber pulse as lux in Home kit.

Overview

npm Try homebridge-tibber-lightsensor on RunKit

homebridge-tibber-lightsensor

Tibber lightsensor is a plugin for Homebridge.

It fetches the current watt usage of your house and displays it as a lightsensor (lux) in Homekit. Using a built in timer, it can update the Home app UI with a new value as often as you'd like (default value is set to update once each second).

For instance 10 Watt from Tibber API is displayed as 10 lux in Home app.

Screenshots

iOS Home App

Homebridge Config UI X

Prerequisites

You need have a Tibber Pulse. You can buy them from their online store:

https://tibber.com/se/store/produkt/pulse-p1

You will also need two API tokens from Tibber. One personal token, and your house id. Get them at:

https://developer.tibber.com/

Installation

This plugin is published on npm and should be installed globally using:

npm install -g homebridge-tibber-lightsensor

Configuration

You need to create API tokens in Tibbers developer portal. Go to https://developer.tibber.com/ using your Tibber account and Generate an Access Token. You then need to go to API Explorer https://developer.tibber.com/explorer, load your personal token and get your unique house ID under Real time subscription.

You can now add these values to your homebridge config.json like the example below:

{
    "bridge": {
        "name": "Homebridge",
        "username": "B1:12:EF:70:12:42",
        "port": 50611,
        "pin": "012-34-123"
    },
    "accessories": [
        {
            "accessory": "TibberLightSensor",
            "name": "Tibber consumption (Watt)",
            "pullInterval": "1000",
            "apiToken": "ad3ef1ffLvGbgLAbT1Yc12CaoBkLGoL0LFaHAZiAYiA",
            "apiHomeId": "2ff12a12-3ff1-122d-12f1-f111f1212f8e"
        }
    ],
...

The pullInterval is how often the lightsensor should be updated with a new value in ms. In our example above it is set to 1 second (1000 ms).

Restart homebridge, and you should now see a lightsensor accessory in one of your rooms displaying real time data from Tibber.

You might also like...

Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr)

Customizable browser's home page to interact with your homeserver's Docker containers (e.g. Sonarr/Radarr)

Homarr A homepage for your server. Demo ↗️ • Install ➡️ Join the discord! 📃 Table of Contents 📃 Table of Contents 🚀 Getting Started ℹ️ About 💥 Kno

Jan 7, 2023

Simple but Complete & Fast network monitor for your home network

netmon Netmon is an opensource project for protecting and monitoring your home network. Netmon is written to run on a Raspberry PI and is optimized to

Jul 6, 2022

This plugin for Obsidian adds commands for increasing/decreasing the blockquote level of the current line or selection(s).

This plugin for Obsidian adds commands for increasing/decreasing the blockquote level of the current line or selection(s).

Blockquote Levels This plugin for Obsidian adds commands for increasing/decreasing the blockquote level of the current line or selection(s). Usage The

Dec 19, 2022

A web panel to manage TP-Link/Kasa smart home devices.

A web panel to manage TP-Link/Kasa smart home devices.

TP-Link Web Panel A web panel to manage TP-Link/Kasa smart home devices. Prerequisites Node.js v16.13.1 or higher Yarn Installation Run git clone http

Apr 1, 2022

Practice Task of HTML - Mache Free Template (PSD to HTML) - Home Task (CTG)

 Practice Task of HTML - Mache Free Template (PSD to HTML) - Home Task (CTG)

Practice Task of HTML - Mache Free Template (PSD to HTML) - Home Task (CTG) This Assignment is mainly on PSD TO HTML along with HTML,CSS As a Basic HT

Jan 29, 2022

Unofficial HelmRelease search through awesome k8s-at-home projects

Unofficial HelmRelease search through awesome k8s-at-home projects

k8s at home search (unofficial) Search Flux HelmReleases through awesome k8s-at-home projects, check it out at https://whazor.github.io/k8s-at-home-se

Jan 2, 2023

Simple & Quick Access Addon For Home Assistant

Simple & Quick Access Addon For Home Assistant

Home Assistant - Firefox Addon Quick Access Home Assistant - Firefox Addon Usage Create a Custom Dashboard With Quick Access Entity In Home Assistant

Dec 25, 2022

A super-simple thermostat for Home Assistant's Lovelace UI.

A super-simple thermostat for Home Assistant's Lovelace UI.

Minimalist Thermostat by @ShepleySound A super-simple thermostat for Home Assistant's Lovelace. The goal is to create a thermostat interface that clea

Jan 22, 2022

A minimalistic card for Home Assistant Lovelace UI which shows how many days it has been between any input_datetime and today.

A minimalistic card for Home Assistant Lovelace UI which shows how many days it has been between any input_datetime and today.

Datetime Card A minimalistic card for Home Assistant Lovelace UI which shows how many days it has been between any input_datetime and today. Useful to

Aug 12, 2022
Comments
  • Add config.schema.json for easier onboarding

    Add config.schema.json for easier onboarding

    Add a config.schema.json file for easier configuration and onboarding when installing plugin through Hombridge Config UI X.

    See https://github.com/oznu/homebridge-config-ui-x/wiki/Developers%3A-Plugin-Settings-GUI

    enhancement 
    opened by runbert 0
Releases(v1.0.2)
Owner
Johan Runbert
Johan Runbert
This restaurant project is a SPA (single-page application) website. The user can navigate between the home, menu and contact page. I used the MealDB API to display some menu items.

Fresh Cuisine This restaurant project is from the Odin Project and it is a SPA (single-page application) website. The user can navigate between the ho

Virag Kormoczy 7 Nov 2, 2022
This is a Homebridge plugin that adds HomeKit support to Tidbyt devices.

Tidbyt Platform Plugin This is a Homebridge plugin that adds HomeKit support to Tidbyt devices. Built with node-tidbyt. This project is not endorsed o

Nicholas Penree 18 Nov 20, 2022
🏠 Homebridge plugin for SmartRent installations

Homebridge SmartRent Unofficial Homebridge plugin for SmartRent, allowing you to control your SmartRent devices with Apple Home. ?? Supported Devices

Grant Burry 8 Aug 12, 2022
Homebridge plugin exposes to Apple's HomeKit devices

This Homebridge plugin exposes to Apple's HomeKit devices (lights, plugs, sensors, switches, ...) and virtual devices on a Crestron professor. Homebridge Crestron communicates with TCP.

null 23 Nov 21, 2022
An IoT bottle that tracks water consumption. Winner of Best Health Hack, MLH's Best Hardware Hack, and QB3's Best Big Data for the Improvement of Health Care Winner at CruzHacks 2022.

An IoT bottle that tracks water consumption. Winner of Best Health Hack, MLH's Best Hardware Hack, and QB3's Best Big Data for the Improvement of Health Care Winner at CruzHacks 2022.

Nathanael Garza 2 Jan 21, 2022
A simple web server exposing Hetzner cloud instances for consumption by the Prometheus HTTP service discovery.

Prometheus: Hetzner Service Discovery A server to provide automatic node discovery for Hetzner Cloud to Prometheus via HTTP service discovery. In cont

Matchory GmbH 1 Oct 10, 2022
A public board for all the Computer Society and Students to display their profile. An online year-book for you to display your profile in the most creative manner

Student's Yearbook by IEEE Computer Society Student's yearbook is an open-source project which intends to dispaly the students who will be graduating

IEEE Computer Society 11 Dec 18, 2022
this is a single-page web application. we built a book website where the user can add , remove and display books. we used modules to implement these functionalities. also, we used the Date class to display the date and time.

Awsome Books In this Project, we have built A Books websites. Built With ?? HTML CSS javascript Git & Github Live Demo Here you can find the live Demo

Nedjwa Bouraiou 10 Aug 3, 2022
Playstation integration for Homebridge / HOOBS.

Homebridge Playstation Playstation integration for Homebridge / HOOBS. Hey Siri, turn on Playstation finally possible! This integration exposes a Swit

Flavio De Stefano 54 Jan 1, 2023
A card for Home Assistant Lovelace for exploring the history of your entities interactively and in real time.

History explorer card This is a custom history card for Home Assistant. This card offers a highly interactive and configurable way to view the history

null 165 Dec 31, 2022