youridijk / homebridge-kaku-ics2000

HomeKit support for Klik Aan Klik Uit ICS-2000
Apache License 2.0
21 stars 5 forks source link

KAKU devices types #12

Open childledj opened 1 year ago

childledj commented 1 year ago

Hello, I have found some types of kaku devices, so maybe you can add it in future releases: deviceType=13 Kaku doorbell deviceType=6 doorbell button deviceType=4 PIR outdoor sensor deviceType=14 ambient light sensor

youridijk commented 1 year ago

Thank you for the information! Anyone with other device types, please leave them in the comments. A link to the product would help! I will make a list of all the device with the device types and capabilities. In a future release, I will put this device types on a blacklist.

jocstone commented 1 year ago

deviceType=36, is a zigbee (ledvance) dimmable and cool to warm white adjustable spot

deviceType=41 & 33, is a zigbee (ledvance) smart plug

RonaldR commented 1 year ago

DeviceType 43 = smoke detector: https://klikaanklikuit.nl/product/slimme-draadloze-rookmelder/

Stijn-Jacobs commented 1 year ago

Maybe this will help you, this is the full list of device names with their id's known in the KAKU app.

"SWITCH", 1
"DIMMER", 2
"ACTUATOR", 3
"MOTION_SENSOR", 4
"CONTACT_SENSOR", 5
"DOORBELL_ACDB_7000A", 6
"WALL_CONTROL_1_CHANNEL", 7
"WALL_CONTROL_2_CHANNEL", 8
"REMOTE_CONTROL_1_CHANNEL", 9
"REMOTE_CONTROL_2_CHANNEL", 10
"REMOTE_CONTROL_3_CHANNEL", 11
"REMOTE_CONTROL_16_CHANNEL", 12
"REMOTE_CONTROL_AYCT_202", 13
"CHIME", 14
"DUSK_SENSOR", 15
"ARC_REMOTE", 16
"ARC_CONTACT_SENSOR", 17
"ARC_MOTION_SENSOR", 18
"ARC_SMOKE_SENSOR", 19
"ARC_SIREN", 20
"DOORBELL_ACDB_7000B", 21
"AWMT", 22
"SOMFY_ACTUATOR", 23
"LIGHT", 24
"WALL_SWITCH_AGST_8800", 25
"WALL_SWITCH_AGST_8802", 26
"BREL_ACTUATOR", 27
"CONTACT_SENSOR_2", 28
"ARC_KEYCHAIN_REMOTE", 29
"ARC_ACTION_BUTTON", 30
"ARC_ROTARY_DIMMER", 31
"ZIGBEE_UNKNOWN_DEVICE", 32
"ZIGBEE_SWITCH", 33
"ZIGBEE_DIMMER", 34
"ZIGBEE_RGB", 35
"ZIGBEE_TUNABLE", 36
"ZIGBEE_MULTI_PURPOSE_SENSOR", 37
"ZIGBEE_LOCK", 38
"ZIGBEE_LIGHT_LINK_REMOTE", 39
"ZIGBEE_LIGHT", 40
"ZIGBEE_SOCKET", 41
"ZIGBEE_LEAKAGE_SENSOR", 42
"ZIGBEE_SMOKE_SENSOR", 43
"ZIGBEE_CARBON_MONOXIDE_SENSOR", 44
"ZIGBEE_TEMPERATURE_AND_HUMIDITY_SENSOR", 45
"ZIGBEE_LIGHT_GROUP", 46
"ZIGBEE_FIREANGEL_SENSOR", 47
thephantom commented 1 year ago

DeviceType 43 = smoke detector: https://klikaanklikuit.nl/product/slimme-draadloze-rookmelder/

i like to have this one.

youridijk commented 1 year ago

@thephantom What do mean?

youridijk commented 1 year ago

Thanks all for the device types. I will make a markdown file containing all this info a well with product urls. Thanks @Stijn-Jacobs for all the info, I will add this info to the device configs file

thephantom commented 1 year ago

@thephantom What do mean?

i like to have the smokedetector in the system. i can make an automation then: "if there is an fire then turn on the light" for example.

youridijk commented 1 year ago

@thephantom since I don't have a smoke detector, I can't make it working. When I ever own one or something similar, I will try to add it, but can't make any promises. Beside, this plugin doesn't work 100% perfect so I wouldn't trust it. But you can make this possible in the official KAKU app using rules (can be found in the 'more' tab).

DnWillis commented 1 year ago

I like to have the Zigbee temperature and humidity sensor; ID 45.

https://klikaanklikuit.nl/product/temperatuur-en-luchtvochtigheidssensor/ or https://www.expert4house.com/en/smart-home/sensors-and-detectors/tuya-zigbee-temperature-and-humidity-sensor. Both devices work with the KAKU app.

youridijk commented 1 year ago

Don’t have either of the devices, nor any other sensor, so can’t really make it work unfortunately.

pro2ton commented 1 year ago

Hi Youri, Thank you for your great plug-in. I am looking for a way to control the KAKU Asun-650. No idea what device number this is (how to find out?), but it’s a control unit for sun screens. Here hou can find it: https://klikaanklikuit.nl/product/inbouwschakelaar-voor-zonwering/

kalis3 commented 11 months ago

I also would like to request the asun-650 to be added only the one that I got looks different.

https://www.gebruikershandleiding.com/KlikaanKlikuit-ASUN-650/preview-handleiding-639966.html

This is just a Manuel I found online but it seems to be correct. Also I would love to help do anything but all I can do is print('hello world'). So if you can think of anything tell me.

martienvd commented 11 months ago

I am new here, thanks for the plug in. Works great except for 1 issue: the KAKU dimmers. In Apple HomeKit I can switch them off and on but cannot set the value higher than 4 -9%. The real value is different however(between 0-100%). In the KAKU app it works OK. I have a ICS2000 and homebridge working on a Raspberry Pi4

RonaldR commented 11 months ago

Since iOS 17, I got the same issue as @martienvd. My guess is that maxBrightness should be 255 now @youridijk?

youridijk commented 11 months ago

@kalis3 @pro2ton It's hard for me to help with this. It seems to be a switch so it uses 0 or 3 as onOffFunction, but I don't know the entity ID. I will add a switch to homebridge to print all relevant info of all devices (even devices that aren't visible).

youridijk commented 11 months ago

@martienvd @RonaldR yes I experience this issue as well with iOS 17. I can kinda fix it, but I would rather see that HomeBridge fixes this. maxBrightness is already 255 by default, but it seems to go wrong on HomeBridge sites where I converts 0-100 to 0-255. I will open up new issue for this here.

corvankruchten commented 10 months ago

I would like to have the ASUN-650 as well.

StanMar-bit commented 10 months ago

Hi Youri, Thank you for your great plug-in. I am looking for a way to control the KAKU Asun-650. No idea what device number this is (how to find out?), but it’s a control unit for sun screens. Here hou can find it: https://klikaanklikuit.nl/product/inbouwschakelaar-voor-zonwering/

I would also really appreciate if the Asun-650 would be supported. So far really love the work you’ve done for this plugin :))

StanMar-bit commented 10 months ago

Hey, I don't know if this helps and if you guys have already seen this topic but I have found the following code on a Tweakers topic from 2020 with a lot of "DeviceTypeClasses" I thought that maybe this helps adding more devices to the plugin.

SWITCH = new DeviceType("SWITCH", 1, 1, 2131165480); DIMMER = new DeviceType("DIMMER", 2, 2, 2131165440); ACTUATOR = new DeviceType("ACTUATOR", 3, 3, 2131165426); MOTION_SENSOR = new DeviceType("MOTION_SENSOR", 4, 4, 2131165466); CONTACT_SENSOR = new DeviceType("CONTACT_SENSOR", 5, 5, 2131165439); DOORBELL_ACDB_7000A = new DeviceType("DOORBELL_ACDB_7000A", 6, 6, 2131165443); WALL_CONTROL_1_CHANNEL = new DeviceType("WALL_CONTROL_1_CHANNEL", 7, 7, 2131165486); WALL_CONTROL_2_CHANNEL = new DeviceType("WALL_CONTROL_2_CHANNEL", 8, 8, 2131165485); REMOTE_CONTROL_1_CHANNEL = new DeviceType("REMOTE_CONTROL_1_CHANNEL", 9, 9, 2131165472); REMOTE_CONTROL_2_CHANNEL = new DeviceType("REMOTE_CONTROL_2_CHANNEL", 10, 10, 2131165472); REMOTE_CONTROL_3_CHANNEL = new DeviceType("REMOTE_CONTROL_3_CHANNEL", 11, 11, 2131165472); REMOTE_CONTROL_16_CHANNEL = new DeviceType("REMOTE_CONTROL_16_CHANNEL", 12, 12, 2131165472); REMOTE_CONTROL_AYCT_202 = new DeviceType("REMOTE_CONTROL_AYCT_202", 13, 15, 2131165472); CHIME = new DeviceType("CHIME", 14, 13, 2131165435); DUSK_SENSOR = new DeviceType("DUSK_SENSOR", 15, 14, 2131165445); ARC_REMOTE = new DeviceType("ARC_REMOTE", 16, 16, 2131165472); ARC_CONTACT_SENSOR = new DeviceType("ARC_CONTACT_SENSOR", 17, 17, 2131165439); ARC_MOTION_SENSOR = new DeviceType("ARC_MOTION_SENSOR", 18, 18, 2131165466); ARC_SMOKE_SENSOR = new DeviceType("ARC_SMOKE_SENSOR", 19, 19, 2131165466); ARC_SIREN = new DeviceType("ARC_SIREN", 20, 20, 2131165478); DOORBELL_ACDB_7000B = new DeviceType("DOORBELL_ACDB_7000B", 21, 21, 2131165429); AWMT = new DeviceType("AWMT", 22, 22, 2131165429); SOMFY_ACTUATOR = new DeviceType("SOMFY_ACTUATOR", 23, 23, 2131165426); LIGHT = new DeviceType("LIGHT", 24, 24, 2131165432); WALL_SWITCH_AGST_8800 = new DeviceType("WALL_SWITCH_AGST_8800", 25, 25, 2131165486); WALL_SWITCH_AGST_8802 = new DeviceType("WALL_SWITCH_AGST_8802", 26, 26, 2131165485); BREL_ACTUATOR = new DeviceType("BREL_ACTUATOR", 27, 27, 2131165426); CONTACT_SENSOR_2 = new DeviceType("CONTACT_SENSOR_2", 28, 28, 2131165439); ARC_KEYCHAIN_REMOTE = new DeviceType("ARC_KEYCHAIN_REMOTE", 29, 29, 2131165472); ARC_ACTION_BUTTON = new DeviceType("ARC_ACTION_BUTTON", 30, 30, 2131165425); ARC_ROTARY_DIMMER = new DeviceType("ARC_ROTARY_DIMMER", 31, 31, 2131165473); ZIGBEE_UNKNOWN_DEVICE = new DeviceType("ZIGBEE_UNKNOWN_DEVICE", 32, 32, 2131165484); ZIGBEE_SWITCH = new DeviceType("ZIGBEE_SWITCH", 33, 33, 2131165432); ZIGBEE_DIMMER = new DeviceType("ZIGBEE_DIMMER", 34, 34, 2131165432); ZIGBEE_RGB = new DeviceType("ZIGBEE_RGB", 35, 35, 2131165432); ZIGBEE_TUNABLE = new DeviceType("ZIGBEE_TUNABLE", 36, 36, 2131165432); ZIGBEE_MULTI_PURPOSE_SENSOR = new DeviceType("ZIGBEE_MULTI_PURPOSE_SENSOR", 37, 37, 2131165484); ZIGBEE_LOCK = new DeviceType("ZIGBEE_LOCK", 38, 38, 2131165439); ZIGBEE_LIGHT_LINK_REMOTE = new DeviceType("ZIGBEE_LIGHT_LINK_REMOTE", 39, 39, 2131165472); ZIGBEE_LIGHT = new DeviceType("ZIGBEE_LIGHT", 40, 40, 2131165432); ZIGBEE_SOCKET = new DeviceType("ZIGBEE_SOCKET", 41, 41, 2131165490); ZIGBEE_LEAKAGE_SENSOR = new DeviceType("ZIGBEE_LEAKAGE_SENSOR", 42, 42, 2131165459); ZIGBEE_SMOKE_SENSOR = new DeviceType("ZIGBEE_SMOKE_SENSOR", 43, 43, 2131165479); ZIGBEE_CARBON_MONOXIDE_SENSOR = new DeviceType("ZIGBEE_CARBON_MONOXIDE_SENSOR", 44, 47, 2131165434); ZIGBEE_TEMPERATURE_AND_HUMIDITY_SENSOR = new DeviceType("ZIGBEE_TEMPERATURE_AND_HUMIDITY_SENSOR", 45, 46, 2131165479); ZIGBEE_LIGHT_GROUP = new DeviceType("ZIGBEE_LIGHT_GROUP", 46, 48, 2131165433); ZIGBEE_FIREANGEL_SENSOR = new DeviceType("ZIGBEE_FIREANGEL_SENSOR", 47, 49, 2131165425); CAMERA_MODULE = new DeviceType("CAMERA_MODULE", 48, 241, 2131165478); LOCATION_MODULE = new DeviceType("LOCATION_MODULE", 49, 242, 2131165478); SYSTEM_MODULE = new DeviceType("SYSTEM_MODULE", 50, 243, 2131165478); ENERGY_MODULE = new DeviceType("ENERGY_MODULE", 51, 238, 2131165620); WEATHER_MODULE = new DeviceType("WEATHER_MODULE", 52, 244, 2131165648); DeviceType deviceType = new DeviceType("SECURITY_MODULE", 53, 240, 2131165478); Here is also a link to the topic https://gathering.tweakers.net/forum/list_messages/1698039

StanMar-bit commented 10 months ago

I also would like to request the asun-650 to be added only the one that I got looks different.

https://www.gebruikershandleiding.com/KlikaanKlikuit-ASUN-650/preview-handleiding-639966.html

This is just a Manuel I found online but it seems to be correct. Also I would love to help do anything but all I can do is print('hello world'). So if you can think of anything tell me.

I think the asun650 has the following class line. So the device type is 23, I don't really know what the other numbers mean.
SOMFY_ACTUATOR = new DeviceType("SOMFY_ACTUATOR", 23, 23, 2131165426);`