
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
eQ-3 Max! Cube interface library.
For a cli, see maxcube-cli. If you want to integrate your MAX! Cube in node-red, use node-red-node-maxcube.
var MaxCube = require('maxcube');
var myMaxCube = new MaxCube('192.168.1.123', 62910);
myMaxCube.on('connected', function () {
console.log('Connected');
myMaxCube.getDeviceStatus().then(function (payload) {
console.log(payload);
myMaxCube.close();
});
});
myMaxCube.on('closed', function () {
console.log('Connection closed');
});
Returns a promise for an active connection.
myMaxCube.getConnection().then(function () {
..
});
Closes the connection to the Max! Cube immediately (when active).
Returns the last known communication status (duty cycle & free memory slots).
Returns devices (from cache).
Returns device info (from cache).
Returns room info (from cache).
Returns a promise with device status of all or specified devices.
myMaxCube.getDeviceStatus().then(function (devices) {
devices.forEach(function (device) {
var deviceInfo = myMaxCube.getDeviceInfo(device.rf_address);
console.log(deviceInfo.device_name + ', ' + deviceInfo.room_name);
console.log(' temperature: ' + device.temp);
console.log(' setpoint: ' + device.setpoint);
console.log(' valve: ' + device.valve);
console.log(' mode: ' + device.mode);
});
});
Set setpoint temperature for specified device and returns a promise.
Possible modes are: 'AUTO', 'MANUAL', 'BOOST' and 'VACATION'. If no mode is given, 'MANUAL' is presumed.
Format untilDate as ISO 8601, e.g. 2019-06-20T10:00:00Z.
myMaxCube.setTemperature('0dd6b5', 18).then(function (success) {
if (success) {
console.log('Temperature set');
} else {
console.log('Error setting temperature');
}
});
FAQs
eQ-3 Max! Cube interface
We found that maxcube 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.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.