TFA KlimaLogg Pro custom component to use with Home Assistant.
Use HACS and add this repository as a custom repository of category Integration.
URL: https://github.com/z8i/ha_custom_klimaloggpro
Installation steps:
- Add repo to HACS
- Install custom integration " TFA KlimaLogg pro BETA" via HACS
- Restart Home Assistant
- Go to Settings-Integrations in Home Assistant
- Add Integration "Klimalogg".. this takes a while, please be patient! Do a refresh in your browser if you cannot find "Klimalogg"
- Select the sensors you have connected to you base station
- Add the integration to your dashboard
- Press 3 seconds on the USB button on the main TFA station, so "USB" is constantly displayed on TFA station
- finish!
During step 5 i usually press the USB buttom some times (hold it a bit), until the base station is connected with the raspberry. If you use HAOS all the custom usb device right management stuff is not neccessary. Once the station is connected, you can see the live data in Home Assistant, the connection will stay permanent.
TFA KlimaLogg Pro weather station includes an USB Transceiver, which is used by this integration. So the stick needs to be physically connected to the computer which runs Home Assistant.
Tested on a Raspberry 4 Model B
Manual Home Assistant Installation on a Raspberry Pi with Raspberry Pi OS (Raspbian)
USB-access is configured for user access:
It needs usb access to work properly, maybe you need to grant usb access to the USB-Transceiver by
- adding the user to plugdev group
sudo adduser <username> plugdev
- add following rule to
/etc/udev/rules.d/50-usb-perms.rules
:
SUBSYSTEM=="usb", ATTRS{idVendor}=="6666", ATTRS{idProduct}=="5555", GROUP="plugdev", MODE="0660"
To check for success:
lsusb
Bus 001 Device 004: ID 6666:5555 Prototype product Vendor ID
# should show the klimlogg receiver, here bus 001 device 004
ls -l /dev/bus/usb/001/004
# expected output would be
crw-rw-rw- 1 root plugdev 189, 3 Dec 21 21:52 /dev/bus/usb/001/004
# now group plugdev can access the device and everything should work
This integration uses kloggpro-Module from PyPI.
Do you like to test this integration? Please do! Let me know, if it works, or raise an issue