Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
salus-it600
Advanced tools
A JavaScript package to communicate with Salus internet connected thermostats.
A JavaScript package to communicate with Salus internet connected thermostats.
npm install salus-it600
Salus authentication requires a username and password. This is exchanged for a short-lived security token. There is no way to refesh the tokens, so unfortunately we need to keep the username and password in memory.
All request methods are promise-based.
const Salus = require("salus-it600");
const salus = new Salus({ username: "example@email.com", password: "secret" });
salus.devices().then(console.log);
This library is provided "as-is" with limited testing. Currently only thermostats connected to under-floor heating, using Celsius (i.e. not Fahrenheit) have been tested.
Salus iT600 is also marketed by John Guest, in the UK, as JG Aura.
List all thermostats associated with the account.
await salus.devices();
[{
id: 'a0b1',
name: 'Given Room Name',
current: 18,
target: 21,
mode: 'AUTO_HIGH',
heating: true
}, ... ]
Set the target temperature for a thermostat. Requires the id
of the thermostat to modify, from devices
.
await salus.setTarget({ id: "a0b1", temperature: 18 });
The return value from the API is always 0, even if the command is unsuccessful.
Sets the operating mode for the thermostat. Requires the id
of the thermostat to modify, from devices
.
await salus.setMode({ id: "a0b1", mode: "PARTY" });
The return value from the API is always 0, even if the command is unsuccessful.
Thermostats can be set to the following modes:
AUTO_HIGH
AUTO_MEDIUM
AUTO_LOW
HIGH
MEDIUM
LOW
PARTY
AWAY
FROST
Thermostats will be in one of the above modes, or return one of these additional modes:
OFFLINE
ON
UNDEFINED
FAQs
A JavaScript package to communicate with Salus internet connected thermostats.
The npm package salus-it600 receives a total of 0 weekly downloads. As such, salus-it600 popularity was classified as not popular.
We found that salus-it600 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.