-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What's the rf_address #8
Comments
If you run following code (change ip according to your setup), you should get a list of all connected devices, including their rf-address: 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');
}); Output:
|
Thanks for the reply! Using your script unfortunately there is not connected state rising, although I use the correct IP and Port - both are working with a PHP script that can read MAX! configuration and when I telnet into the MAX! Cube. Any idea? |
There can only be one connection to the MAX! Cube at the same time. If there's already a connection, you'll get a timeout:
|
The MAX! Application is not running currently. Got your code running (placed it somewhere else in the homebridge code), but the result is:
Does this help to identify the issue? Oh, it seems like there is a typo in "EQ3MAX_DEV_TYPE_UNKNOWN" on line 204. Thanks for your help! |
Yup, that's a bug, fixed in 67c4694, thanks. |
Sure, it's a MAX! Cube but sold from ELV (www.elv.de), not EQ-3 (although it's absolutely the same). Does this help or do you need some other information? |
If you could give me the submessage length of this device, that would be helpfull. |
No problem, the output is: 6 |
Unfortunately I still get an error if trying to set the temperature for an existing device:
My code is:
Do I miss something, like building the device cache first? BTW: Is it possible to set temp to an wall mounted thermostat? Because the device list shows only
Thanks |
@RalphPungaKronbergs Feel free to support: https://github.com/tobsch/homebridge-platform-maxcube I know it's dirty, just hacked my way through... |
Hi,
on my way to create a homebridge package for Max! Cube I would like to use maxcube, but I can't figure where I get the 'rf_address' for each device of my Max! setup...
Would appreciate any help!
Cheers
Punga
The text was updated successfully, but these errors were encountered: