PlusPlus-ua / ha_tuya_ble

Home Assistant support for Tuya BLE devices
MIT License
155 stars 98 forks source link

[New Device] BLE Tuya e27 "Beacon RGBCW bulb" #99

Open fantnhu opened 5 months ago

fantnhu commented 5 months ago

Hi! Please add this tuya bulb to the integration. If you need more data, let me know. Thank you :)

"result": [ { "active_time": 1704391745, "category": "dj", "create_time": 1704391707, "custom_name": "", "icon": "smart/icon/ay154475826297180uFd/1965455accc9f72a08ed052f9d28f442.png", "id": "bfa6d30xrbbeuicc", "ip": "", "is_online": false, "lat": "", "local_key": "xxx", "lon": "", "model": "", "name": "Beacon RGBCW bulb 2", "product_id": "g005qizx", "product_name": "Beacon RGBCW bulb", "sub": false, "time_zone": "+01:00", "update_time": 1704391745, "uuid": "xxx" } ]

{ "result": { "model": "{\"modelId\":\"000004r9tv\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[{\"abilityId\":1,\"accessMode\":\"wr\",\"code\":\"switch_led\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_power\",\"attribute\":\"1664\"},\"name\":\"开关\",\"typeSpec\":{\"type\":\"bool\",\"typeDefaultValue\":false}},{\"abilityId\":2,\"accessMode\":\"wr\",\"code\":\"work_mode\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_mode\",\"attribute\":\"1664\"},\"name\":\"模式\",\"typeSpec\":{\"range\":[\"white\",\"colour\",\"scene\",\"music\"],\"type\":\"enum\",\"typeDefaultValue\":\"white\"}},{\"abilityId\":3,\"accessMode\":\"wr\",\"code\":\"bright_value\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-liangdu1\",\"attribute\":\"1152\"},\"name\":\"亮度值\",\"typeSpec\":{\"max\":1000,\"min\":10,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":10}},{\"abilityId\":4,\"accessMode\":\"wr\",\"code\":\"temp_value\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-dp_half\",\"attribute\":\"1152\"},\"name\":\"冷暖值\",\"typeSpec\":{\"max\":1000,\"min\":0,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":0}},{\"abilityId\":7,\"accessMode\":\"wr\",\"code\":\"countdown\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-a_nav_timer\",\"attribute\":\"1152\"},\"name\":\"倒计时剩余时间\",\"typeSpec\":{\"max\":86400,\"min\":0,\"scale\":0,\"step\":1,\"type\":\"value\",\"typeDefaultValue\":0,\"unit\":\"s\"}},{\"abilityId\":11,\"accessMode\":\"wr\",\"code\":\"colour_data_raw\",\"description\":\"Value: AABC;\\nAA:H(色度:0-360,0X0000-0X0168);\\nB:S (饱和:0-100, 0X00-0X64);\\nC:V (明度:0-100,0X00-0X64)\",\"extensions\":{\"iconName\":\"icon-yanse\",\"attribute\":\"128\"},\"name\":\"彩光\",\"typeSpec\":{\"maxlen\":255,\"type\":\"raw\"}},{\"abilityId\":12,\"accessMode\":\"wr\",\"code\":\"scene_data_raw\",\"description\":\"Value: ABCD;\\nA:场景ID;\\nB:变换方式;\\nC:速度;\\nD:亮度;\\n面板只下发ID号、变换方式、亮度和速度,场景的颜色数据由固件本地写死,场景支持变换方式、速度和亮度调节\",\"extensions\":{\"iconName\":\"icon-shoucang\",\"attribute\":\"128\"},\"name\":\"场景\",\"typeSpec\":{\"maxlen\":128,\"type\":\"raw\"}},{\"abilityId\":13,\"accessMode\":\"wr\",\"code\":\"music_data_raw\",\"description\":\"Value: ABBCD;\\nA:8bit:0000 0000\\n最高位:0表示直接输出,1表示渐变\\nBB:H(色度:0-360);\\nC:S (饱和:0-100 );\\nD:V (明度:0-100)\",\"extensions\":{\"iconName\":\"icon-dp_mic\",\"attribute\":\"128\"},\"name\":\"音乐灯\",\"typeSpec\":{\"maxlen\":128,\"type\":\"raw\"}},{\"abilityId\":17,\"accessMode\":\"wr\",\"code\":\"local_timer\",\"description\":\"蓝牙Beacon本地定时专用dp\",\"extensions\":{\"iconName\":\"icon-dp_time\"},\"name\":\"本地定时\",\"typeSpec\":{\"maxlen\":128,\"type\":\"raw\"}},{\"abilityId\":18,\"accessMode\":\"rw\",\"code\":\"timer_sync\",\"description\":\"蓝牙Beacon本地定时时间同步dp\",\"extensions\":{\"iconName\":\"icon-dp_time2\"},\"name\":\"定时器同步\",\"typeSpec\":{\"maxlen\":128,\"type\":\"raw\"}},{\"abilityId\":34,\"accessMode\":\"wr\",\"code\":\"do_not_disturb\",\"description\":\"适用于经常停电的区域,避免停电再来电时亮灯打扰用户。开启停电勿扰,APP上关灯后需要连续两次上电才会亮灯\",\"extensions\":{\"iconName\":\"icon-Mute\"},\"name\":\"勿扰模式\",\"typeSpec\":{\"type\":\"bool\",\"typeDefaultValue\":false}}]}]}" }

image

airy10 commented 4 months ago

It might work with my fork : https://github.com/airy10/ha_tuya_ble

fantnhu commented 4 months ago

It might work with my fork : https://github.com/airy10/ha_tuya_ble

Hello! I tried it, thanks. Unfortunately, it doesn't recognize any of my devices.

tERB00 commented 3 months ago

Hi! Please add this tuya bulb to the integration. If you need more data, let me know. Thank you :)

Any luck with these? I've got a similar tuya bulb - can control it with phone app, but not with hass. The chip inside marked as M3-DSN236-IO1E (cant find any info online) and the PCB has sd205K-RGB-CCT markings on it - does not help either. Seems to be very new devices...