node.js package to control an EQ3 bluetooth thermostat
See the noble-device discovering api for more methods
import EQ3BLE from 'eq3ble'
EQ3BLE.discover((device) => {
device.connectAndSetup().then(() => {
// ...
})
})
every method returns a promise to indicate the execution progress
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
}
activates or deactivates the boost
switch to automatic mode
switch to manual mode
switch to eco / holiday mode
activates or deactivates locking
turns off heating / sets valve position to 0
turns on heating / sets valve position to 100
sets the temperature (valid values are 4.5 - 30)
sets the temperature offset
updates the window open configuration
updates the date and time of the thermostat
Licensed under GPLv3 license. Copyright (c) 2015 Max Nowack
Contributions are welcome. Please open issues and/or file Pull Requests.
- Max Nowack (maxnowack)