Code Monkey home page Code Monkey logo

catlink's Issues

cant install the add-on

Hi there

first of all many thanks for this nice piece of software. I tried to install the add-on via the following steps:

  • downloaded the files on https://github.com/hasscc/catlink
  • unzipped the zip.file
  • copied the content to homeassistant/config/custom_components/catlink-main
  • restarted HA
  • tried to add the local-files via custom rep. in HACS
  • added the config to config.yaml
  • HA says it doesnt know the catlink-integration

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
Bildschirm­foto 2023-01-19 um 18 49 22
Bildschirm­foto 2023-01-19 um 18 49 44
Bildschirm­foto 2023-01-19 um 18 50 30

all the best

Andrew

無法找到設備

(MainThread) [custom_components.catlink] Got devices for XXXXX failed: {'returnCode': 0, 'toast': False, 'msg': None, 'data': {'devices': []},

在台灣網路要連中國版本機器的可以嗎

Got device logs for Scooper failed

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}

CL-06 reports temperature and humiditiy inside the error entity

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}
image

state reports in English instead of Chinese?

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 API 服务不可用

一直返回

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

Got devices for xxxx failed: 设备不在线或其他异常

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

SCOOPER SE--Standard (new type litter) can't get status of api

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.