Closed EnricoBilla closed 5 years ago
I have done exactly the same. For me the lights and scenes appear in lovelace and also in the old ui (states). The repository is updated.
Well, I deleted everything I did and cloned again this repository: nothing changed. I've still the two scenes and nothing else, am I missing something? I set the host, user and pass in the configuration file, is there anything else to do in order to make HA discover the lights? Thanks again
Can you add the following to your configuration.yaml ?:
logger:
default: info
logs:
homeassistant.components.cover: warning
homeassistant.components.lights: warning
Then look at the home-assistant.log. Do you see all the other components as info messages? Are there other error messages in the log?
I see no errors
2019-03-07 20:28:28 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2019-03-07 20:28:28 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2019-03-07 20:28:28 INFO (MainThread) [homeassistant.setup] Setting up script
2019-03-07 20:28:28 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds.
2019-03-07 20:28:28 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-03-07 20:28:28 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-03-07 20:28:28 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.nmap_tracker
2019-03-07 20:28:28 INFO (MSyncWorker_2) [homeassistant.components.device_tracker.nmap_tracker] Scanner initialized
2019-03-07 20:28:28 INFO (MSyncWorker_17) [homeassistant.components.device_tracker.nmap_tracker] Scanning..
2019-03-07 20:28:28 INFO (MainThread) [slixmpp.features.feature_bind.bind] JID set to: 389ee221-100a-4892-b80a-0cab9b882cd8@busch-jaeger.de/f9a87608-fac0-403f-86a2-c384f50c32cb
2019-03-07 20:28:28 INFO (MainThread) [custom_components.pfreeathome] send presence
2019-03-07 20:28:28 INFO (MainThread) [custom_components.pfreeathome] get roster
2019-03-07 20:28:28 INFO (MainThread) [custom_components.pfreeathome] Roster callback
2019-03-07 20:28:28 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.9 seconds.
2019-03-07 20:28:29 INFO (MainThread) [homeassistant.loader] Loaded owntracks.device_tracker from homeassistant.components.owntracks.device_tracker
2019-03-07 20:28:29 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.owntracks
2019-03-07 20:28:29 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 1.8 seconds.
2019-03-07 20:28:29 INFO (MainThread) [homeassistant.loader] Loaded transmission.sensor from homeassistant.components.transmission.sensor
2019-03-07 20:28:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.transmission
2019-03-07 20:28:29 INFO (MainThread) [homeassistant.setup] Setup of domain weather took 2.7 seconds.
2019-03-07 20:28:30 INFO (MainThread) [custom_components.pfreeathome] scene FFFF00000001/ch0000 Base profile
2019-03-07 20:28:30 INFO (MainThread) [custom_components.pfreeathome] scene FFFF00000004/ch0000 General off
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setup of domain freeathome took 4.1 seconds.
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded light from homeassistant.components.light
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded scene from homeassistant.components.scene
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setting up scene
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.0 seconds.
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded cover from homeassistant.components.cover
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds.
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setting up light
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded freeathome.scene from custom_components.freeathome.scene
2019-03-07 20:28:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for freeathome.scene which has not been tested by Home Assistant. This component m$
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.components.scene] Setting up scene.freeathome
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setting up cover
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setup of domain cover took 0.0 seconds.
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded freeathome.binary_sensor from custom_components.freeathome.binary_sensor
2019-03-07 20:28:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for freeathome.binary_sensor which has not been tested by Home Assistant. This com$
2019-03-07 20:28:30 INFO (MainThread) [custom_components.freeathome.scene] FreeAtHome setup scenes
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setup of domain light took 0.0 seconds.
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded freeathome.cover from custom_components.freeathome.cover
2019-03-07 20:28:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for freeathome.cover which has not been tested by Home Assistant. This component m$
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.freeathome
2019-03-07 20:28:30 INFO (MainThread) [custom_components.freeathome.cover] FreeAtHome setup cover
2019-03-07 20:28:30 INFO (MainThread) [custom_components.freeathome.binary_sensor] FreeAtHome setup binary sensor
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded freeathome.light from custom_components.freeathome.light
2019-03-07 20:28:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for freeathome.light which has not been tested by Home Assistant. This component m$
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.components.light] Setting up light.freeathome
2019-03-07 20:28:30 INFO (MainThread) [custom_components.freeathome.light] FreeAtHome setup light
2019-03-07 20:28:50 INFO (MSyncWorker_17) [homeassistant.components.device_tracker.nmap_tracker] nmap scan successful
2019-03-07 20:28:50 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 30.23s
2019-03-07 20:28:50 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2019-03-07 20:28:50 INFO (MainThread) [homeassistant.components.discovery] Found new service: hassio {}
2019-03-07 20:28:50 INFO (MainThread) [homeassistant.core] Timer:starting
2019-03-07 20:28:50 INFO (MainThread) [homeassistant.loader] Loaded hassio from homeassistant.components.hassio
2019-03-07 20:28:51 INFO (MainThread) [homeassistant.setup] Setting up hassio
2019-03-07 20:28:51 INFO (MSyncWorker_11) [homeassistant.components.device_tracker.nmap_tracker] Scanning...
2019-03-07 20:28:51 INFO (MainThread) [homeassistant.loader] Loaded panel_custom from homeassistant.components.panel_custom
2019-03-07 20:28:51 INFO (MainThread) [homeassistant.setup] Setup of domain hassio took 0.2 seconds.
2019-03-07 20:28:54 INFO (MainThread) [homeassistant.components.http.view] Serving /api/websocket to 127.0.0.1 (auth: False)
2019-03-07 20:28:54 INFO (MainThread) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
2019-03-07 20:28:54 INFO (MainThread) [homeassistant.loader] Loaded ios from homeassistant.components.ios
2019-03-07 20:28:54 INFO (MainThread) [homeassistant.loader] Loaded simplisafe from homeassistant.components.simplisafe
2019-03-07 20:28:54 INFO (MainThread) [homeassistant.loader] Loaded point from homeassistant.components.point
I can't understand what the problem is.
Are the lights and cover devices used in the official Free@home app? If these have not been used in the house structure, they also won't appear in Home Assistant. If I look at the logging, it seems that the FAH sysap is not returning all the device.
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virusvrij. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Op do 7 mrt. 2019 om 22:23 schreef EnricoBilla notifications@github.com:
I see no errors
2019-03-07 20:28:28 INFO (MainThread) [homeassistant.setup] Setup of domain automation took 0.0 seconds.
2019-03-07 20:28:28 INFO (MainThread) [homeassistant.setup] Setting up device_tracker
2019-03-07 20:28:28 INFO (MainThread) [homeassistant.setup] Setting up script
2019-03-07 20:28:28 INFO (MainThread) [homeassistant.setup] Setup of domain script took 0.0 seconds. ������
2019-03-07 20:28:28 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-03-07 20:28:28 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-03-07 20:28:28 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.nmap_tracker
2019-03-07 20:28:28 INFO (MSyncWorker_2) [homeassistant.components.device_tracker.nmap_tracker] Scanner initialized
2019-03-07 20:28:28 INFO (MSyncWorker_17) [homeassistant.components.device_tracker.nmap_tracker] Scanning..
2019-03-07 20:28:28 INFO (MainThread) [slixmpp.features.feature_bind.bind] JID set to: 389ee221-100a-4892-b80a-0cab9b882cd8@busch-jaeger.de/f9a87608-fac0-403f-86a2-c384f50c32cb
2019-03-07 20:28:28 INFO (MainThread) [custom_components.pfreeathome] send presence
2019-03-07 20:28:28 INFO (MainThread) [custom_components.pfreeathome] get roster
2019-03-07 20:28:28 INFO (MainThread) [custom_components.pfreeathome] Roster callback
2019-03-07 20:28:28 INFO (MainThread) [homeassistant.setup] Setup of domain device_tracker took 0.9 seconds. ��������
2019-03-07 20:28:29 INFO (MainThread) [homeassistant.loader] Loaded owntracks.device_tracker from homeassistant.components.owntracks.device_tracker
2019-03-07 20:28:29 INFO (MainThread) [homeassistant.components.device_tracker] Setting up device_tracker.owntracks
2019-03-07 20:28:29 INFO (MainThread) [homeassistant.setup] Setup of domain sensor took 1.8 seconds. ������
2019-03-07 20:28:29 INFO (MainThread) [homeassistant.loader] Loaded transmission.sensor from homeassistant.components.transmission.sensor
2019-03-07 20:28:29 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.transmission
2019-03-07 20:28:29 INFO (MainThread) [homeassistant.setup] Setup of domain weather took 2.7 seconds.
2019-03-07 20:28:30 INFO (MainThread) [custom_components.pfreeathome] scene FFFF00000001/ch0000 Base profile
2019-03-07 20:28:30 INFO (MainThread) [custom_components.pfreeathome] scene FFFF00000004/ch0000 General off
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setup of domain freeathome took 4.1 seconds.
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded light from homeassistant.components.light
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded scene from homeassistant.components.scene
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setting up scene
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setup of domain scene took 0.0 seconds.
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded cover from homeassistant.components.cover
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded binary_sensor from homeassistant.components.binary_sensor
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setting up binary_sensor
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setup of domain binary_sensor took 0.0 seconds.
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setting up light
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded freeathome.scene from custom_components.freeathome.scene
2019-03-07 20:28:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for freeathome.scene which has not been tested by Home Assistant. This component m$
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.components.scene] Setting up scene.freeathome
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setting up cover
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setup of domain cover took 0.0 seconds. ����
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded freeathome.binary_sensor from custom_components.freeathome.binary_sensor
2019-03-07 20:28:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for freeathome.binary_sensor which has not been tested by Home Assistant. This com$
2019-03-07 20:28:30 INFO (MainThread) [custom_components.freeathome.scene] FreeAtHome setup scenes
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.setup] Setup of domain light took 0.0 seconds.
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded freeathome.cover from custom_components.freeathome.cover
2019-03-07 20:28:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for freeathome.cover which has not been tested by Home Assistant. This component m$
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up binary_sensor.freeathome
2019-03-07 20:28:30 INFO (MainThread) [custom_components.freeathome.cover] FreeAtHome setup cover
2019-03-07 20:28:30 INFO (MainThread) [custom_components.freeathome.binary_sensor] FreeAtHome setup binary sensor
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.loader] Loaded freeathome.light from custom_components.freeathome.light
2019-03-07 20:28:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for freeathome.light which has not been tested by Home Assistant. This component m$
2019-03-07 20:28:30 INFO (MainThread) [homeassistant.components.light] Setting up light.freeathome
2019-03-07 20:28:30 INFO (MainThread) [custom_components.freeathome.light] FreeAtHome setup light
2019-03-07 20:28:50 INFO (MSyncWorker_17) [homeassistant.components.device_tracker.nmap_tracker] nmap scan successful
2019-03-07 20:28:50 INFO (MainThread) [homeassistant.bootstrap] Home Assistant initialized in 30.23s
2019-03-07 20:28:50 INFO (MainThread) [homeassistant.core] Starting Home Assistant
2019-03-07 20:28:50 INFO (MainThread) [homeassistant.components.discovery] Found new service: hassio {}
2019-03-07 20:28:50 INFO (MainThread) [homeassistant.core] Timer:starting
2019-03-07 20:28:50 INFO (MainThread) [homeassistant.loader] Loaded hassio from homeassistant.components.hassio
2019-03-07 20:28:51 INFO (MainThread) [homeassistant.setup] Setting up hassio
2019-03-07 20:28:51 INFO (MSyncWorker_11) [homeassistant.components.device_tracker.nmap_tracker] Scanning...
2019-03-07 20:28:51 INFO (MainThread) [homeassistant.loader] Loaded panel_custom from homeassistant.components.panel_custom
2019-03-07 20:28:51 INFO (MainThread) [homeassistant.setup] Setup of domain hassio took 0.2 seconds.
2019-03-07 20:28:54 INFO (MainThread) [homeassistant.components.http.view] Serving /api/websocket to 127.0.0.1 (auth: False)
2019-03-07 20:28:54 INFO (MainThread) [homeassistant.loader] Loaded persistent_notification from homeassistant.components.persistent_notification
2019-03-07 20:28:54 INFO (MainThread) [homeassistant.loader] Loaded ios from homeassistant.components.ios
2019-03-07 20:28:54 INFO (MainThread) [homeassistant.loader] Loaded simplisafe from homeassistant.components.simplisafe
2019-03-07 20:28:54 INFO (MainThread) [homeassistant.loader] Loaded point from homeassistant.components.point
I can't understand what the problem is.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/jheling/freeathome/issues/10#issuecomment-470699740, or mute the thread https://github.com/notifications/unsubscribe-auth/AhkcvGaPFKM-mUXfXjWR1FyRllxQv5uEks5vUYM7gaJpZM4bdVAH .
Yeah in the official app I can see all of my lights and covers as well as in the web interface. The Sysap however is returning only scenes.
Maybe you have a newer sysap firmware? My version is 2.1.7 revision 5969. Sometimes the sysap stops sending status message back to homeassistant, then i have to do a reset of the sysap. Maybe for you a reset wil also help.
Okay thank you! I'll take a look at the version and try to do a reset of the SysAP. Since you had it working on 0.88, this issue is not related to the version of HA so I'm closing it. Thanks again!
Hi!
I'm trying today for the first time to implement free@home in Home Assistant. Since I'm using the last version of HA (0.88.1) I've tried to change the folder structure as specified here:
I've configured the component in the
configuration.yaml
as specified in the README.md and no errors appears in the log.Now, everything seems working fine except the fact that in Home Assistant I can find only scenes. I created two scenarios in f@h named general_off and first_floor_off, they are correctly found in HA; there are also a lot of lights and blinds connected to f@h but none of them is found in HA.
I was planning to open a pull request with the changes of this component for the version 0.88 of Home Assistant but since I'm having this problem I'm going to wait since it's solved. Hope someone can reproduce this issue and help. Thanks