hasscc / catlink Goto Github PK
View Code? Open in Web Editor NEW🐈️ Catlink scooper component for HomeAssistant
License: Apache License 2.0
🐈️ Catlink scooper component for HomeAssistant
License: Apache License 2.0
Hi there
first of all many thanks for this nice piece of software. I tried to install the add-on via the following steps:
Could you please help in order to install the add-on? I also use xiaomi-miot (https://github.com/al-one/hass-xiaomi-miot) does it also recognize the Catlink Scooper Luxury Pro? I have an account with the Catlink app.
Home Assistant 2023.1.5
Supervisor 2022.12.1
Operating System 9.4
all the best
Andrew
(MainThread) [custom_components.catlink] Got devices for XXXXX failed: {'returnCode': 0, 'toast': False, 'msg': None, 'data': {'devices': []},
在台灣網路要連中國版本機器的可以嗎
Hi there
first of all many thanks for this niece piece of software. I have a Catlink Scooper Luxury Pro-X in use since around 1 year. Since around 1 month I noticed that it doesnt get updates from this integration on a regular basis (like every 10 minutes). I havent changed the username or password nor any network-settings. I restarted HA and the scooper several times with no impact.
In the log I found the below message.
Logger: custom_components.catlink
Quelle: custom_components/catlink/init.py:601
Integration: CatLink (Dokumentation, Probleme)
Erstmals aufgetreten: 31. Juli 2024 um 00:00:01 (35 Vorkommnisse)
Zuletzt protokolliert: 31. Juli 2024 um 02:50:39
Got device logs for Scooper failed: {'returnCode': 0, 'toast': False, 'msg': None, 'data': {'scooperLogTop5': []}, 'timestamp': '1722385836232', 'success': True}
Got device logs for Scooper failed: {'returnCode': 0, 'toast': False, 'msg': None, 'data': {'scooperLogTop5': []}, 'timestamp': '1722386137048', 'success': True}
Got device logs for Scooper failed: {'returnCode': 0, 'toast': False, 'msg': None, 'data': {'scooperLogTop5': []}, 'timestamp': '1722386437937', 'success': True}
Got device logs for Scooper failed: {'returnCode': 0, 'toast': False, 'msg': None, 'data': {'scooperLogTop5': []}, 'timestamp': '1722386738899', 'success': True}
Got device logs for Scooper failed: {'returnCode': 0, 'toast': False, 'msg': None, 'data': {'scooperLogTop5': []}, 'timestamp': '1722387039871', 'success': True}
environment
Core 2024.7.4
Supervisor 2024.06.2
Operating System 12.4
Frontend 20240710.0
Could you please assist, do other users face the same issue?
Kind regards,
Andrew
Got device detail for One-Standard failed: {'returnCode': 4003, 'toast': False, 'msg': '未找到该设备', 'data': {}, 'timestamp': '1689702875131', 'success': False}
I have a Catlink Scooper Luxury Pro CL-06 model that reports different for the error entity
Catlink Scooper Luxury Pro CL-06
2022-12-24 19:44:13.040 INFO (MainThread) [custom_components.catlink] Update device data: {'id': '190254', 'deviceType': 'SCOOPER', 'deviceName': 'Scooper-Luxury Pro', 'mac': '349454646772', 'model': 'MODEL_03', 'timezoneId': 'Europe/Sarajevo', 'netTime': 1671638993000, 'defaultStatus': True, 'defaultVoice': False, 'currentErrorMessage': '80% 33℃ 31RH%', 'sort': 0, 'allSort': 0, 'owner': False, 'macRecordTime': None, 'createTime': 1671638993000, 'ownerName': None}
Has anyone managed to find an api_base that reads out the Scooper's status in English instead of Chinese?
Is it just a matter of finding an outside API server to China? I have experimented with .com instead of .cn but no use.
一直返回
Request: /token/device/union/list/sorted
{'returnCode': 1000, 'toast': False, 'msg': '设备不在线或其他异常', 'data': {}, 'timestamp': 1656923378237, 'success': False}
请求是
service: catlink.request_api
data:
api: /token/device/union/list/sorted
params:
key: val
method: GET
throw: true
target:
entity_id: sensor.cat_scooper_last_log
可否添加喂食器支持?可以共享设备!感谢大佬!
Hi,
I create account "733382471"
config.yaml
catlink:
# Single account
phone: my phone # Username of Catlink APP
password: my passord # Password
phone_iac: 48 # Optional, International access code, default is 86 (China) hire I setup 48 like my phone ?
# api_base: # Optional, default is China server: https://app.catlinks.cn/api/ don't know how setup to Poland?
# scan_interval: # Optional, default is 00:01:00
Got this error don't know more what I can do?
ot devices for 733382471 failed: {'returnCode': 1000, 'toast': False, 'msg': '设备不在线或其他异常', 'data': {}, 'timestamp': 1647633619514, 'success': False}
that Chinese 'msg' Device is offline or otherwise abnormal
but when log to an account device is online and work fine
I got a new litter with type "SCOOPER SE--Standard" of catlink,conncet it with wifi, and update the lastest version in HA.
After about 3-5mins I get entities like SCOOPER SE--Standard error/action/mode/state in HA, and id is "select.litter_box_599_xxxx_action" type ,that seems ok but state is null/unknown.
And I checked the log and statement info in my app ,the info of state and other were updated correctly, and updated the firmware of New litter , and litter restarted after that.
But until about 5 hours ,the entities of New litter (SE) wasn't refresh ,keep in null , and there're other right info in HA of Other catlink litter at same time (in same catlink account),like log and state .
I tried reboot HA twick (beofre /after updated firmware )and checked the pw/usr info in config yaml file , didn't find any issue ,and other litter info keeping refresh correclty.
Did anyone encounter this issue or solved some like that? Thanks.
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.