I am Daniel Hjelseth Høyer and I work as Data Scientist in Tibber. Tibber is a smart home and energy supplier. My work evolves machine learning.
I am also an active contributor to Home Assistant
Petcare integration for Home Assistant
License: MIT License
I am Daniel Hjelseth Høyer and I work as Data Scientist in Tibber. Tibber is a smart home and energy supplier. My work evolves machine learning.
I am also an active contributor to Home Assistant
When adding this integration either via UI or config.yaml, it only generates two sensors (one for the hub and one for the cat) - there are no locks created. There are no entries in the logs.
Hi,
I have the Sure Petcare integration up and running and everything works perfectly apart from locking the cat flap. It doesn't matter which lock I try to activate (all, in, or out) they all throw the following error:
Logger: homeassistant.components.websocket_api.http.connection
Source: components/surepetcare/lock.py:88
Integration: Home Assistant WebSocket API (documentation, issues)
First occurred: 12 May 2022, 23:59:33 (1 occurrences)
Last logged: 12 May 2022, 23:59:33
[139883864825472] ERROR (UN)LOCKING DEVICE - PLEASE CHECK IMMEDIATELY!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 189, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1627, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1664, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 204, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 677, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 964, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 714, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/surepetcare/lock.py", line 88, in async_lock
await self.coordinator.lock_states_callbacksself._lock_state
File "/usr/local/lib/python3.9/site-packages/surepy/client.py", line 343, in lock_in
return await self._set_lock_state(device_id, LockState.LOCKED_IN)
File "/usr/local/lib/python3.9/site-packages/surepy/client.py", line 373, in _set_lock_state
raise SurePetcareError("ERROR (UN)LOCKING DEVICE - PLEASE CHECK IMMEDIATELY!")
surepy.exceptions.SurePetcareError: ERROR (UN)LOCKING DEVICE - PLEASE CHECK IMMEDIATELY!
I'm a relative beginner here so I have no idea where to start with debugging. If anyone could talk me through the next steps then I'd really appreciate it.
Many thanks.
Hi,
thanks for the job.
Because i cant find petcare in HACS, i past files.
but the good syntax in configuration.yaml is:
petcare:
mail: [email protected]
password: 'pswd'
This make error:
petcare:
username: [email protected]
password: 'pswd'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.