I ordered the cat flap dualscan connect (other vendors sold the cat flap connect only), but from what I see the dualscan is implicit on the connect model
Same here. Stopped working after the update to .94.
Error:
Error loading custom_components.sure_petflap. Make sure all dependencies are installed
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 263, in _load_file
module = importlib.import_module(path)
File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/config/custom_components/sure_petflap/__init__.py", line 11, in <module>
import utils as utils
ModuleNotFoundError: No module named 'utils'
I don’t know if this ever will be merged and I am quite sure it will not until august. In the meantime you can copy the components/surepetcare folder from the PR to your custom_components/ and use it this way
I’m thinking of trying out your component, but where do I find the “household ID”?
I have found Flap ID and Pets ID(s)…
Update:
Ah, found it… Had to dig in the “console” (development tools) on the SurePet site.
I’m not sure where to look. But what “sensors” and “binary’s” do I get with your component?
Is there a list somewhere?
Update:
Here is what I got…
binary_sensor.flap_laundery_flap = off
battery_voltage: 1.2918749999999999
locking_mode: 4
device_rssi: -53.142857142857146
hub_rssi: -54.5
mac_address: XxXxXxXxXxXxX
version: MzIx
friendly_name: Flap Laundery
icon: mdi:lock
device_class: lock
sensor.flap_laundery_flap_battery_level = 11
voltage: 5.17 V
voltage_per_battery: 1.29 V
unit_of_measurement: %
friendly_name: Flap Laundery Battery Level
However, it’s not updating the status correctly (at all?), the status is not correct…
And the flap I have are usually in “Curfew mode” (open and closed on specified times), that does not show…
Visit https://surepetcare.io while your browsers dev/js console is open. The household ID will be visible there multiple times, searching for “household” gets you to your ID
The component is working, I get all the sensors. But its not updating.
My cat is inside, the component shows inside, when she goes out, it doesnt update. Waited like 45 minutes. If i restart home assistant ,then its updated. So it seems like the component only fetches the status upon restart. But not after that.
you are using hass.io right? I will check this, but dont expect an solution today… I stripped many lines of code from this component this weekend, maybe also one which I shouldnt…
Besides that… The scan_interval defaults to 3 minutes as Sure Petcare explicitly does not like/want that their API is used this way. I have talk to them a few times and it was really disappointing… So, you can change the update interval via the scan_interval config option, but please be aware that nobody knows what will happen if you pull to often…
Okey, it might have to do something with hass.io then? I will remove the scan_interval from my config and wait until you have a fix =). I guess you didn’t test it with hass.io?
I talked to their tech support, to add more requests for a supported API, and they mentioned that the communication between the door and the hub is via bluetooth. I don’t have my door yet (the cat door connect + hub bundle is backordered on amazon) and I’m also pretty lousy with reverse engineering bluetooth protocols (tried for a few hours with a bluetooth radon detector). But maybe knowing that it’s bluetooth will inspire someone else to investigate? Would be sweet to have a way to interact with the door that doesn’t require a trip out to the internet.