/home-assistant-lg_hombot

LG Hombot/Roboking Component for Home Assistant.

Primary LanguagePythonMIT LicenseMIT

LG Hombot/Roboking Component for Home Assistant

hacs_badge

The LG Hombot vacuum platform allows you to control the state of your LG Hombot robot vacuum. This robot is also called Roboking in some countries.

You first have to plug a wifi dongle to your robot and install Wifi support before it can be controlled by this platform.

You can display various data like the robot status or the charging level via template sensors.

Installation

Recommended: use HACS.

Manual: copy custom_components/lg_hombot folder into your custom_components.

Configuration

vacuum:
  - platform: lg_hombot
    host: your_hombot_ip_address
    port: 6260

sensor:
  - platform: template
    sensors:
      hombot_battery:
        friendly_name: Battery
        entity_id: vacuum.hombot
        unit_of_measurement: '%'
        value_template: "{{ states.vacuum.hombot.attributes.battery_level }}"
        icon_template: "{{ states.vacuum.hombot.attributes.battery_icon }}"
      hombot_status:
        friendly_name: Status
        entity_id: vacuum.hombot
        value_template: "{{ states.vacuum.hombot.attributes.status }}"

Lovelace card

You can use a simple Entities card like:

entities:
  - entity: vacuum.hombot
  - entity: sensor.hombot_status
  - entity: sensor.hombot_battery
title: Vacuum
type: entities