Skip to content
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

Request support for Cleverio CD-200 video doorbell #2295

Closed
ghost opened this issue Sep 11, 2024 · 8 comments
Closed

Request support for Cleverio CD-200 video doorbell #2295

ghost opened this issue Sep 11, 2024 · 8 comments

Comments

@ghost
Copy link

ghost commented Sep 11, 2024

Log message

Device matches None with quality of 0%. DPS: {"updated_at": 1726060798.001909, "149": false}

DPS information

{
  "result": {
    "model": "{\"modelId\":\"000003i66o\",\"services\":[{\"actions\":[],\"code\":\"\",\"description\":\"\",\"events\":[],\"name\":\"默认服务\",\"properties\":[
{\"abilityId\":103,\"accessMode\":\"rw\",\"code\":\"basic_flip\",\"description\":\"设备设置页面-基本功能设置\\n使直播画面垂直翻转,true打开翻转,false关闭翻转\",\"name\":\"基本-录制画面翻转\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":104,\"accessMode\":\"rw\",\"code\":\"basic_osd\",\"description\":\"设备设置页面-基本功能设置\\n时间水印功能开关,true打开水印,false关闭水印\",\"name\":\"基本-视频osd功能\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":108,\"accessMode\":\"rw\",\"code\":\"basic_nightvision\",\"description\":\"0:自动\\n1:关\\n2:开\",\"name\":\"基本-红外夜视\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"0\",\"1\",\"2\"]}},
{\"abilityId\":109,\"accessMode\":\"ro\",\"code\":\"sd_storge\",\"description\":\"示例:\\n---2017.07.08更新---\\n单位改为kb\\n---\\n3503775744|778977280|2718158848\\n其中第一字符串是总容量,第二个字符串是已使用的容量,第三个是剩余容量\",\"name\":\"存储卡-获取卡容量\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":110,\"accessMode\":\"ro\",\"code\":\"sd_status\",\"description\":\"status:sd卡状态,1-正常,2-异常,3-空间不足,4-正在格式化,5-无SD卡;\",\"name\":\"存储卡-卡状态\",\"typeSpec\":{\"type\":\"value\",\"max\":5,\"min\":1,\"scale\":1,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":111,\"accessMode\":\"rw\",\"code\":\"sd_format\",\"description\":\"无参数\",\"name\":\"存储卡-格式化\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":115,\"accessMode\":\"ro\",\"code\":\"movement_detect_pic\",\"description\":\"该功能实现请参考SDK\\n---------------\\n{\\\"dp_id\\\",\\\"bucket;object;key\\\"}/{\\\"dp_id\\\",\\\"bucket;object;\\\"}\\nbucket:根文件夹;objcet:文件路径;key:加密\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"检测到移动\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":117,\"accessMode\":\"ro\",\"code\":\"sd_format_state\",\"description\":\"返回错误码:\\n-2000:SD卡正在格式化\\n-2001:SD卡格式化异常\\n-2002:无SD卡\\n-2003:SD卡错误\\n\\n//正数为格式化进度\",\"name\":\"存储卡-格式化状态\",\"typeSpec\":{\"type\":\"value\",\"max\":20000,\"min\":-20000,\"scale\":1,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":126,\"accessMode\":\"ro\",\"code\":\"battery_report_cap\",\"description\":\"使用位运算标识设备电池电量上报能力\\nBit0 电量精准上报能力 \\n1 可精准上报 0 不可精准上报\\n-----------预留-------------\\nBit1 充电状态上报能力\\nBit2 预留位\\nBit3 预留位\\n------------------------------------\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1248\"},\"name\":\"电量精准上报能力\",\"typeSpec\":{\"type\":\"value\",\"max\":15,\"min\":0,\"scale\":0,\"step\":1}},
{\"abilityId\":136,\"accessMode\":\"ro\",\"code\":\"doorbell_active\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-setting\"},\"name\":\"门铃-呼叫\",\"typeSpec\":{\"type\":\"string\",\"maxlen\":255}},
{\"abilityId\":145,\"accessMode\":\"ro\",\"code\":\"wireless_electricity\",\"description\":\"设备主动上报当前电量,电量发生变化时上报。类型为数值型,上报0-100的整数。app会处理成百分比。\\n\",\"name\":\"低功耗-电池电量\",\"typeSpec\":{\"type\":\"value\",\"max\":100,\"min\":0,\"scale\":1,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":146,\"accessMode\":\"ro\",\"code\":\"wireless_powermode\",\"description\":\"设备主动上报当前供电状态,供电状态发生变化时上报。0为电池供电状态,1为插电供电状态(或电池充电状态)\",\"name\":\"低功耗-供电方式\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"0\",\"1\"]}},
{\"abilityId\":147,\"accessMode\":\"rw\",\"code\":\"wireless_lowpower\",\"description\":\"若电量百分比低于该阈值,则触发报警;App端设置,设备本身无须关心该dp点。\",\"name\":\"低功耗-低电报警\",\"typeSpec\":{\"type\":\"value\",\"max\":50,\"min\":10,\"scale\":1,\"step\":1,\"unit\":\"\"}},
{\"abilityId\":149,\"accessMode\":\"rw\",\"code\":\"wireless_awake\",\"description\":\"设备主动上报当前低功耗是否处于唤醒状态。类型为布尔型,true为唤醒状态,false为休眠状态。(设备休眠前上报false,设备唤醒后上报一次true)\",\"extensions\":{\"attribute\":\"1\"},\"name\":\"低功耗-唤醒状态\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":150,\"accessMode\":\"rw\",\"code\":\"record_switch\",\"description\":\"设备设置页面-存储卡设置\\nSD卡录像开关,true为打开,false为关闭\\n功能关闭时,不录像到SD卡\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1120\"},\"name\":\"SD卡录像开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":154,\"accessMode\":\"ro\",\"code\":\"doorbell_pic\",\"description\":\"用户按下门铃,抓拍图片并上传\",\"extensions\":{\"iconName\":\"icon-setting\"},\"name\":\"门铃抓拍图片\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":155,\"accessMode\":\"rw\",\"code\":\"doorbell_ring_exist\",\"description\":\"0为没有铃铛 1为铃铛配对成功\\n开始配对,App下发1,设备收到后回复配对结果是1还是0\\n解绑时,App下发0,设备收到后回复解绑结果是1还是0\",\"extensions\":{\"iconName\":\"icon-setting\"},\"name\":\"铃铛配对\",\"typeSpec\":{\"type\":\"enum\",\"range\":[\"0\",\"1\"]}},
{\"abilityId\":170,\"accessMode\":\"rw\",\"code\":\"humanoid_filter\",\"description\":\"\",\"extensions\":{\"iconName\":\"icon-setting\"},\"name\":\"人形过滤\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":185,\"accessMode\":\"ro\",\"code\":\"alarm_message\",\"description\":\"实现方式参考嵌入式SDK使用文档\",\"extensions\":{\"iconName\":\"icon-setting\",\"attribute\":\"1024\"},\"name\":\"告警消息上报\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":212,\"accessMode\":\"rw\",\"code\":\"initiative_message\",\"description\":\"参考SDK文档实现\",\"extensions\":{\"attribute\":\"2048\"},\"name\":\"主动消息推送\",\"typeSpec\":{\"type\":\"raw\",\"maxlen\":128}},
{\"abilityId\":240,\"accessMode\":\"rw\",\"code\":\"ipc_pir_switch\",\"description\":\"PIR开关\",\"name\":\"PIR开关\",\"typeSpec\":{\"type\":\"bool\"}},
{\"abilityId\":241,\"accessMode\":\"rw\",\"code\":\"ipc_pir_sensitivity\",\"description\":\"pir多级灵敏度\",\"name\":\"pir多级灵敏度\",\"typeSpec\":{\"type\":\"value\",\"max\":5,\"min\":1,\"scale\":0,\"step\":1,\"unit\":\"\"}}]}]}"
  },
  "success": true,
  "t": 1725866371565,
  "tid": "db88e0b56e7b11efbc016e7818a0f8a2"
}

Product ID

tpd76kmnwwsun4iq

Product Name

Cleverio CD-200 Video doorbell

Information about how the device functions

Cleverio CD-200 video doorbell

Has inbuilt PIR that was not reachable from Tuya. Would be extremely nice if that entity was accessible

PDF Manual https://www.kjell.com/globalassets/mediaassets/867160_51768_manual_en_no_sv_20221018.pdf?ref=007B10390E

@ghost ghost added the new device Unsupported device label Sep 11, 2024
@make-all make-all added the full_info All info needed was provided label Sep 11, 2024
@ghost ghost changed the title Request support for <Cleverio CD-200 video doorbell> Request support for Cleverio CD-200 video doorbell Sep 11, 2024
@ghost
Copy link
Author

ghost commented Sep 12, 2024

Just remembered.
Reports battery charge in a funny way.
In the Tuya integration, it reports in V and that is not compatible with battery monitoring add-ons in HA.
My guess is that it's this way as it can also run hooked up to a 12V DC power supply.

@make-all make-all added awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release and removed full_info All info needed was provided labels Sep 13, 2024
make-all added a commit that referenced this issue Sep 13, 2024
@ghost
Copy link
Author

ghost commented Sep 13, 2024

It installed after many tries, getting same issue as #2288 but all entities are unreachable

From log

Logger: custom_components.tuya_local.device
Källa: custom_components/tuya_local/device.py:575
integration: Tuya Local (dokumentation, ärenden)
Inträffade först: 22:37:10 (4 händelser)
Senast loggade: 22:38:10

Failed to fetch device status for Entré-Video-doorbell

Tried to take away and reinstall (with upgraded TuyaLocal) and all I get is this
Skärmbild från 2024-09-13 22-52-54

and the logg says

Logger: custom_components.tuya_local.config_flow
Källa: custom_components/tuya_local/config_flow.py:408
integration: Tuya Local (dokumentation, ärenden)
Inträffade först: 22:49:24 (2 händelser)
Senast loggade: 22:50:15

Could not find device: xxxxxxxxxxxxx
Everything is unreachable??
Went back to the Tuya integration and reactivated the camera.
Same issue! Just inactivated the device in tuya so device shouldn't be occupied. Installed TuyaLocal and found it unreachable, restarted, same, removed from TuyaLocal, got unknown error installing again. Tried to reactivate device in tuya and same there. Couldn't have taken more then 10min, the whole process.

Have restarted HA many times since then but no difference. Very strange behaviour.
Will try tomorrow to remove the camera completely, from both HA and Tuya and reinstall it completely. See if that helps.

@ghost
Copy link
Author

ghost commented Sep 14, 2024

After reinstalling, it works again through the Tuya integration. Now it doesn't autodiscover the IP in the TuyaLocal cloud-add-device. I get both the #2288 error AND "unknown error occurred" when I key in the IP manually.
I did what you said in #2288 and did the QR code login from TuyaSmart over mobile network and directly after approving QR in the app, even disabling mobile data.
Just can not get it added to TuyaLocal again!

@make-all
Copy link
Owner

Maybe try downgrading to 2024.8.0, as there appears to be a bug in 2024.9.0 config flow

@ghost
Copy link
Author

ghost commented Sep 14, 2024

Ok! Probably both well known and is being worked upon. Have no real hurry here more then doing my bit, confirming the functionality of the config for the cd-200.
It can wait. Will try again after every upgrade of core.

@ghost
Copy link
Author

ghost commented Sep 23, 2024

This is strange!
Still not possible to add this device
Doesn't find IP, manually keyed in it gives me both the #2288 error plus unknown error.
Thought it was a general problem but when I added the new Lidl/Silvercrest air fryer today, it went through clean. Tried to remove other devices and readd them. No problem whatsoever!
What would be your expert hunch. Device extremely sensitive to dual connections? Goes very aggressively to power save as it is a battery device?
Don't expect you to do anything more than maybe get an idea that I could try. If nothing rings a bell, just ignore this.

@make-all
Copy link
Owner

The fact it is only reporting a single dp in the log above is possibly a sign that this device does not consistently return the same data each time, so cannot be recognised.

@ghost
Copy link
Author

ghost commented Sep 25, 2024

Crap!
Well, we gave it a go.
Tnx, mate!

@make-all make-all removed new device Unsupported device awaiting confirmation Wating for confirmation the issue is solved unreleased Will be in next release labels Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant