jheling / freeathome Goto Github PK
View Code? Open in Web Editor NEWFree@Home component for Home Assistant
Free@Home component for Home Assistant
Thanks for this add-on! Is there any plan to support window blinds?
Hi
In Ha climate control for wireless thermostat shows state off then its on, and it will not read set_temp from thermostat. And then i try to update any stats in ha it will not change anithing.
For display thermostat it will not read set_temp and curent_temp. and its same ther it till not change
I have add folowing lines in pfreeathome.py
# thermostat if device_id == '1004' or device_id == '9004' or device_id == '1020' or \ device_id == '2041': self.add_thermostat(neighbor, serialnumber, roomnames)
There 1020 is 4,3 Display thermostat and 2041 is wireless thermostat
Data from HA
Wireless thermostat
hvac_modes:
- heat_cool
- 'off'
min_temp: 7
max_temp: 35
target_temp_step: 0.5
preset_modes:
- none
- eco
current_temperature: 22.5
temperature: null
preset_mode: null
friendly_name: Termostat Badrum
icon: 'mdi:thermometer-lines'
supported_features: 17
Display thermostat
restored: true
hvac_modes:
- heat_cool
- 'off'
min_temp: 7
max_temp: 35
target_temp_step: 0.5
preset_modes:
- none
- eco
supported_features: 17
friendly_name: Vassvägen
icon: 'mdi:thermometer-lines'
Link to mastermessage https://drive.google.com/open?id=1ry3sCz8CZJjdvkkcbT2ZMcf7LKt45O8S
Hi Jheling,
I would like to support this project. I also live in the Netherlands and maybe not even far away (Amersfoort).
I installed this on my docker instance of Home assistant and it seems to work great already. As suggested by someone else, it would be superb to have this part of the plugins by default. I was reading up on some of the dependencies, which I would like to help you with.
I had an issue with my blinds, they wouldn't go up. I'm going to look into that.
Of course I could create some pull requests, but maybe there is a better way.
Let's start a conversation via: https://twitter.com/BartOmation. If you're not using twitter, let's find another way.
Cheers,
Bart
Log Details (ERROR)
Thu Jul 18 2019 10:30:54 GMT+0200 (CEST)
Unable to prepare setup for platform freeathome.climate: Platform not found (cannot import name 'STATE_AUTO' from 'homeassistant.components.climate.const' (/usr/src/homeassistant/homeassistant/components/climate/const.py)).
There was a problem in pfreeathome.py that lead to the component not being able to find the covers in my house connected to Busch Jäger free@home "Sensor/ Jalousieaktor 2/1-fach" with deviceID 1015.
Editing line 512 to if deviceId == 'B001' or deviceId == '1013' or deviceId == '1015':
fixed that.
I guess the same problem with missing deviceIDs will hit with scenes as well. I don't use the scenes from my free@home in home assistant, but I noticed that some of them are not imported by the freeathome component.
Hello,
I use Hass.io for Home Assistant.
I followed the "read me" file but during the config of configuration.yaml I got following error:
ERROR (MainThread) [homeassistant.components.hassio] Invalid config for [freeathome]: required key not provided @ data['freeathome']['host']. Got None. (See ?, line ?).
Component error: password - Integration 'password' not found.
Component error: host - Integration 'host' not found.
Component error: username - Integration 'username' not found.
Used latest version 2.5.0
Home Assistant 0.109.3
configuration.yaml:
> # Configure a default setup of Home Assistant (frontend, api, etc)
> default_config:
> # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
> # http:
> # base_url: example.duckdns.org:8123
>
> # Text to speech
> tts:
> - platform: google_translate
>
> freeathome:
> host: 192.168.178.21
> username: admin
> password: xxxx
>
> group: !include groups.yaml
> automation: !include automations.yaml
> script: !include scripts.yaml
> scene: !include scenes.yaml
Can you please help!?
Thank you,
kind regards!
Daniel
Good morning!
First of all: thanks for the great implementation. This should become official for HA, in my eyes.
So - I am done with getting almost everything into my HA setup from my Free@Home setup, running v2.4.0.
Nevertheless, I am missing the entity for the electronic door opener we have installed at home. Through free@home I can see it is listed as an entity of the 7" panel.
Is there any way getting access to it?
Thanks!
The freeathome component fails to start, if a cover is in a position that cannot be casted to integer.
The problem is in line 604 in file pfreeathome.py. The cover position comes as string from the xml data. Trying to cast a string value of e.g. "75.356" will result in an unhandled exception and the component will not start.
Replacing line 604 with the following fixes the problem:
cover_position = str(abs(100 - int(float(get_output_datapoint(channel, 'odp0001')))))
Hello,
I'm complete new with homeassistant I have free@home in my house in Belgium,
now I tried to install this like on the readme file, but after restarting i get:
Logger: homeassistant.setup
Source: setup.py:104
First occurred: 22:19:38 (1 occurrences)
Last logged: 22:19:38
Setup failed for freeathome: Integration not found.
What i'm doing wrong?
Mvg,
Hi @jheling,
what about the dimmer component? any ideas or planed for future release? exactly i mean "Dimmaktor 6-fach"
Hi
Then i import the libnacl_patch folder into custom_compontents then homeassistant crashes at startup.
I have FAH 2.4 firmware
And I have imported the entire directory into custom_components.
then the log ends home-assistant crashes
2019-12-09 19:29:20 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for freeathome which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
.............2019-12-09 19:29:22 INFO (MainThread) [homeassistant.setup] Setting up freeathome
2019-12-09 19:29:22 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
2019-12-09 19:29:23 INFO (MainThread) [custom_components.pfreeathome] Connect Free@Home [email protected]
2019-12-09 19:29:23 INFO (MainThread) [custom_components.pfreeathome] version: 2.4.0
2019-12-09 19:29:23 INFO (MainThread) [custom_components.pfreeathome] wait for connection
......2019-12-09 19:29:28 ERROR (MainThread) [slixmpp.basexmpp] 'ascii' codec can't decode byte 0xc3 in position 143: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/xmlstream.py", line 784, in handler_callback_routine
await cb(data)
File "/config/custom_components/pfreeathome.py", line 358, in start
await self.saslhandler.initiate_key_exchange()
File "/config/custom_components/saslhandler.py", line 52, in initiate_key_exchange
sessionidentifier = self.crypto.completeKeyExchange(keymessage)
File "/config/custom_components/crypto.py", line 105, in completeKeyExchange
flags = self.extractData(data, pos)
File "/config/custom_components/crypto.py", line 135, in extractData
ascii = result.decode('ascii')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 143: ordinal not in range(128)
2019-12-09 19:29:28 INFO (MainThread) [custom_components.pfreeathome] wait for connection
.......
2019-12-09 19:29:35 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:35 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:36 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:36 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:37 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:37 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:38 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:38 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:39 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:39 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:40 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:40 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:41 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:41 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:42 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:42 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:43 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:43 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:44 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:44 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:45 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:45 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:46 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:46 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:47 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:47 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:48 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:48 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:49 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:49 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:50 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:50 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:51 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:51 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:52 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:52 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:53 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:53 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:54 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:54 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:55 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:55 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:56 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:56 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:57 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:57 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:58 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:58 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:59 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:29:59 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:00 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:00 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:01 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:01 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:02 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:02 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:03 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:03 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:04 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:04 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:05 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:05 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:06 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:06 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:07 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:07 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:08 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:08 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:09 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:09 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:10 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:10 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:11 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:11 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:12 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:12 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:13 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:13 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:14 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:14 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:15 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:15 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:16 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:16 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:17 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:17 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:18 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:18 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:19 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:19 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:20 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:20 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:21 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:21 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:22 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:22 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:23 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:23 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:24 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:24 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:25 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:25 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:26 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:26 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:27 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:27 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:28 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:28 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:29 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:29 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:30 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:30 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:31 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:31 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:32 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:32 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:33 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:33 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:34 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:34 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:35 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:35 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:36 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:36 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:37 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:37 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:38 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:38 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:39 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:39 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:40 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:40 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:41 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:41 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:42 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:42 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:43 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:43 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:44 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:44 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:45 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:45 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:46 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:46 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:47 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:47 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:48 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:48 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:49 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:49 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:50 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:50 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:51 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:51 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:52 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:52 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:53 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:53 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:54 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:54 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:55 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:55 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:56 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:56 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:57 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:57 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:58 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:58 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:59 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:30:59 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:00 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:00 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:01 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:01 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:02 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:02 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:03 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:03 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:04 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:04 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:05 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:05 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:06 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:06 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:07 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:07 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:08 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:08 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:09 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:09 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:10 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:10 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:11 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:11 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:12 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:12 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:13 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:13 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:14 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:14 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:15 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:15 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:16 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:16 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:17 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:17 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:18 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:18 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:19 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:19 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:20 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:20 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:21 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:22 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:22 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:23 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:23 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:24 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:24 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:25 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:25 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:26 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:26 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:27 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:27 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:28 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:28 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:29 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:29 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:30 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:30 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:31 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:31 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:32 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:32 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:33 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:33 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:34 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:34 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:35 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:35 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:36 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:36 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:37 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:37 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:38 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:38 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:39 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:39 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:40 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:40 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:41 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:41 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:42 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:42 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:43 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:43 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:44 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:44 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:45 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:45 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:46 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:46 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:47 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:47 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:48 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:48 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:49 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:49 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:50 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:50 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:51 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:51 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:52 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:52 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:53 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:53 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:54 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:54 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:55 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:55 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:56 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:56 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:57 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:57 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:58 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:58 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:59 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:31:59 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:00 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:00 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:01 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:01 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:02 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:02 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:03 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:03 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:04 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:04 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:05 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:05 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:06 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:06 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:07 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:07 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:08 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:08 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:09 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:09 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:10 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:10 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:11 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:11 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:12 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:12 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:13 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:13 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:14 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:14 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:15 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:15 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:16 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:16 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:17 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:17 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:18 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:18 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:19 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:19 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:20 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:20 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:21 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:21 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:22 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:22 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:23 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:23 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:24 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:24 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:25 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:25 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:26 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:26 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:27 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:27 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:28 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:28 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:29 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:29 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:30 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:30 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:31 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:31 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:32 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:32 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:33 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:33 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:34 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:34 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:35 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:35 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:36 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:36 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:37 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:37 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:38 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:38 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:39 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:39 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:40 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:40 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:41 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:41 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:42 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:42 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:43 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:43 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:44 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:44 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:45 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:45 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:46 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:46 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:47 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:47 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:48 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:48 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:49 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:49 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:50 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:50 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:51 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:51 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:52 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:52 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:53 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:53 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:54 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:54 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:55 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:55 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:56 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:56 INFO (MainThread) [custom_components.pfreeathome] wait for connection
2019-12-09 19:32:57 INFO (MainThread) [custom_components.pfreeathome] wait for connection
That's still in sensor.py
Didn't you update to 1.5.x in __init?
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:
<config>
├── automations.yaml
├── configuration.yaml
├── custom_components
│ ├── freeathome
│ │ ├── binary_sensor.py
│ │ ├── cover.py
│ │ ├── freeathome.py
│ │ ├── get-master-message.py
│ │ ├── __init__.py *(this one is the old freeathome.py in the main folder)*
│ │ ├── light.py
│ │ └── scene.py
│ ├── pfreeathome.py
│ └── README.md
├── customize.yaml
├── deps
├── groups.yaml
├── home-assistant.log
├── home-assistant_v2.db
├── known_devices.yaml
├── scripts.yaml
└── secrets.yaml
I've configured the component in the configuration.yaml
as specified in the README.md and no errors appears in the log.
home-assistant.log:
2019-03-04 22:56:22 WARNING (MainThread) [homeassistant.loader] You are using a custom component for freeathome which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-03-04 22:56:26 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
2019-03-04 22:56:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for freeathome.scene which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-03-04 22:56:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for freeathome.binary_sensor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-03-04 22:56:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for freeathome.cover which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
2019-03-04 22:56:30 WARNING (MainThread) [homeassistant.loader] You are using a custom component for freeathome.light which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant.
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
Hi,
Are the Busch Jaeger 6241/2.0 U Binaire ingang 2-voudig (Ean 4011395180457) or Busch Jaeger 6241/4.0 U Binaire ingang 4-voudig (Ean 4011395180464) allready supported?
I am using hass with free@home 2.4. It's discovered all my devices, except the 2 listed above.
Did I overlook an option / make a setup mistake, or are these devices not yet supported.
If this is the case, are there any plans to add these devices? Unfortunately, I am not much of a developer, but as I own both devices, I can assist with testing if that's of any help.
Thanks for your response. Erik
Any progress on getting the thermostat integrated?
I'm willing to help..but not expirienced
Thanks again for this wonderful integration! Got it finally running on a fresh HA install and it's really really a great addition!
But I ran into another issue:
After grabbing the device IDs with the get-master-message.py
script it found all my Cover sensor / actuator with the ID 2039
- but there was one Switch Actuator Sensor 2/2 with the same ID - which naturally now shows up in my HA as a cover after editing the pfreeathome.py.
Here's an excerpt from the output:
So now the first device shows up in HA twice for both the lamps that are attached - but of course the show up as covers.
Any ideas how to solve this?
Sorry guys, I'm not reporting a bug but am really new to Home Assistant and struggling to get this integration to work...
I have moved all files to the folder. I have updated the configuration file. But I keep on getting the error "Component error: freeathome - Integration 'freeathome' not found."
Any clues?
Would it make sense to integrate with HACS for the main contributors? Let me fix that then.. easy updating for users. Less hazzle then making an official component...
Dear @jheling ,
I always get the following messages in HA logs. Looks like they are not preventing F@H system from functioning, but I wonder what's the cause?
Error doing job: Task exception was never retrieved
17:40:35 – custom_components/freeathome/climate.py (ERROR)
Using slower stringprep, consider compiling the faster cython/libidn one.
17:40:30 – custom_components/freeathome/pfreeathome.py (WARNING)
in details:
2020-04-02 17:40:10 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for freeathome which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-04-02 17:40:30 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
2020-04-02 17:40:35 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 434, in _async_add_entity
await entity.async_update_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 284, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 327, in _async_write_ha_state
attr.update(self.state_attributes or {})
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 213, in state_attributes
self.current_temperature,
File "/config/custom_components/freeathome/climate.py", line 85, in current_temperature
return float(self.thermostat_device.current_temperature)
TypeError: float() argument must be a string or a number, not 'NoneType'
2020-04-02 17:40:35 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 434, in _async_add_entity
await entity.async_update_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 284, in async_update_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 327, in _async_write_ha_state
attr.update(self.state_attributes or {})
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 213, in state_attributes
self.current_temperature,
File "/config/custom_components/freeathome/climate.py", line 85, in current_temperature
return float(self.thermostat_device.current_temperature)
TypeError: float() argument must be a string or a number, not 'NoneType'
Since recent update of HA to version 0.108.x I am getting this error:
Logger: homeassistant.setup
Source: custom_components/freeathome/fah/crypto.py:3
First occurred: 21:30:14 (1 occurrences)
Last logged: 21:30:14
Error during setup of component freeathome
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 171, in _async_setup_component
hass, processed_config
File "/config/custom_components/freeathome/init.py", line 32, in async_setup
from . import pfreeathome
File "/config/custom_components/freeathome/pfreeathome.py", line 24, in
from .fah.saslhandler import SaslHandler
File "/config/custom_components/freeathome/fah/saslhandler.py", line 7, in
from .crypto import Crypto, loginSaslPayload, buildSaslResponse
File "/config/custom_components/freeathome/fah/crypto.py", line 3, in
import libnacl
ModuleNotFoundError: No module named 'libnacl'
I'm on SysApp 2.5.0
Im getting an error since update to 0.88 with this component. Error relates to unable to install slimpp and to structure of the custom component setup. Anyone solve this?
Im on hassio
Hello!
In my case, simple Sensors are not recognized by your component.
I have a plan to use automation based on Sensor key pressed (or not pressed). Please help to discover them in HA.
Thank you!
Now that the Door lock of the "Welcome" integration works great, have you thought in adding the doorbell sensor too?
Would be cool to get a notification on the mobile app if someone rang it or use an automation to trigger lights when the doorbell was muted at night.
Hi,
I'm new to Home Assistant and have installed the freeathome component. When I add a switch to the dashboard I can turn the lights on but I cant turn it off again :(
In the logging it says that I was trying to turn it on again???
Looks like the return status is incorrect?
What I'm I missing here?
SysAP firmware: 2.3.1
HA version: 0.98.5
Regards,
Hi,
its not really an issue more an enhancement. I was trying myself but couldn't find a working solution.
I want to start actions when a light is on and i press the on switch again, for example my bathroom lights are on I press the button again and the speaker starts. Also double click and so on would be possible.
I was unable to add that for the binary_sensor could some help me out on that?
Hi,
as f@h also has wireless devices available and some (or all?) are not supported by this project yet.
Just adding the device IDs to the list of known IDs didn't do the trick. For example:
"Sensor/ Jalousieaktor 1/1-fach" wireless device with a device ID of "2039" has three channels (ch0009, ch000D and ch0000), the wired one with a device ID of "1013" has only two (ch0003 and ch0000). After discovery, every device with a ch000D shows up twice - once with its given name and once as "ABBXXXXXX/ch000D" (which doesn't do anything). Got it working with just exiting add_cover_device if the channel name is "ch000D", but that's just a very ugly bad hack.
I've got some installed around here (mostly thermostat and cover/blinds actors), so I may be able to provide device IDs or whatever information or help needed. Just let me know.
Just wanted to check with the developers:
file: "freeathome/fah/settings.py"
it is using "log", while it is not defined in this file.
It is actually defined in the "get-master-message.py", where the class in settings.py is imported.
Just wanted to check if this is actually allowed, or if it should include:
import logging log = logging.getLogger(__name__)
If you would run 'python get-master-message.py', where the IP address is still "xx.xx.xx.xx" you would see the traceback errors for 'log' being undefined.
They are shown correctly on the screen when the above code is also added to settings.py file.
On
is reported correctly but Off
is reported as Eco
with a temperature of 35
.
Below you will find the get-master-message logs of a very simple scenario. Studio 1 thermostat is initially off and I turn it on using the wall switch. HA reports the state correctly.
INFO <?xml version="1.0" encoding="UTF-8"?><project timeStamp="27719" sessionId="1489baca" type="update" mrhaVersion="2.2.4" mrhaBuild="7103"><privileges/><devices><device serialNumber="ABB20C052951" domainAddress="930E" state="modified" commissioningState="ready" progress="100"><channels><channel triggered="true" state="modified" i="ch0003" cid="ABB2050C"><inputs/><outputs/><parameters/><scenes/></channel></channels></device></devices></project>
INFO <?xml version="1.0" encoding="UTF-8"?><project timeStamp="27720" sessionId="1489baca" type="update" mrhaVersion="2.2.4" mrhaBuild="7103"><privileges/><devices><device serialNumber="ABB700CFCEF2" domainAddress="930E" state="modified" commissioningState="ready" progress="100"><channels><channel state="modified" i="ch0000" cid="ABB702EB"><inputs/><outputs><dataPoint state="modified" i="odp0006" full="false"><value>21</value></dataPoint><dataPoint state="modified" i="odp0008" full="false"><value>1</value></dataPoint></outputs><parameters/><scenes/></channel></channels><parameters/></device></devices></project>
INFO <?xml version="1.0" encoding="UTF-8"?><project timeStamp="27721" sessionId="1489baca" type="update" mrhaVersion="2.2.4" mrhaBuild="7103"><privileges/><devices><device serialNumber="ABB209732951" domainAddress="930E" state="modified" commissioningState="ready" progress="100"><channels><channel triggered="true" state="modified" i="ch0002" cid="ABB2050C"><inputs/><outputs/><parameters/><scenes/></channel><channel triggered="true" state="modified" i="ch0003" cid="ABB2050C"><inputs/><outputs/><parameters/><scenes/></channel></channels></device></devices></project>
I then turn it off using the wall switch. HA reports ECO and 7 degrees set temperature which
are wrong. However the current temperature is reported correctly.
INFO <?xml version="1.0" encoding="UTF-8"?><project timeStamp="27722" sessionId="1489baca" type="update" mrhaVersion="2.2.4" mrhaBuild="7103"><privileges/><devices><device serialNumber="ABB700CFCEF2" domainAddress="930E" state="modified" commissioningState="ready" progress="100"><channels><channel state="modified" i="ch0000" cid="ABB702EB"><inputs/><outputs><dataPoint state="modified" i="odp0010" full="false"><value>22.16</value></dataPoint></outputs><parameters/><scenes/></channel></channels><parameters/></device></devices></project>
INFO <?xml version="1.0" encoding="UTF-8"?><project timeStamp="27723" sessionId="1489baca" type="update" mrhaVersion="2.2.4" mrhaBuild="7103"><privileges/><devices><device serialNumber="ABB700CFCEF2" domainAddress="930E" state="modified" commissioningState="ready" progress="100"><channels><channel state="modified" i="ch0000" cid="ABB702EB"><inputs/><outputs><dataPoint state="modified" i="odp0008" full="false"><value>0</value></dataPoint></outputs><parameters/><scenes/></channel></channels><parameters/></device></devices></project>
INFO <?xml version="1.0" encoding="UTF-8"?><project timeStamp="27724" sessionId="1489baca" type="update" mrhaVersion="2.2.4" mrhaBuild="7103"><privileges/><devices><device serialNumber="ABB700CFCEF2" domainAddress="930E" state="modified" commissioningState="ready" progress="100"><channels><channel state="modified" i="ch0000" cid="ABB702EB"><inputs/><outputs><dataPoint state="modified" i="odp0006" full="false"><value>7</value></dataPoint></outputs><parameters/><scenes/></channel></channels><parameters/></device></devices></project>
This is another session where the thermostat is ON and I switch on ECO
INFO <?xml version="1.0" encoding="UTF-8"?><project timeStamp="27756" sessionId="1489baca" type="update" mrhaVersion="2.2.4" mrhaBuild="7103"><privileges/><devices><device serialNumber="ABB700CFCEF2" domainAddress="930E" state="modified" commissioningState="ready" progress="100"><channels><channel state="modified" i="ch0000" cid="ABB702EB"><inputs/><outputs><dataPoint state="modified" i="odp0009" full="false"><value>68</value></dataPoint></outputs><parameters/><scenes/></channel></channels><parameters/></device></devices></project>
INFO <?xml version="1.0" encoding="UTF-8"?><project timeStamp="27757" sessionId="1489baca" type="update" mrhaVersion="2.2.4" mrhaBuild="7103"><privileges/><devices><device serialNumber="ABB700CFCEF2" domainAddress="930E" state="modified" commissioningState="ready" progress="100"><channels><channel state="modified" i="ch0000" cid="ABB702EB"><inputs/><outputs><dataPoint state="modified" i="odp0006" full="false"><value>18</value></dataPoint></outputs><parameters/><scenes/></channel></channels><parameters/></device></devices></project>
I switch it back to normal (turn ECO off)
INFO <?xml version="1.0" encoding="UTF-8"?><project timeStamp="27758" sessionId="1489baca" type="update" mrhaVersion="2.2.4" mrhaBuild="7103"><privileges/><devices><device serialNumber="ABB700CFCEF2" domainAddress="930E" state="modified" commissioningState="ready" progress="100"><channels><channel state="modified" i="ch0000" cid="ABB702EB"><inputs/><outputs><dataPoint state="modified" i="odp0009" full="false"><value>65</value></dataPoint></outputs><parameters/><scenes/></channel></channels><parameters/></device></devices></project>
INFO <?xml version="1.0" encoding="UTF-8"?><project timeStamp="27759" sessionId="1489baca" type="update" mrhaVersion="2.2.4" mrhaBuild="7103"><privileges/><devices><device serialNumber="ABB700CFCEF2" domainAddress="930E" state="modified" commissioningState="ready" progress="100"><channels><channel state="modified" i="ch0000" cid="ABB702EB"><inputs/><outputs><dataPoint state="modified" i="odp0006" full="false"><value>21</value></dataPoint></outputs><parameters/><scenes/></channel></channels><parameters/></device></devices></project>
I see value 7 arriving as a message. I also noticed in climate.py there is a line:
# ch0, odp0006 = 7 == ??????????????????????
. Seems like this message should be ignored.
HomeAssistant has loaders in place for components using seperate threads etc. A step in making the freeathome component part of HA and improving loading speeds is to make it not use the mainthread for loading.
This should get fixed so a syncworker will load the component and make it none blocking.
Somewhere down the path the new version of HA is causing an issue. See the following from the log file.
The first part is just a warning that something could be improved (this is just a side note). If I find the time I can look into it and see if I can make the changes and send a pull request.
The latter part is the actual error where I noticed the slixmpp and thought of this plugin. This is the only custom_component that I'm using and of which I'm aware it is using slixmpp. So it could be this is nothing to do with the freeathome integration. But better safe than sorry I'm posting this here.
Hope you can replicate the issue or If I can assist in gathering some more details, than please let me know.
2019-12-13 23:02:58 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
2019-12-13 23:02:59 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal error: protocol.data_received() call failed.
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/selector_events.py", line 816, in _read_ready__data_received
self._protocol.data_received(data)
File "/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/xmlstream.py", line 406, in data_received
self._spawn_event(xml)
File "/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/xmlstream.py", line 970, in _spawn_event
stanza = self._build_stanza(xml)
File "/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/xmlstream.py", line 951, in _build_stanza
stanza = stanza_type(self, xml)
File "/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/stanzabase.py", line 1390, in __init__
ElementBase.__init__(self, xml, parent)
File "/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/stanzabase.py", line 416, in __init__
if self.setup(xml):
File "/usr/local/lib/python3.7/site-packages/slixmpp/stanza/stream_features.py", line 27, in setup
self.values = self.values
File "/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/stanzabase.py", line 615, in _set_stanza_values
self[full_interface] = value
File "/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/stanzabase.py", line 753, in __setitem__
lang=lang)
File "/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/stanzabase.py", line 959, in _set_sub_text
return self._del_sub(name, lang=lang)
File "/usr/local/lib/python3.7/site-packages/slixmpp/xmlstream/stanzabase.py", line 1040, in _del_sub
parent = self.xml.find(parent_path)
File "/usr/local/lib/python3.7/xml/etree/ElementTree.py", line 299, in find
return ElementPath.find(self, path, namespaces)
File "/usr/local/lib/python3.7/xml/etree/ElementPath.py", line 307, in find
return next(iterfind(elem, path, namespaces), None)
TypeError: 'NoneType' object is not an iterator
2019-12-13 23:03:08 WARNING (MainThread) [homeassistant.setup] Setup of freeathome is taking over 10 seconds.
Cheers.
Hi jheling!
Thanks for your efforts on creation of F@H module for HA.
I have FW 2.4.0 and almost all Actuators/Sensors discovered (modified pfreeathome.py with IDs of my devices that have been discovered by Openhab), however I am missing several important modules.
Here are Binary sensor modules with 4 input channels each:
ABB265232951 (KTQ)
ABB240232951 (PEH)
and partial problems with 8/8 Actuator / Binary input unit (ABB26B703051 (ZWX)): Here Actuator outputs are discovered, though Input channels are not discovered.
8/8 Actuator/Binary Input unit code is "B008", I tried inputting it as Sensor/Acutator in configuration file, also attempted adding it as Binary Sensor unit, but no result. I have some devices discovered in HA that seem to be correct, but they are always in OFF state.
Besides, all important Binary sensors are connected to
ABB265232951 (KTQ)
ABB240232951 (PEH)
that are not discovered at all.
I was unable to run "get-master-message.py", was getting error
D:>python get-master-message.py
Traceback (most recent call last):
File "get-master-message.py", line 26, in
from fah.messagereader import MessageReader
ModuleNotFoundError: No module named 'fah'
Please help to sort things out and get Binary sensor modules working.
Thank you a lot!
Hi Johan,
I was looking/learning/debugging some of your code and ran into the following:
INFO Rpc callback jhe
DEBUG SEND: <iq id="b40ab916-62ec-4a9a-bb77-7ecff1df7e71-3" to="[email protected]/rpc" type="error"><error type="cancel"><undefined-condition xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" /><text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas">Slixmpp got into trouble.</text></error></iq>
ERROR Error handling {jabber:client}iq stanza
Traceback (most recent call last):
File "/home/bart/git/custom_components/venv/lib/python3.6/site-packages/slixmpp/xmlstream/xmlstream.py", line 987, in _spawn_event
handler.run(stanza)
File "/home/bart/git/custom_components/venv/lib/python3.6/site-packages/slixmpp/xmlstream/handler/callback.py", line 76, in run
self._pointer(payload)
File "/home/bart/git/custom_components/venv/lib/python3.6/site-packages/slixmpp/stanza/iq.py", line 212, in callback_success
callback(result)
File "/home/bart/git/custom_components/get-master-message.py", line 162, in rpc_callback
args = xml2py(iq['rpc_query']['method_response']['params'])
File "/home/bart/git/custom_components/venv/lib/python3.6/site-packages/slixmpp/plugins/xep_0009/binding.py", line 95, in xml2py
for param in params.findall('{%s}param' % namespace):
AttributeError: 'NoneType' object has no attribute 'findall'
ERROR 'NoneType' object has no attribute 'findall'
Traceback (most recent call last):
File "/home/bart/git/custom_components/venv/lib/python3.6/site-packages/slixmpp/xmlstream/xmlstream.py", line 987, in _spawn_event
handler.run(stanza)
File "/home/bart/git/custom_components/venv/lib/python3.6/site-packages/slixmpp/xmlstream/handler/callback.py", line 76, in run
self._pointer(payload)
File "/home/bart/git/custom_components/venv/lib/python3.6/site-packages/slixmpp/stanza/iq.py", line 212, in callback_success
callback(result)
File "/home/bart/git/custom_components/get-master-message.py", line 162, in rpc_callback
args = xml2py(iq['rpc_query']['method_response']['params'])
File "/home/bart/git/custom_components/venv/lib/python3.6/site-packages/slixmpp/plugins/xep_0009/binding.py", line 95, in xml2py
for param in params.findall('{%s}param' % namespace):
AttributeError: 'NoneType' object has no attribute 'findall'
ERROR not-allowed:
WARNING You should catch IqError exceptions
This is part of the "def rpc_callback(self, iq):" method.
It seems your code is always expecting values to return in the 'iq', but apparently this is not the case for me. Both the 'fault' and 'params' dicts are empty, which is causing the issue.
Any ideas why this could happen?
Raspberry PI 3 is not booting with activated component freeathome.
Message while booting: Home Assistant starts, not everything will be available until it's done.
This message will not disappear.
Log:
2020-06-27 12:02:48 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=217 from 2020-06-27 09:54:41.129232) 2020-06-27 12:02:58 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one. 2020-06-27 12:03:17 WARNING (MainThread) [homeassistant.setup] Setup of freeathome is taking over 10 seconds. 2020-06-27 12:03:17 WARNING (MainThread) [homeassistant.setup] Setup of input_boolean is taking over 10 seconds. 2020-06-27 12:03:17 WARNING (MainThread) [homeassistant.setup] Setup of group is taking over 10 seconds. 2020-06-27 12:03:17 WARNING (MainThread) [homeassistant.components.weather] Setup of weather platform met is taking over 10 seconds. 2020-06-27 12:03:17 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform darksky is taking over 10 seconds. 2020-06-27 12:03:17 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform openweathermap is taking over 10 seconds. 2020-06-27 12:03:17 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform command_line is taking over 10 seconds. 2020-06-27 12:03:17 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform dwd_weather_warnings is taking over 10 seconds. 2020-06-27 12:03:17 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform mobile_app is taking over 10 seconds. 2020-06-27 12:03:17 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform mobile_app is taking over 10 seconds. 2020-06-27 12:03:17 WARNING (MainThread) [homeassistant.components.sensor] Setup of sensor platform mobile_app is taking over 10 seconds. 2020-06-27 12:03:17 ERROR (MainThread) [metno] https://aa015h6buqvih86i1.api.met.no/weatherapi/locationforecast/1.9/ returned 2020-06-27 12:03:17 ERROR (MainThread) [homeassistant.components.met.weather] Retrying in 18 minutes 2020-06-27 12:03:17 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up coronavirus platform for sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 186, in _async_setup_platform await asyncio.gather(*pending) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 292, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 443, in _async_add_entity entity.async_write_ha_state() File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 297, in async_write_ha_state self._async_write_ha_state() # type: ignore File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state state = self.state File "/usr/src/homeassistant/homeassistant/components/coronavirus/sensor.py", line 55, in state getattr(case, self.info_type) for case in self.coordinator.data.values() TypeError: unsupported operand type(s) for +: 'int' and 'NoneType'
I case the component freeathome is deactivated the RPI will boot without any problems.
RPI System:
The next check was to transfer the identical configuration to another system: Synology virtual machine:
The problem does not occur on this machine.
It looks like the problem is related to HA version 0.111.4 and the RPI.3 as well as freeathome.
Hello,
i got the following log:
Logger: slixmpp.stringprep
Source: custom_components/freeathome/pfreeathome.py:11
First occurred: 8:04:21 PM (1 occurrences)
Using slower stringprep, consider compiling the faster cython/libidn one.
Free@Home:
Version: 2.4.0
Revision: 7586
Home Assistant:
Version: 0.108.3
arch: x86_x64
Thanks for your support!
Cheers
Hello,
I installed the awesome tool and also got the Scenes and Lights from the Busch Jaeger System.
But I miss the wireless thermostat.
I have changed the temperature and I have already turned a thermostat off and on again. Unfortunately it is not displayed as an entity.
Is it necessary to add them manually in the config? If so, how?
Thank you very much for your great work!
Best regards,
Daniel
Since the latest change(s), i'm getting the following message about the binary sensor.
2020-04-22 22:23:34 ERROR (MainThread) [homeassistant.components.binary_sensor] Error while setting up freeathome platform for binary_sensor Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 186, in _async_setup_platform await asyncio.gather(*pending) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 295, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 423, in _async_add_entity raise HomeAssistantError(f"Invalid entity id: {entity.entity_id}") homeassistant.exceptions.HomeAssistantError: Invalid entity id: binary_sensor. 2020-04-22 22:23:35 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback async_setup_entity_restore.<locals>._write_unavailable_states(<Event homeassistant_start[L]>) at /usr/src/homeassistant/homeassistant/helpers/entity_registry.py:528 Traceback (most recent call last): File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 560, in _write_unavailable_states states.async_set(entry.entity_id, STATE_UNAVAILABLE, attrs) File "/usr/src/homeassistant/homeassistant/core.py", line 994, in async_set state = State(entity_id, new_state, attributes, last_changed, None, context) File "/usr/src/homeassistant/homeassistant/core.py", line 730, in __init__ f"Invalid entity id encountered: {entity_id}. " homeassistant.exceptions.InvalidEntityFormatError: Invalid entity id encountered: binary_sensor.. Format should be <domain>.<object_id>
All seems to be running still though.
Hello, I am using the free@home API quiet some time now, and basically since the beginning I experience disconnection from the sysapp after approximately 2 to 3 days. During the 2 to 3 days HA fires quiet some events to the sysapp, so I think it has nothing to do with inactivity. A restart of HA does the fix. In case of disconnect, the API respnses with slixmpp.xmlstream.xmlstream.NotConnectedError
error.
Do any of you experience similar issues? I am thinking of adding a disconnect event handler
, but first want to know if this could be fixed without coding.
Hello,
first of all, thank you for this great integration!!
I have the component running for 10days without a particular issue, so far.
I noticed today that several devices seemed to be not updated, during further investigation I saw that the following error occured within freeathome:
Traceback (most recent call last): File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/setup.py", line 170, in _async_setup_component hass, processed_config File "/home/homeassistant/.homeassistant/custom_components/freeathome/__init__.py", line 50, in async_setup await sysap.find_devices() File "/home/homeassistant/.homeassistant/custom_components/freeathome/pfreeathome.py", line 1008, in find_devices await self.xmpp.find_devices(self._use_room_names) File "/home/homeassistant/.homeassistant/custom_components/freeathome/pfreeathome.py", line 927, in find_devices self.add_sensor_unit(neighbor, serialnumber, roomnames, device_id) File "/home/homeassistant/.homeassistant/custom_components/freeathome/pfreeathome.py", line 755, in add_sensor_unit parameter = parameters.find('parameter') AttributeError: 'NoneType' object has no attribute 'find'
It seems that one particular device does not have parameters. In this case there is one device that was connected at some point but was removed later. The device is still kept from the SysAP with a message that the config for this device was recovered and will be updated once the device will be available again.
Would it be possible to handle this particular case officially? I overcame the issue with an additional check for None but this may not be a good solution:
# Sensor units 1/2 way if device_id == '1002' or device_id == '1000' or device_id == '100C' or \ device_id == '1019' or device_id == '1017' : if neighbor.find('parameters') is None: LOG.error('Paramters empty sensor unit: %s - %s',serialnumber, device_id) else: self.add_sensor_unit(neighbor, serialnumber, roomnames, device_id)
I believe the component is now feature complete and stable enough to ship with home assistant. Are there any thoughts around this?
So this is completely written without any checks on API possibilities but I was wondering if the FAH 7" Display could be used to display notifications from Home Assistant using "notify.xxx".
Within the FAH actions interface the display can be used to do that but I'm not sure if they allow an external trigger.
Just not sure if this is a bug or if this is (currently) nog supported but none of the F@H items surface when I try to create new automations in HA. Any thoughts?
Whenever I enable the configuration for freeathome in my config-file HA gets stuck in an everlasting waiting for connection
and the frontend won't load up. I already tried multiple times and even installed a fresh installation of homeassistant, but I can't get it to work.
Thanks for the effort!!!
I am not able to get a connection to my sysAp. I followed your instructions of the readme.
The log show the following message:
[slixmpp.xmlstream.xmlstream] Connection failed: [Errno 111] Connect call failed ('::', 5222, 0, 0).
I would be very thankful for any supporting advice.
Best,
Steffen
More a general question.
It looks like OpenHAB uses Port 5280 (at least my neighbor told me) where I can see 5222 hard codes in freeathome. What's the difference?
nmap shows both ports open at my SysAP
Thanks!
Hi,
With which python version should I run this?
Best regards,
Victor
See my gist here https://gist.github.com/lassem/7b6612d325976802c19e8e519f26ced4
Basically, functionId
and pairingId
is what is relevant when dealing with the various devices. The deviceId
is less relevant and can be ignored.
This parser goes through the device list and decorates the result with information from the definitions
and descriptions
-block.
Try running it on your getall.xml and see the output.
Feel free to close this issue.
Hey team,
based on motion detection I trigger a scene (lights on, cover down).
The three covers I have in that scene move - but one of them into a different direction as expected :-)
From the log I find:
2020-05-10 21:06:10 INFO (MainThread) [custom_components.freeathome.pfreeathome] set_datapoint ABB7F59324BE/ch0003 idp0002 100
2020-05-10 21:06:10 INFO (MainThread) [custom_components.freeathome.pfreeathome] set_datapoint ABB7F59323C8/ch0003 idp0002 80
2020-05-10 21:06:10 INFO (MainThread) [custom_components.freeathome.pfreeathome] set_datapoint ABB7F593249C/ch0003 idp0002 70
2020-05-10 21:06:10 INFO (MainThread) [custom_components.freeathome.pfreeathome] method response: True
2020-05-10 21:06:10 INFO (MainThread) [custom_components.freeathome.pfreeathome] method response: True
2020-05-10 21:06:10 INFO (MainThread) [custom_components.freeathome.pfreeathome] method response: True
2020-05-10 21:06:11 INFO (MainThread) [custom_components.freeathome.pfreeathome] device Rollladen Essbereich (ABB7F59324BE/ch0003) is 3
2020-05-10 21:06:11 INFO (MainThread) [custom_components.freeathome.pfreeathome] device Rollladen WZ links (ABB7F59323C8/ch0003) is 2
2020-05-10 21:06:11 INFO (MainThread) [custom_components.freeathome.pfreeathome] device Rollladen WZ rechts (ABB7F593249C/ch0003) is 3
What differs is the second last entry. Device is 2? What does it mean?
3 is down, 2 is up?
The Scene is pretty straight forward:
- id: 'rollos_eg_80'
name: Rollos EG 80%
entities:
cover.rollladen_essbereich:
current_position: 0
friendly_name: Essen
state: open
cover.rollladen_wz_links:
current_position: 20
friendly_name: Rollo WZ links
state: open
cover.rollladen_wz_rechts:
current_position: 30
friendly_name: Rollo WZ rechts
state: open
Thanks!
component fails to load in latest home assistant with error:
2018-11-09 10:52:58 ERROR (MainThread) [homeassistant.setup] Error during setup of component freeathome
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/homeassistant/setup.py", line 145, in _async_setup_component
hass, processed_config)
File "/root/.homeassistant/custom_components/freeathome.py", line 54, in async_setup
load_platform(hass, 'light', DOMAIN)
TypeError: load_platform() missing 2 required positional arguments: 'discovered' and 'hass_config'
Fix is to replace lines 54-56 in freeathome.py with:
load_platform(hass, 'light', DOMAIN, {}, config)
load_platform(hass, 'scene', DOMAIN, {}, config)
load_platform(hass, 'cover', DOMAIN, {}, config)
Hey,
i have home assistant running in a vm. It is currently running on Home Assistant Core 0.112.4. There is an update available to version 0.114.4
Every attempt to update runs into the following error
2020-09-14 16:48:57 WARNING (MainThread) [homeassistant.loader] You are using a custom integration for freeathome which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant.
2020-09-14 16:48:58 WARNING (MainThread) [slixmpp.stringprep] Using slower stringprep, consider compiling the faster cython/libidn one.
2020-09-14 16:48:59 WARNING (MainThread) [slixmpp.basexmpp] jid property deprecated. Use boundjid.bare
2020-09-14 16:49:02 ERROR (MainThread) [homeassistant.components.light] Error while setting up freeathome platform for light
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 186, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 292, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 425, in _async_add_entity
raise HomeAssistantError(f"Invalid entity id: {entity.entity_id}")
homeassistant.exceptions.HomeAssistantError: Invalid entity id: light.
2020-09-14 16:49:05 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback async_setup_entity_restore.._write_unavailable_states(<Event homeassistant_start[L]>) at /usr/src/homeassistant/homeassistant/helpers/entity_registry.py:562
Traceback (most recent call last):
File "/usr/local/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/src/homeassistant/homeassistant/helpers/entity_registry.py", line 594, in _write_unavailable_states
states.async_set(entry.entity_id, STATE_UNAVAILABLE, attrs)
File "/usr/src/homeassistant/homeassistant/core.py", line 1007, in async_set
state = State(entity_id, new_state, attributes, last_changed, None, context)
File "/usr/src/homeassistant/homeassistant/core.py", line 749, in init
f"Invalid entity id encountered: {entity_id}. "
homeassistant.exceptions.InvalidEntityFormatError: Invalid entity id encountered: light.. Format should be .<object_id>
I cannot quite find the source of this problem. Is it really a formatting issue with the initiation of light sources as indicated by .<object_id> in the last line?
Any tip where to look for solutions?
Hi!
Reaching out via an Issue since there doesn't seem to be a better way.
I have added support for Free@Home thermostats; or partially at least.
I can't get the updates coming back from the sysap.
I've had it working before in https://github.com/lassem/freeAtHomeNibeLink and we also got it working in the openhab addon https://github.com/ruebox/openhab2-addons
Problem is that I am not very proficient in Python and I haven't used slixmpp before.
Any ideas?
I pushed the incomplete code to lassem#1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.