-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Added basic support for Hive Active Plug #48
Conversation
Further testing reveals this is 💩 - not getting all the events (turnon/turnoff) propogating back to hass, checked it out and they aren't making to MQTT, it's a start but needs more |
Maybe you need to try something like: configure: (ieeeAddr, shepherd, coordinator, callback) => {
const device = shepherd.find(ieeeAddr, 1);
const cfg = {direction: 0, attrId: 0, dataType: 16, minRepIntval: 0, maxRepIntval: 1000, repChange: 0};
const actions = [
(cb) => device.bind('genOnOff', coordinator, cb),
(cb) => device.foundation('genOnOff', 'configReport', [cfg], foundationCfg, cb),
];
execute(device, actions, callback);
}, |
So - this is mostly working with your changes - here's the DB:
What's interesting is:
In fact - it definately is, it's |
Most recently I've been doing this:
Feel like it's almost there - found some useful info here: https://github.com/mozilla-iot/wiki/wiki/Zigbee-Attributes Testing is v. slow as I'm trying not to bork my full environement lol - it does fail to configure them, will get the debug log and be in touch 👍 |
🎉
|
@Koenkk This is good from my eye and tests - PLO |
Not sure if I'm just being a spoon but can't PR the other repo -
Above line needs added to lib/homeassistant.js |
Little bit of research shows that drill chargers can be anywhere from a few watts up to 300, the hive app never reports usage (unused feature 🎉) so can't take a guess from there - this can be merged while I do further research (gotta work out a way to do that first though lol) |
When pressing the button on the plug, do you see any |
Ooo - I hadn't checked my logs, but was looking at adding the smartthings multi sensor (another version than is currently supported) I see the converter message periodically now - this is likely to asking it to report 'genOnOff':
Will look into this further 👍 |
Ok good, I think the generic_state converter can be used for this. |
@matchett808 with latest converters (master branch): on
to
and test again. you shouldn´t see any warn messages anymore :) @Koenkk We should rename |
Closed due to inactivity |
I'll fixup the power reporting at some point, but for now, here's the plug itself