Closed s493321320 closed 2 weeks ago
What kind of device do you have?
您拥有哪种设备?
DS-K1T673M-RZSZ
Ok, I will add it later to the list, so you can test it... I keep you posted
好的,我稍后会将其添加到列表中,以便您可以测试它...我会及时通知您
Thanks bro
i just added beta 71, can you try ?
我刚刚添加了 beta 71,您可以尝试吗
Even when it's in the call state, it shows "idle"
I just added beta 71, can you try it
Even when it's in the call state, it shows "idle"
Yes , that's normal on those devices, they don't provide the call event, there is a callstatus button, you can poll it manually?
我刚刚添加了 beta 71,您可以试用吗
即使处于通话状态,也显示 “idle”
是的,这在这些设备上是正常的,它们不提供 call 事件,有一个 callstatus 按钮,你可以手动轮询它吗?
yes,I can. does beta work with one device?
you can add as many devices you want in the config
you can add as many devices you want in the config
Why can't my "Hikvison Doorbell" connect to two devices, and the second one doesn't work properly?
Not sure , what does the log say?
不确定,日志是怎么说的?
That looks good, I don't see any error.... Maybe stop addon, delete all the mqtt devices, restart adddon again
That looks good, I don't see any error.... Maybe stop addon, delete all the mqtt devices, restart adddon again
I feel so strange, I don't know how to express. Can you log in to my homeassistant?
sure, i can have a quick look
That looks good, I don't see any error.... Maybe stop addon, delete all the mqtt devices, restart adddon again
ok, user/pass ?
好的,用户/通行证 ?
Have you logged in?
yes
i cant delete the device? maybe restart HA?
ok, deleted and restarted, working now?
It's still not working.
i changed chinese names to device1 and device2 , now its ok ?
maybe it has issues with device names? seems ok now
I'll try it right away.
ok, i log out, delete all your messages here on github
How do I pay you
i have a donate on paypal system, its up to you...
Do you have Alipay
no :-)
I'll transfer you a tip tomorrow. I'll set up an account
thnx , much appreciated!
Check out your paypal
ty, received!! :-)
ty, received!! :-)
hey,Bro! I have a question. I want you to help me set up the automation system. When the doorbell rings, a pop-up window displays a monitoring screen and a button to open the door. Can you help me? I'm willing to tip more than last time.
something like this, first one is an automation when the sensor changes in my case, the second one is the action if you click on the notify event , i use android
# Automation for
- alias: 'Deurbel Hikvision'
initial_state: 'on'
trigger:
- platform: state
entity_id: sensor.ds_kd8003_call_state
to: 'ringing'
- service: notify.xxxx
data:
title: "Deurbel"
message: "Er staat iemand aan de deur!"
data:
channel: Doorbell
actions:
- action: deur_open
title: "Open Door!"
priority: high
ttl: 0
## Action to use to open door
- alias: Action Door Open
initial_state: 'on'
trigger:
- event_data:
action: deur_open
event_type: mobile_app_notification_action
platform: event
action:
action: switch.turn_on
target:
entity_id: switch.ds_kd8003_door_relay_0
The only thing extra you need, is a poll sensor, cause you dont have the ring event right? you need to poll/press the button every xx seconds, that based on the json you can grab the "ringing" status
once you have the polling, you can retrieve the idle/ringing state like below in an autmation
trigger:
- platform: state
entity_id: button.ds_kd8003_caller_info
condition:
- condition: template
value_template: >
{% if (state_attr("button.ds_kd8003_call_status", "CallStatus")['status']) == "ringing" %}True{% endif %}
you can play with the template editor:
Is it " node-red " Settings automation?
No, I don't use node red. Those are just automations in yaml
No, I don't use node red. Those are just automations in yaml
OK, we have a holiday in China on Saturday and Sunday. I'll try on Monday
Why did I put your code in my automated editor and get an error
Ow, I have door_open and deur_open, change that... Also, that's just an example, you probably need to change according to what you want... Maybe you need to configure a mobile app first, also notification... The example is based on android
If you are new to HA, it's better use the GUI to create automations, instead of yaml
Bro, homeassistant is used by very few people in China. Can you log into my account like last time? Give me a sample so I can understand.
That's difficult, everything is in chinese :-)
You first need to know what you want do you have already mobile/notify configured?? Lots of examples on forums Todo that
All right, I'll try again
trial and error, thats how you learn HA :-)
Are there any recommended places to learn Ha
the community forums, lots of examples there to find
What happened?
My Hikvision Doorbell turns off every time it starts for a while and there is no physical doorbell
Add-on
Hikvision Doorbell
What version of the add-on are you running?
3.0.18
Installation type
Home Assistant add-on
Relevant log output
No response
Relevant configuration
No response
Anything else?
No response