Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 1.01 KB

README.md

File metadata and controls

29 lines (24 loc) · 1.01 KB

A smart power strip that use an RTC module or MQTT messages to switch power outlets.

Build Status

Image of the first prototype: three relays with three switch on a breadboard.

This project can be integrated with home-assistant with the following configuration:

switch:
  - platform: mqtt
    name: Relay 1
    state_topic: "PG-6fb4d7b6/relay1"
    command_topic: "PG-6fb4d7b6/relay1/set"
    retain: true
  - platform: mqtt
    name: Relay 2
    state_topic: "PG-6fb4d7b6/relay2"
    command_topic: "PG-6fb4d7b6/relay2/set"
    retain: true
  - platform: mqtt
    name: Relay 3
    state_topic: "PG-6fb4d7b6/relay3"
    command_topic: "PG-6fb4d7b6/relay3/set"
    retain: true

Result:

Home-assistant user interface.