@radek-foltyn I’m not so hot on buttons but the first thing I’d try is changing the path to the media directory which is available by default in HA (115 onwards I think) e.g.
Another approach is to create the snapshot via a script, that way you can reuse it if needs be.
Here’s a quick example based on my camera name:
'1604089117818':
alias: Front Door Camera Snapshot
sequence:
- service: camera.snapshot
data:
filename: /media/frontdoorsnapshot_{{ now().strftime("%Y%m%d-%H%M%S") }}.jpg
entity_id: camera.front_door_hd
mode: single
Then you can created a button that calls the script.
I’m still learning so can’t really say what exactly but I would suggest its something to do with the YAML structure/format - especially if the script works. I’ll try and have a look later though. hopefully someone else will come along with more experience than me
The above works for me. You get a live feed as the picture and clicking will take a snapshot. All I’ve done thats different from my working code is change the camera name to your cameras name so this should work.
Logger: homeassistant.setup
Source: setup.py:138
First occurred: 6:30:45 PM (1 occurrences)
Last logged: 6:30:45 PM
Setup failed for tapo_control: Unable to import component: cannot import name ‘ONVIFAuthError’ from ‘onvif.exceptions’ (/usr/local/lib/python3.8/site-packages/onvif/exceptions.py)
hello , i have install this custom but have a problem no work with my tapo C200
hacs i have install tapo control, restart home assistant
in my confing.yaml , have inside this
restart home assistant
i see switch.bedroom_privacy_mode , state off no can have on "error call "
My config is ok ?
Can you help solve this problem ?
I want have PLZ move camera in card ,but no work , fault call service i see in all button press in the card camera
I’m no expert but why do you have anything in your config.yaml? Installing the component via HACS gives me all the entities and there is no need to define the sensor or binary sensor.
This is what my Tapo control card looks like in lovelace
i have install my c200 from integration HA onvif port 2020
i do manual install inside folder component but is equal , i no see entity creates for tapo control