Home Assistant On Router

  четверг 23 апреля
      70

The huawei device tracker platform offers presence detection by looking at connected devices to a Huawei router.

Currently, this was only tested with the Huawei HG8247H, HS8247W and HG8247Q Smart Router (used by Vodafone Portugal).

Configuration Variables host (string) (Required)The Synology SRM router host or IP address, e.g., 192.168.1.1 or router.mydomain.local port (integer) (Optional)The port to connect to the Synology SRM router. Default value.

Configuration

To use a Huawei router in your installation, add the following to your configuration.yaml file:

Configuration Variables

host

(string)(Required)

The IP address of your router, e.g., 192.168.1.1.

username

(string)(Required)

The username to login into the router (the same used trough the router’s web interface).

password

(string)(Required)

The password for the specified username.

See the device tracker integration page for instructions how to configure the people to be tracked.

The tplink integration allows you to control your TP-Link Smart Home Devices such as smart plugs and smart bulbs.

There is currently support for the following device types within Home Assistant:

  • Light
  • Switch

In order to activate the support, you will have to enable the integration inside the configuration panel.The supported devices in your network are automatically discovered, but if you want to control devices residing in other networks you will need to configure them manually as shown below.

Supported Devices

This integration supports devices that are controllable with the KASA app.The following devices are known to work with this component.

Plugs

Plugs are type switch when autodiscovery has been disabled.

  • HS100
  • HS103
  • HS105
  • HS110 (This device is capable of reporting energy usage data to template sensors)

Strip (Multi-Plug)

  • HS107 (indoor 2-outlet)
  • HS300 (powerstrip 6-outlet) (This device is capable of reporting energy usage data to template sensors)
  • KP303 (powerstrip 3-outlet)
  • KP400 (outdoor 2-outlet)
  • KP200 (indoor 2-outlet)

Wall Switches

  • HS200
  • HS210
  • HS220 (acts as a light)

Bulbs

  • LB100
  • LB110
  • LB120
  • LB130
  • LB230
  • KL110
  • KL120
  • KL130

Configuration

Configuration Variables

discovery

(boolean)(Optional)

Whether to do automatic discovery of devices.

Default value:

Textformfield This will set your cursor at the end in the textfield. You can call the code from wherever and whenever it will set the cursor location when it is called. Or simple place this code in onChanged method of textfield. Final val = TextSelection.collapsed(offset: textTEC.text.length); textTEC.selection = val. For the first two inputs when keyboard is not dismissed, the Current Cursor Position is set to the correct number in the end even if it was set to -1. But for the last two inputs when the keyboard is dismissed, the Current Cursor Position is set to -1 at the end.

true

light

(list)(Optional)

Defiant lock company home page. It is rare to find security pins in off the shelf Kwikset locks.As for quality comparison, they are about the same in terms of manufacturing quality.

List of light devices.

host

(string)(Required)

Hostname or IP address of the device.

strip

(list)(Optional)

List of multi-outlet on/off switch devices.

host

(string)(Required)

Hostname or IP address of the device.

switch

(list)(Optional)

List of on/off switch devices.

host

(string)(Required)

Hostname or IP address of the device.

dimmer

(list)(Optional)

List of dimmable switch devices.

host

(string)(Required)

Hostname or IP address of the device.

Manual configuration example

Extracting Energy Sensor data

Assistant

Devices that are confirmed to support Consumption Reading;

  1. HS110
  2. HS300

In order to get the power consumption readings from a TP-Link HS110 device, you’ll have to create a template sensor.In the example below, change all of the my_tp_switch‘s to match your device’s entity ID.