npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

evohome

v0.0.3

Published

A client library for Honeywell Evohome

Downloads

31

Readme

node-evohome

A node.js client library for Honeywell Evohome. A work in progress. Pull-requests welcome!

Note: This is an unofficial library and is not supported by Honeywell in any way.

Use at your own risk. :-)

Installing

Install via npm:

npm install --save evohome

Or, add the following to your package.json dependencies:

{
	"dependencies": { 
		"evohome": "https://github.com/ixalon/node-evohome.git#v0.0.2"
	}
}	

API

.login(username, password, applicationId)

Login to Evohome remotely and return a promise which is resolved to a Session on login.

	var evohome = require('evohome');
	evohome.login('username', 'password', 'application-id-hex').then(function(session) {
		// Use session to access state
	}).fail(function(err) {
		console.error('Failed to login:', err);
	});

Session

Session.getLocations()

Returns a promise which is resolved to an array of Location objects.

	session.getLocations().then(function(locations) {
		console.log('You have', locations.length, 'locations');
	}).fail(function(err) {
		console.error('Failed to get locations:', err);
	});

Session.sessionId

Session ID, sent to all further requests performed under this session.

Session.userInfo

A UserInfo object containing details about the user.

Session.latestEulaAccepted

Boolean value, false if there is an updated Honeywell Evohome EULA.

UserInfo

UserInfo.userId

The user's unique ID.

UserInfo.username

The user's username.

UserInfo.firstname

The user's first name.

UserInfo.lastname

The user's last name.

UserInfo.streetAddress

The user's street address.

UserInfo.city

The user's city.

UserInfo.state

The user's state/region.

UserInfo.zipcode

The user's ZIP/Post code.

UserInfo.country

The user's country.

UserInfo.telephone

The user's telephone number.

### UserInfo.userLanguage The user's preferred language.

UserInfo.isActivated

Boolean value, true if the user's account is active.

UserInfo.deviceCount

The number of devices assigned to this user's account.

Location

Location.locationID

TBC.

Location.name

TBC.

Location.streetAddress

TBC.

Location.city

TBC.

Location.state

TBC.

Location.country

TBC.

Location.zipcode

TBC.

Location.type

TBC.

Location.devices

An array of Device objects.

Location.oneTouchButtons

TBC.

Location.daylightSavingTimeEnabled

TBC.

Location.timeZone

TBC.

Location.oneTouchActionsSuspended

TBC.

Location.evoTouchSystemsStatus

TBC.

Location.isLocationOwner

TBC.

Location.locationOwnerName

TBC.

Device

Device.deviceID

TBC.

Device.thermostatMoedelType

TBC.

Device.name

TBC.

Device.thermostat

A Thermostat object.

Thermostat

Thermostat.units

TBC.

Thermostat.indoorTemperature

TBC.

Thermostat.outdoorTemperature

TBC.

Thermostat.allowedModes

TBC.

Thermostat.deadband

TBC.

Thermostat.minHeatSetpoint

TBC.

Thermostat.maxHeatSetpoint

TBC.

Thermostat.minCoolSetpoint

TBC.

Thermostat.maxCoolSetpoint

TBC.

Thermostat.changeableValues

TBC.