notabene00 / HomeyCONZ

deCONZ app for Athom Homey smart home controller
GNU General Public License v3.0
18 stars 11 forks source link

a bunch of Trådfri things as well as an Osram outlet #3

Closed k4mrat closed 4 years ago

k4mrat commented 4 years ago

Added:

*Trådfri remote 5 buttons

*Trådfri square dimmer (also known as on/off, but listed as dimmer by IKEA and has dim capabilities)

*Trådfri outlet

*Trådfri motion sensor v1 (this has a basic boolean lux meter "dark: true/false" that would be cool to use, but I can't get it to work right now.)

*Osram Outlet

*as well as Skorpions good work with the Symfonisk remote!

*In here is also the Tradfri Round Dimmer that is behaving like crap! So i added its drivers but havent been able to map the buttons correctly. It should be something like the Symfonisk (cw turn start/stopp, ccw turn start/stop), but i really wouldnt bother with it unless someone specifically requests it and their life depends on it...

notabene00 commented 4 years ago

About Tradfri round dimmer, there's no stops Its codes are: 1002 for sharp counter clockwise turn 2002 for slow counter clockwise turn 3002 for slow clockwise turn 4002 for sharp clockwise turn it's already implemented and will be pushed soon


What about "boolean lux meter"? What data it posts to the websocket? Post here, then I'll help

I think that we should create a custom capability for binary luminance sensor Then we'll can get it working too

k4mrat commented 4 years ago

Tradfri round:

Ok! When I had them native in Homey they stated start/stop, that’s why I called them like that :) I have trouble using them at all. Paired three of them and they seem to log events for a while but then die. Looking forward to try them with working code! I think that IKEA stopped selling them due to this kind of behavior though.

Motion: Sounds good! I’ll try to look in to it tonight or this weekend!

notabene00 commented 4 years ago

@k4mrat tradfri round dimmer is here if you wanna know :)

notabene00 commented 4 years ago

@k4mrat

k4mrat commented 4 years ago

I couldn’t get any outlet to work, that’s why I started adding stuff :) But I’ll check! Maybe it’s possible to use one driver and just filter them to different icons? I personally likes to see the brand/icon of my different plugs :)

I’ll take a look at the motion sensor tonight when I get off work and make a PR with only 5 and onoff.

notabene00 commented 4 years ago

Maybe it’s possible to use one driver and just filter them to different icons

ye, AFAIK, it is possible

I couldn’t get any outlet to work, that’s why I started adding stuff :) But I’ll check!

try >= 0.6.0, @SkorpionNL there defined another type of plugs https://github.com/fantomnotabene/HomeyCONZ/blob/76e2b1562df7de89068cbbc53a6930ac59b21744/drivers/plug/driver.js#L13

SkorpionNL commented 4 years ago

I can confirm that the Osram plug and INNR SP120 do work with my commit in 0.6.0 that @fantomnotabene mentioned. The INNR SP110 already worked.