How to add a TehyBug Smart Home Data Logger to HomeAssistant

Started on the old forum in April 2021 · view the original in the archive · old links redirect here

No replies · 222 views · started 5 years ago · 1 min read

GumSlone Administrator Principal · 1,690 posts #1

There are several ways it add a TeHyBug to HomeAssistant.

  1. Embed a public graph to your dashboard.
  2. Add it as a MQTT Sensor to your Homeassistant.

Usually, Home Assistant is installed on a Raspberry Pi or similar devices. If you don't have a MQTT Brocker, here is the instruction on how to install the MQTT Broker on your PI. https://randomnerdtutorials.com/how-...-raspberry-pi/

  1. Put your TeHyBug into a configuration mode.
  2. open HTTP://192.168.1.1 in your browser (Firefox works best)
  3. Configure WIFI Connection by providing your WIFI Credentials.
  4. Go to Custom MQTT Configuration and fill the required fields similar to the screenshot below, the MQTT Server should be the IP Address of your MQTT Broker

Bildschirmfoto 2021-04-24 um 18.57.23.png 5. Save, activate the live mode and restart the TeHyBug.

  1. Make sure mqtt block in the configuration exists, if not please configure it a your home assistant integration. Open the configuration.yaml file of your home assistant and add a sensor block, if the sensor block exists, just extend it:
# Example configuration.yaml entry
sensor:
  - platform: mqtt
    name: "Temperature Test"
    state_topic: "/tehybug/sensor1"
    unit_of_measurement: "°C"
    value_template: "{{ value_json.t }}"
  - platform: mqtt
    name: "Pressure Test"
    state_topic: "/tehybug/sensor1"
    unit_of_measurement: "hPa"
    value_template: "{{ value_json.p }}"

After this, you will be able to add a new sensor entity to your dashboard.

Advertise your mobile site for FREE with AdTwirl

External image (may be gone)

Attachments: Bildschirmfoto 2021-04-24 um 18.57.23.png Bildschirmfoto 2021-04-24 um 18.57.23.png Bildschirmfoto 2021-04-24 um 18.57.23.png

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close