Skip to content

🔌 This component can read values from and control Plugwise circles and plugs.

License

Notifications You must be signed in to change notification settings

cyberjunky/home-assistant-plugwise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hacs_badge made-with-python Donate

Plugwise Component

This is a Custom Component for Home-Assistant (https://home-assistant.io), it can read values from and control Plugwise circles and plugs.

Installation

HACS - Recommended

  • Have HACS installed, this will allow you to easily manage and track updates.
  • Search for 'Plugwise'.
  • Click Install below the found integration.
  • Configure using the configuration instuctions below.
  • Restart Home-Assistant.

Manual

  • Copy directory plugwise to your <config dir>/custom_components directory.
  • It has as dependency the 'plugwise' module from PyPi, but it will be installed automatically.
  • Configure with config below.
  • Restart Home-Assistant.

Usage

To use this component in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry

switch:
  - platform: plugwise
    port: /dev/ttyUSB0
    circles:
      CirclePlus: 000D6F000023711C
      Koelkast: 000D6F00001C8F33

Configuration variables:

  • port (Optional): Port used by your plugwise stick. (default = /dev/ttyUSB0)
  • circles (Required): This section tells the component which mac addresses your plugs have and which device names you want to use.

If you want to graph power consumption values you can convert the attribute of the switch into a sensor using template platform like so:

# Example sensor.yaml entry

- platform: template
  sensors:
    circleplus_power_usage:
      friendly_name: "CirclePlus Power Usage"
      unit_of_measurement: 'Watt'
      value_template: "{{ states.switch.circleplus.attributes.current_consumption }}"

NOTE: works in Hass.io

Screenshots

alt tag alt tag alt tag

Donation

Donate