-
Notifications
You must be signed in to change notification settings - Fork 42
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
Sensors (wind, light) are recognized as "off" #223
Comments
Hi @reeeeevls. So after a restart the wind sensor seems to be working for about 10 minutes and after that it shows a constant wind speed of 4.32? Are there any errors in the log at the time the constant speed starts? |
The official free@home app has also a monitor function for the different messages. Do you see the same behavior of the wind speed in this app? |
I have the same problem, but it's not new; it's been there for me from the beginning. So I didn't think about it any further. So it's not because of 2025.1, at least not for me. |
I noticed a phenomenon. If the wind sensor has not been updated in HA for a long time and I open the F@H app, the wind sensor is immediately updated in HA. This then lasts for a few minutes before it gets stuck again. |
So it looks like the wind sensor, and maybe the other sensors put out some data, get into a sleep mode and are waked by the free@home app. If you use the status updates of the freeathome integration and monitor the messages while activating the free@home app, maybe we can find the wake message. |
@jheling |
The same problem |
Is the Log from domi8671 enough? Or do you need more data? |
I think it is enough. I have found two messages that look interesting. They seem to be targeted at two different SysAP communication interfaces. Maybe you can check if you get the same messages while waking up the sensors.
|
Where do you fetch these messages? In the debug protocoll? |
you can record the updates as described here: I set the duration to 20. |
Thank you @reeeeevls . Your dump show the same messages. I almost had a solution when I realized that the messages we have captured now are a result of a command that is send on the free@home bus. Unfortunately this command is not captured by the Monitoring of the status updates. So I had to think about something new for finding this specific command. My proposal is turning on the debugging level of the slixmpp library which handles the communication with free@home.
This will mean that the home-assistant.log will grow much bigger. If have also made a change to the Monitoring of the status updates. Now it is also showing a timestamp in the file, see pr #224. This makes finding the right message in the home assistant log much easier. So the test would now be
|
So I have to add "logger: default: info logs: custom_components.freeathome: info slixmpp: debug" to the configuration.yaml, correct? |
I see I have mangled the layout for the configuration.yaml. I have updated the previous message with the right layout. The indents in the configuration.yaml are each 2 spaces. The line with the 'custom_components.freeathome' is not necessary. |
Okay, I have the logfile. It is about 2 mb. Is it safe to post the complete file here? |
You can send it to helingj at Google Mail. |
Hey there,
since 2025.1 the F&B integration does not update the sensor values for wind / light. For every change of the values I have to reload the integration. In the integration itself the sensors are shown as off. In the common B&J app the sensors are working.
free@home configuration:
https://paste.ubuntu.com/p/dZhcC5ZkFr/
free@home status updates
https://paste.ubuntu.com/p/KsXMCmKdTB/
Debugging:
2025-01-21 19:01:20.668 WARNING (MainThread) [custom_components.freeathome.fah.pfreeathome] Connection with SysAP lost
2025-01-21 19:01:24.006 ERROR (Recorder) [homeassistant] Error doing job: Task was destroyed but it is pending! (<Task pending name='Task-3520' coro=<XMLStream.run_filters() running at /usr/local/lib/python3.13/site-packages/slixmpp/xmlstream/xmlstream.py:1262> wait_for=>)
2025-01-21 19:20:13.891 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0001 = 1
2025-01-21 19:20:14.835 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0003 = 1.55
2025-01-21 19:20:14.836 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] FahSensor Windsensor (Kind 2)_windstrength: received datapoint 7EB100002E14/ch0003/odp0003 = 1.55
2025-01-21 19:20:14.836 INFO (MainThread) [custom_components.freeathome.fah.devices.fah_sensor] sensor Windsensor (Kind 2)_windstrength (7EB100002E14/ch0003) dp odp0003 state 1.55
2025-01-21 19:20:32.264 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0001 = 0
2025-01-21 19:20:32.264 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0003 = 0
2025-01-21 19:20:32.264 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] FahSensor Windsensor (Kind 2)_windstrength: received datapoint 7EB100002E14/ch0003/odp0003 = 0
2025-01-21 19:20:32.265 INFO (MainThread) [custom_components.freeathome.fah.devices.fah_sensor] sensor Windsensor (Kind 2)_windstrength (7EB100002E14/ch0003) dp odp0003 state 0
2025-01-21 19:20:42.719 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0001 = 1
2025-01-21 19:20:43.763 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0003 = 1.26
2025-01-21 19:20:43.764 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] FahSensor Windsensor (Kind 2)_windstrength: received datapoint 7EB100002E14/ch0003/odp0003 = 1.26
2025-01-21 19:20:43.764 INFO (MainThread) [custom_components.freeathome.fah.devices.fah_sensor] sensor Windsensor (Kind 2)_windstrength (7EB100002E14/ch0003) dp odp0003 state 1.26
2025-01-21 19:20:54.036 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0001/odp0000 = 1
2025-01-21 19:20:54.036 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] FahSensor Regensensor (Kind 2)_rain: received datapoint 7EB100002E14/ch0001/odp0000 = 1
2025-01-21 19:20:54.036 INFO (MainThread) [custom_components.freeathome.fah.devices.fah_sensor] sensor Regensensor (Kind 2)_rain (7EB100002E14/ch0001) dp odp0000 state 1
2025-01-21 19:21:01.777 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0001 = 2
2025-01-21 19:21:02.784 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0003 = 1.67
2025-01-21 19:21:02.784 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] FahSensor Windsensor (Kind 2)_windstrength: received datapoint 7EB100002E14/ch0003/odp0003 = 1.67
2025-01-21 19:21:02.785 INFO (MainThread) [custom_components.freeathome.fah.devices.fah_sensor] sensor Windsensor (Kind 2)_windstrength (7EB100002E14/ch0003) dp odp0003 state 1.67
2025-01-21 19:21:17.775 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0001 = 1
2025-01-21 19:21:17.775 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0003 = 1.58
2025-01-21 19:21:17.776 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] FahSensor Windsensor (Kind 2)_windstrength: received datapoint 7EB100002E14/ch0003/odp0003 = 1.58
2025-01-21 19:21:17.776 INFO (MainThread) [custom_components.freeathome.fah.devices.fah_sensor] sensor Windsensor (Kind 2)_windstrength (7EB100002E14/ch0003) dp odp0003 state 1.58
2025-01-21 19:21:25.580 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0001 = 2
2025-01-21 19:21:26.625 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0003 = 1.62
2025-01-21 19:21:26.626 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] FahSensor Windsensor (Kind 2)_windstrength: received datapoint 7EB100002E14/ch0003/odp0003 = 1.62
2025-01-21 19:21:26.626 INFO (MainThread) [custom_components.freeathome.fah.devices.fah_sensor] sensor Windsensor (Kind 2)_windstrength (7EB100002E14/ch0003) dp odp0003 state 1.62
2025-01-21 19:21:34.428 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0001 = 1
2025-01-21 19:21:35.374 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0003 = 1.59
2025-01-21 19:21:35.374 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] FahSensor Windsensor (Kind 2)_windstrength: received datapoint 7EB100002E14/ch0003/odp0003 = 1.59
2025-01-21 19:21:35.374 INFO (MainThread) [custom_components.freeathome.fah.devices.fah_sensor] sensor Windsensor (Kind 2)_windstrength (7EB100002E14/ch0003) dp odp0003 state 1.59
2025-01-21 19:21:38.045 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0001 = 2
2025-01-21 19:21:39.093 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0003 = 1.6
2025-01-21 19:21:39.093 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] FahSensor Windsensor (Kind 2)_windstrength: received datapoint 7EB100002E14/ch0003/odp0003 = 1.6
2025-01-21 19:21:39.093 INFO (MainThread) [custom_components.freeathome.fah.devices.fah_sensor] sensor Windsensor (Kind 2)_windstrength (7EB100002E14/ch0003) dp odp0003 state 1.6
2025-01-21 19:21:41.308 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0001 = 1
2025-01-21 19:21:42.262 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0003 = 1.59
2025-01-21 19:21:42.262 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] FahSensor Windsensor (Kind 2)_windstrength: received datapoint 7EB100002E14/ch0003/odp0003 = 1.59
2025-01-21 19:21:42.263 INFO (MainThread) [custom_components.freeathome.fah.devices.fah_sensor] sensor Windsensor (Kind 2)_windstrength (7EB100002E14/ch0003) dp odp0003 state 1.59
2025-01-21 19:21:49.405 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0001 = 2
2025-01-21 19:21:50.355 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0003 = 1.62
2025-01-21 19:21:50.356 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] FahSensor Windsensor (Kind 2)_windstrength: received datapoint 7EB100002E14/ch0003/odp0003 = 1.62
2025-01-21 19:21:50.356 INFO (MainThread) [custom_components.freeathome.fah.devices.fah_sensor] sensor Windsensor (Kind 2)_windstrength (7EB100002E14/ch0003) dp odp0003 state 1.62
2025-01-21 19:21:53.851 ERROR (MainThread) [homeassistant.helpers.script.websocket_api_script] websocket_api script: Error executing script. Invalid data for call_service at pos 1: must contain at least one of entity_id, device_id, area_id, floor_id, label_id.
2025-01-21 19:21:53.852 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [546932142240] Error handling message: must contain at least one of entity_id, device_id, area_id, floor_id, label_id.. Got {'type': 'execute_script', 'sequence': [{'action': 'alarm_control_panel.alarm_arm_away', 'target': {}, 'data': {}}], 'id': 783} (invalid_format) XXX from 192.168.178.20 (Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0)
2025-01-21 19:22:01.549 DEBUG (MainThread) [custom_components.freeathome.fah.pfreeathome] received datapoint 7EB100002E14/ch0003/odp0001 = 0
2025-01-21 19:22:02.025 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to open with args ('/config/freeathome_dump_192.168.178.32_2025_01_21_19_22_01.xml', 'wt') inside the event loop by custom integration 'freeathome' at custom_components/freeathome/init.py, line 94: with open(hass.config.path(filename), "wt") as f: (offender: /config/custom_components/freeathome/init.py, line 94: with open(hass.config.path(filename), "wt") as f:), please report it to the author of the 'freeathome' custom integration
Any ideas?
The text was updated successfully, but these errors were encountered: