Open Vicente-Ch opened 3 days ago
Hi,
Thanks for the error log - I don't read Spanish but Google Translate helped :)
FYI, there are a number of other components that seem to be causing noise in your logs.
Regards, Whytey
English (translation by google): Brilliant. Fixing this would be great. Sorry for the Spanish words.
I am also trying with "Localtuya" I am able to create the sensors and observe the state of the robot. But I am not able to create the "vacuum" entity and have it work. DPS 115 doesn't seem to work, instead 116 appears but I can't either.
I have also tried to read the logs with Nodered but I get some indelible codes. Changing 'Rain mode' switch in smartlife app but the codes are not repeated either.
pressing injet:
If you need any other information. We could even do remote desktop, Anydesk
Español: Genial. Solucionar esto seria genial. Lo siento por las palabras en español. Tambien lo estoy intentando con "Localtuya" consigo crear los sensores y observar el estado del robot. Pero no soy capaz de crear la entidad "vacuum" y que funcione. El DPS 115 no parece funcionar, a cambio aparece la 116 pero tampoco consigo. Tambien he intentado leer los logs con Nodered pero obtengo unos codigos indelebles.
Si necesita algun otro dato. Incluso podriamos hacer escritorio remoto, Anydesk
English:
Español:
Hola. Parece que esta integracion se adapta a mi cortacesped. Robot lawn mower PMRDA 20-Li A1 comprado en cadena supermercados LIDL. Pero arroja algunos errores. Al principio todo parece funcionar. al darle a "play" el estado cambia a "cleaning" pero cuando pulso "pause" "stop"... ya no reacciona ni siquiera el estado cambia.
Esto es lo que muestra el debuj de la integracion, he borrado algunas cosas que parece estar relacionadas:
2024-06-29 13:45:00.854 WARNING (ImportExecutor_0) [homeassistant.const] DEVICE_CLASS_BATTERY was used from moebot, this is a deprecated constant which will be removed in HA Core 2025.1. Use SensorDeviceClass.BATTERY instead, please report it to the author of the 'moebot' custom integration 2024-06-29 13:45:06.394 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module inside the event loop by custom integration 'edata' at custom_components/edata/coordinator.py, line 170: self._datadis.process_data() (offender: /usr/local/lib/python3.12/site-packages/dateparser/languages/loader.py, line 215: import_module("dateparser.data.date_translation_data." + lang),), please create a bug report at https://github.com/uvejota/homeassistant-edata/issues Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/edata/sensor.py", line 166, in async_setup_entry
coordinator = EdataCoordinator(
File "/config/custom_components/edata/coordinator.py", line 98, in init
self._load_data(preprocess=True)
File "/config/custom_components/edata/coordinator.py", line 170, in _load_data
self._datadis.process_data()
2024-06-29 13:45:06.446 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'edata' accesses hass.components.websocket_api. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from websocket_api directly at custom_components/edata/websockets.py, line 68: hass.components.websocket_api.async_register_command(, please create a bug report at https://github.com/uvejota/homeassistant-edata/issues 2024-06-29 13:45:06.619 WARNING (MainThread) [homeassistant.helpers.service] Referenced entities switch.freeds_pwm_aut_man are missing or not currently available 2024-06-29 13:45:06.619 WARNING (MainThread) [homeassistant.helpers.service] Referenced entities switch.freeds_pwm_aut_man are missing or not currently available 2024-06-29 13:45:07.907 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'hacs' accesses hass.helpers.event. This is deprecated and will stop working in Home Assistant 2024.11, it should be updated to import functions used from event directly at custom_components/hacs/base.py, line 630: self.hass.helpers.event.async_track_time_interval(, please create a bug report at https://github.com/hacs/integration/issues 2024-06-29 13:45:19.976 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open inside the event loop by custom integration 'edata' at custom_components/edata/coordinator.py, line 149: with open( (offender: /config/custom_components/edata/coordinator.py, line 149: with open(), please create a bug report at https://github.com/uvejota/homeassistant-edata/issues Traceback (most recent call last): File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/usr/src/homeassistant/homeassistant/main.py", line 223, in
sys.exit(main())
File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main
exit_code = runner.run(runtime_conf)
File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run
return loop.run_until_complete(setup_and_run_hass(runtime_config))
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete
self.run_forever()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever
self._run_once()
File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once
handle._run()
File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/edata/sensor.py", line 181, in async_first_refresh
await coordinator.async_refresh()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 288, in async_refresh
await self._async_refresh(log_failures=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 312, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/edata/coordinator.py", line 149, in _async_update_data
with open(
2024-06-29 13:46:39.245 ERROR (SyncWorker_13) [pymoebot] Error from device: None 2024-06-29 13:47:10.054 ERROR (SyncWorker_11) [pymoebot] Error from device: {'Error': 'Unexpected Payload from Device', 'Err': '904', 'Payload': None} 2024-06-29 13:47:14.989 ERROR (SyncWorker_22) [pymoebot] Error from device: None 2024-06-29 13:49:44.890 ERROR (SyncWorker_23) [pymoebot] Error from device: None 2024-06-29 14:00:01.257 WARNING (MainThread) [custom_components.localtuya.switch] [bf0...baz] Entity switch.depuradora_lt is requesting unknown DPS index 18 2024-06-29 14:00:01.257 WARNING (MainThread) [custom_components.localtuya.switch] [bf0...baz] Entity switch.depuradora_lt is requesting unknown DPS index 19 2024-06-29 14:00:01.258 ERROR (MainThread) [homeassistant] Error doing job: Exception in callback Entity._async_write_ha_state_from_call_soon_threadsafe() (None) Traceback (most recent call last): File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 992, in _async_write_ha_state_from_call_soon_threadsafe self._async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1126, in _async_write_ha_state state, attr, capabilities, shadowed_attr = self.async_calculate_state() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1065, in async_calculate_state if extra_state_attributes := self.extra_state_attributes: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/localtuya/switch.py", line 65, in extra_state_attributes self.dps(self._config[CONF_CURRENT_CONSUMPTION]) / 10