All Projects → robertklep → nefit-easy-core

robertklep / nefit-easy-core

Licence: MIT License
Core functionality to implementation communications with Nefit/Bosch backend.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to nefit-easy-core

mac-api
Command your Mac from afar
Stars: ✭ 33 (+73.68%)
Mutual labels:  home-automation
Home-Fi
Home Automation App using Flutter, Adafruit IO & Esp32 dev board.
Stars: ✭ 60 (+215.79%)
Mutual labels:  home-automation
tuyaface
Python Tuya client that allows you to locally communicate with tuya devices
Stars: ✭ 44 (+131.58%)
Mutual labels:  home-automation
ioBroker.cloud
Enable access to ioBroker from internet
Stars: ✭ 36 (+89.47%)
Mutual labels:  home-automation
home-assistant-config
Ma configuration Home Assistant commentée en anglais et en français | My Home Assistant config with French and English comments.
Stars: ✭ 29 (+52.63%)
Mutual labels:  home-automation
hhnl.HomeAssistantNet
No description or website provided.
Stars: ✭ 31 (+63.16%)
Mutual labels:  home-automation
issues
Issue Tracker for ESPHome
Stars: ✭ 182 (+857.89%)
Mutual labels:  home-automation
home-assistant-notebooks
📓 Sample Jupyter Notebooks to explore Home Assistant data
Stars: ✭ 49 (+157.89%)
Mutual labels:  home-automation
texecom2mqtt-hassio
Home Assistant add-on. Connect to Texecom Premier Elite alarm panels and publish updates to MQTT. Supports arming/disarming as well as zone updates and alarm events.
Stars: ✭ 15 (-21.05%)
Mutual labels:  home-automation
soma-ctrl
Node util for controlling SOMA smart shade via MQTT or HTTP
Stars: ✭ 19 (+0%)
Mutual labels:  home-automation
smarterblinds
ESP8266 controller for Blinds-To-Go motorized blinds
Stars: ✭ 32 (+68.42%)
Mutual labels:  home-automation
home-assistant-tng
My Home Assistant configs
Stars: ✭ 17 (-10.53%)
Mutual labels:  home-automation
HomeAssistant-CustomComponents
No description or website provided.
Stars: ✭ 25 (+31.58%)
Mutual labels:  home-automation
HADailySensor
Sensor for Home Assistant that gets reset at midnight
Stars: ✭ 20 (+5.26%)
Mutual labels:  home-automation
nibeuplink
Nibe Uplink asyncronous python interface
Stars: ✭ 20 (+5.26%)
Mutual labels:  home-automation
homeassistant-config
My elaborate home automation configuration + scripts
Stars: ✭ 17 (-10.53%)
Mutual labels:  home-automation
homeassistant-lightwave2
Lightwave RF custom component for Home Assistant. Requires generation 2 ("Link Plus") hub, but will control both generation 1 ("Connect Series") and generation 2 ("Smart Series") devices.
Stars: ✭ 31 (+63.16%)
Mutual labels:  home-automation
pyawair
a very simple python class to access the (private) awair api
Stars: ✭ 24 (+26.32%)
Mutual labels:  home-automation
homebridge-homeconnect
Home Connect home appliances plugin for Homebridge
Stars: ✭ 70 (+268.42%)
Mutual labels:  bosch
awesome-ha-blueprints
A curated collection of automation blueprints for Home Assistant.
Stars: ✭ 258 (+1257.89%)
Mutual labels:  home-automation

Nefit Easy™ core

Core functionality to implementation communications with Nefit/Bosch backend.

Unless you're implementing a client yourself, this library is probably not what you're looking for.

Installation

$ npm i nefit-easy-core

Synopsis

The Nefit Easy™ smart thermostat is sold in The Netherlands by Nefit, a company owned by Robert Bosch GmbH.

The Easy can be controlled through apps for Android and iOS, which communicate with a Bosch-hosted backend using the XMPP protocol. This library aims to implement the communication protocol used between the apps and the backend.

Devices related to the Nefit Easy, like the Worcester Wave, the Junkers Control, the Buderus Logamatic TC100 and the Bosch Greenstar CT100, are probably also supported.

Installation

This library requires Node.js 4.0.0 or later.

Install it as a Node module

$ npm install nefit-easy-core

Checkout the repository (in case you want to run the example code)

$ git clone https://github.com/robertklep/nefit-easy-core
$ cd nefit-easy-core
$ npm install

Other/related projects

  • nefit-easy-http-server: an HTTP-to-XMPP bridge that allow projects that can't implement this library directly (for instance, if they aren't written in Javascript) to communicate, using an HTTP-based interface, with the Nefit Easy
  • nefit-easy-cli: a command line interface tool to communicate with the Nefit Easy
  • bosch-xmpp: a similar library that can be used to communicate with other Bosch devices (it supports the Nefit Easy, but also IVT, Junkers Bosch, Buderus and probably any Bosch EasyRemote-compatible controller)
  • node-red-contrib-nefit-easy2: a Node RED node to interact with the Nefit Easy (fork of node-red-contrib-nefit-easy, which doesn't work anymore and its author has abandoned the project)

Disclaimer

The implementation of this library is based on reverse-engineering the communications between the apps and the backend, plus various other bits and pieces of information. It is not based on any official information given out by Nefit/Bosch, and therefore there are no guarantees whatsoever regarding the safety of your devices and/or their settings, or the accuracy of the information provided.

API

General information

All (asynchronous) methods return a promise that resolves to a plain object.

nefit-easy-core uses debug to provide some debug logging:

$ env DEBUG=nefit-easy-core node your-app.js

Constructor

const Client = require('nefit-easy-core');
const client = Client({
  serialNumber   : NEFIT_SERIAL_NUMBER,
  accessKey      : NEFIT_ACCESS_KEY,
  password       : NEFIT_PASSWORD,
[ retryTimeout   : Number ]
[ maxRetries     : Number ]
});

A request is retried a few times (because the backend can only handle one request at a time, requests may get dropped when more than one client is active). The default is to retry every 2000 milliseconds (retryTimeout) for a maximum of 15 times (maxRetries).

Reading data

client.get(uri : String) : Promise

This allows retrieving specific URI's from the backend.

A non-exhaustive list of URI's can be found here. And @marcelrv has done a great job of documenting a lot of endpoints, the results of which can be found here.

Writing data

client.put(uri : String, data) : Promise

This allows writing values to specific URI's.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].