Giter VIP home page Giter VIP logo

ha_custom_klimaloggpro's Introduction

TFA KlimaLogg Pro for Home Assistant

TFA KlimaLogg Pro custom component to use with Home Assistant.

Experimental! Prototype!

Installation

Use HACS and add this repository as a custom repository of category Integration. URL: https://github.com/z8i/ha_custom_klimaloggpro

Installation steps:

  1. Add repo to HACS
  2. Install custom integration " TFA KlimaLogg pro BETA" via HACS
  3. Restart Home Assistant
  4. Go to Settings-Integrations in Home Assistant
  5. Add Integration "Klimalogg".. this takes a while, please be patient! Do a refresh in your browser if you cannot find "Klimalogg"
  6. Select the sensors you have connected to you base station
  7. Add the integration to your dashboard
  8. Press 3 seconds on the USB button on the main TFA station, so "USB" is constantly displayed on TFA station
  9. 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.

Attention: USB Device!

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 and works under following circumstances:

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

More Info

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.