Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

f@h reacts slowly or not at all #209

Open
jws75 opened this issue Dec 7, 2024 · 6 comments
Open

f@h reacts slowly or not at all #209

jws75 opened this issue Dec 7, 2024 · 6 comments

Comments

@jws75
Copy link

jws75 commented Dec 7, 2024

Hello, I updated my f@h access point to firmware version 3.4.1- 13444.
Since then I have had this problem:
When I want to switch f@h components in Homeassistant or use states of f@h devices as triggers for automations, they work with a time delay or not at all.
Does anyone know this?

@jheling
Copy link
Owner

jheling commented Dec 8, 2024

I am still on an old version of the firmware as i have a version 1 of the sysap.
Maybe the new version of the integration has some issues with this integration.
Does the log of Home Assistant show any FreeAtHome errors?

@jws75
Copy link
Author

jws75 commented Dec 8, 2024

Hmm, I've never used the HA logs. I'll have to look to see if I can find anything. Where can I find them?

@jheling
Copy link
Owner

jheling commented Dec 9, 2024

You can find it under Settings, System, Logs. First the condensed log is shown. In the upper right corner of the screen there are three dots. Here you can select the raw logs. There is also an option to download the logs.
Maybe is its better to restart your system first before looking at the logs. Otherwise these logs can become very big. You can restart with Settings, System and then the button in the upper right corner.

@jws75
Copy link
Author

jws75 commented Dec 10, 2024

Okay, thanks, I'll take a look.
But in the meantime I think it's more likely that it's because of f@h, because it's also slow from Alexa, for example.

@BBNifu
Copy link

BBNifu commented Dec 12, 2024

Just wanted to let you know I have the same issue. Completely fresh install of HomeAssistant with this plugin being the only one used.
SysAP Version: v3.4.0-92 [Build 349188]

Symptoms: I could control the lights and blinds after deploying the plugin. A few minutes later, I cannot do so anymore. Weirdly enough, I can control my switchable outlets just fine but when I try to control ceiling lights or blinds, nothing happens. After a few minutes I get this error:

[140324597727728] Unexpected exception [140324604764528] Unexpected exception [140324604761648] Unexpected exception [140324604767408] Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<7 lines>... ) ^ File "/usr/src/homeassistant/homeassistant/core.py", line 2802, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2845, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1007, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ hass, entity, func, data, call.context ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1079, in _handle_entity_call result = await task ^^^^^^^^^^ File "/config/custom_components/freeathome/switch.py", line 72, in async_turn_on await self.switch_device.turn_on() File "/config/custom_components/freeathome/fah/devices/fah_switch.py", line 33, in turn_on await self.client.set_datapoint(self.serialnumber, self.channel_id, self._datapoints[PID_SWITCH_ON_OFF], '1') File "/config/custom_components/freeathome/fah/pfreeathome.py", line 344, in set_datapoint await self.send_rpc_iq('RemoteInterface.setDatapoint', name, command, callback=self.rpc_callback) slixmpp.exceptions.IqTimeout: <iq id="04a1482639b74cbbb29013f4090d8393" type="set" to="mrha@busch-jaeger.de/rpc" from="14b7e633-eba5-44cf-b6e9-c14226c8b4be@busch-jaeger.de/4a692e28"><query xmlns="jabber:iq:rpc"><methodCall><methodName>RemoteInterface.setDatapoint</methodName><params><param><value><string>ABB241A34051/ch0001/idp0000</string></value></param><param><value><string>1</string></value></param></params></methodCall></query></iq>

@henning89
Copy link

I have similar issues now as well. free@home SysAP 1.0 with firmware 3.4.1 and Home Assistant 2025.01.
Same issues before with free@home firmware 3.4.0 and Home Assistant 2024.12

Some error log below if it helps:

[31m2025-01-05 18:20:45.057 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140069270952048] Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<7 lines>... ) ^ File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ hass, entity, func, data, call.context ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call result = await task ^^^^^^^^^^ File "/config/custom_components/freeathome/cover.py", line 168, in async_set_cover_position await self.cover_device.set_cover_position(position) File "/config/custom_components/freeathome/fah/devices/fah_cover.py", line 114, in set_cover_position await self.client.set_datapoint(self.serialnumber, self.channel_id, dp, str(abs(100 - position))) File "/config/custom_components/freeathome/fah/pfreeathome.py", line 344, in set_datapoint await self.send_rpc_iq('RemoteInterface.setDatapoint', name, command, callback=self.rpc_callback) slixmpp.exceptions.IqTimeout: <iq id="ca78d6c6d509436482d18dc5eb8d6dcb" type="set" to="mrha@busch-jaeger.de/rpc" from="installer@busch-jaeger.de/f4b38900"><query xmlns="jabber:iq:rpc"><methodCall><methodName>RemoteInterface.setDatapoint</methodName><params><param><value><string>ABB200A82A51/ch0000/idp0002</string></value></param><param><value><string>100</string></value></param></params></methodCall></query></iq>�[0m �[31m2025-01-05 18:20:47.378 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140069270952048] Unexpected exception Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 245, in handle_call_service response = await hass.services.async_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<7 lines>... ) ^ File "/usr/src/homeassistant/homeassistant/core.py", line 2795, in async_call response_data = await coro ^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/core.py", line 2838, in _execute_service return await target(service_call) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1006, in entity_service_call single_response = await _handle_entity_call( ^^^^^^^^^^^^^^^^^^^^^^^^^^ hass, entity, func, data, call.context ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 1078, in _handle_entity_call result = await task ^^^^^^^^^^ File "/config/custom_components/freeathome/cover.py", line 168, in async_set_cover_position await self.cover_device.set_cover_position(position) File "/config/custom_components/freeathome/fah/devices/fah_cover.py", line 114, in set_cover_position await self.client.set_datapoint(self.serialnumber, self.channel_id, dp, str(abs(100 - position))) File "/config/custom_components/freeathome/fah/pfreeathome.py", line 344, in set_datapoint await self.send_rpc_iq('RemoteInterface.setDatapoint', name, command, callback=self.rpc_callback) slixmpp.exceptions.IqTimeout: <iq id="22407e40fe6846f08490d71133d3db8c" type="set" to="mrha@busch-jaeger.de/rpc" from="installer@busch-jaeger.de/f4b38900"><query xmlns="jabber:iq:rpc"><methodCall><methodName>RemoteInterface.setDatapoint</methodName><params><param><value><string>ABB200A82A51/ch0001/idp0002</string></value></param><param><value><string>100</string></value></param></params></methodCall></query></iq>�[0m �[36m2025-01-05 18:20:50.162 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint ABB700DC54E7/ch0000/odp0001 = 0�[0m

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants