Closed gaspuas closed 1 month ago
I need the log from THIS integration, not localtuya. The latter is not logging the details that I need.
My bad
2024-10-22 09:14:52.060 DEBUG (MainThread) [custom_components.tuya_local.config_flow] Device count: 12 2024-10-22 09:14:52.062 DEBUG (MainThread) [custom_components.tuya_local.config_flow] Hub count: 3 2024-10-22 09:14:58.227 DEBUG (MainThread) [custom_components.tuya_local.config_flow] Scanning network to get IP address for eb8ecbff48918d23ccect2. 2024-10-22 09:15:01.450 DEBUG (MainThread) [custom_components.tuya_local.config_flow] Found: {'ip': '192.168.68.103', 'version': '3.3', 'id': 'eb8ecbff48918d23ccect2', 'product_id': 'xlsmy6egamnjlaga', 'data': {'ip': '192.168.68.103', 'gwId': 'eb8ecbff48918d23ccect2', 'active': 2, 'encrypt': True, 'productKey': 'xlsmy6egamnjlaga', 'version': '3.3', 'token': True, 'name': '', 'key': '', 'mac': '', 'id': 'eb8ecbff48918d23ccect2', 'ability': 0, 'wf_cfg': '', 'dev_type': 'default', 'origin': 'broadcast'}} 2024-10-22 09:15:03.962 DEBUG (MainThread) [custom_components.tuya_local.device] Refreshing device state for Test 2024-10-22 09:15:03.962 INFO (MainThread) [custom_components.tuya_local.device] Setting protocol version for Test to 3.3 2024-10-22 09:15:09.010 DEBUG (SyncWorker_16) [custom_components.tuya_local.device] Test refreshed device state: null 2024-10-22 09:15:09.012 DEBUG (MainThread) [custom_components.tuya_local.device] Retrying after exception <class 'TypeError'> argument of type 'NoneType' is not iterable (0/3) 2024-10-22 09:15:09.013 INFO (MainThread) [custom_components.tuya_local.device] Setting protocol version for Test to 3.3 2024-10-22 09:15:14.050 DEBUG (SyncWorker_12) [custom_components.tuya_local.device] Test refreshed device state: null 2024-10-22 09:15:14.052 DEBUG (MainThread) [custom_components.tuya_local.device] Retrying after exception <class 'TypeError'> argument of type 'NoneType' is not iterable (1/3) 2024-10-22 09:15:14.053 INFO (MainThread) [custom_components.tuya_local.device] Setting protocol version for Test to 3.3 2024-10-22 09:15:19.100 DEBUG (SyncWorker_17) [custom_components.tuya_local.device] Test refreshed device state: null 2024-10-22 09:15:19.102 DEBUG (MainThread) [custom_components.tuya_local.device] Retrying after exception <class 'TypeError'> argument of type 'NoneType' is not iterable (2/3) 2024-10-22 09:15:19.103 ERROR (MainThread) [custom_components.tuya_local.device] Failed to refresh device state for Test. 2024-10-22 09:15:19.103 INFO (MainThread) [custom_components.tuya_local.device] Setting protocol version for Test to 3.3
It seems this device does not return any dps locally. Meaning it cannot be supported.
tuya-local log: Test refreshed device state: null
localtuya log: Detected DPS: {}
I suspected the localtuya log might mean that, but I wasn't sure if it was logging the same thing I was expecting.
There is nothing i can do? Is it a problem only from my petfeeder? is there a way that it can show local dps? i can personally talk with the people that make this petfeeder thats not a problem
My brother has a Tuya Pet feeder and it's facing the same issue. It doesn't reveal its dps values when queried locally. The only way I've managed to get it partially working is with local tuya and manually adding in one dps value. Then using LocalTuya: Set DP Value
Action to issue commands to the various dps values such as dispensing food.
I could create a Tuya Local .yaml
file for the device but there doesn't seem to be any way to force add a Tuya device to use a .yaml
file. When I try to add it in Tuya Local I get Unable to connect to your device with those details. It could be an intermittent issue, or they may be incorrect.
Log message
DPS information
Product ID
xlsmy6egamnjlaga
Product Name
Alimentador para Mascotas Smart HD
Information about how the device functions
This pet feeder works with 1 to 10 portions of 10g. It has a camera, but it doesn’t need to function if connected without the internet. The main thing is that it fulfills the purpose of feeding.