🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

eq3ble

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eq3ble

Node package to control an EQ3 bluetooth thermostat

1.2.0
latest
Source
npm
Version published
Weekly downloads
3
-25%
Maintainers
1
Weekly downloads
 
Created
Source

EQ3BLE

node.js package to control an EQ3 bluetooth thermostat

discovering

See the noble-device discovering api for more methods

import EQ3BLE from 'eq3ble'

EQ3BLE.discover((device) => {
  device.connectAndSetup().then(() => {
    // ...
  })
})

methods

every method returns a promise to indicate the execution progress

getInfo()

reads the device info. Returns an object like this:

{
  status: {
    manual: Boolean, // manual mode activated
    holiday: Boolean, // holiday mode activated
    boost: Boolean, // boost active
    dst: Boolean, // daylight saving time active
    openWindow: Boolean, // window is opened
    lowBattery: Boolean, // battery is low
  },
  valvePosition: Number, // 0-100 position of the valve
  targetTemperature: Number // temperature visible on the display
}

setBoost(Boolean)

activates or deactivates the boost

automaticMode()

switch to automatic mode

manualMode()

switch to manual mode

ecoMode()

switch to eco / holiday mode

setLock(Boolean)

activates or deactivates locking

turnOff()

turns off heating / sets valve position to 0

turnOn()

turns on heating / sets valve position to 100

setTemperature(Number)

sets the temperature (valid values are 4.5 - 30)

setTemperatureOffset(Number)

sets the temperature offset

updateOpenWindowConfiguration(temperature: Number, duration: Number)

updates the window open configuration

setDateTime(Date)

updates the date and time of the thermostat

License

Licensed under GPLv3 license. Copyright (c) 2015 Max Nowack

Contributions

Contributions are welcome. Please open issues and/or file Pull Requests.

Maintainers

  • Max Nowack (maxnowack)

Keywords

bluetooth

FAQs

Package last updated on 05 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts