Skip to content
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.

Added a 5V Relay to the sensor #66

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added a 5V Relay to the sensor #66

wants to merge 2 commits into from

Commits on Jan 1, 2019

  1. Added a 5V Relay to the sensor

    Added a 5V Relay to the sensor:
    
    In HA (switch):
    - platform: mqtt
      name: "sensornode1 relay"  
      state_topic: "bruh/sensornode1"  
      command_topic: "bruh/sensornode1/relay"
      value_template: '{{ value_json.relay }}'
      qos: 0
      retain: true
    
    In HA (light)
    - platform: mqtt_json  
      name: "sensornode1 light"  
      state_topic: "bruh/sensornode1"  
      command_topic: "bruh/sensornode1/light"  
      assumed_state: false
      brightness: true
      flash: false  
      rgb: true  
      optimistic: false
      qos: 0
    
    Othe sensors as before.
    martinezpenya committed Jan 1, 2019
    Configuration menu
    Copy the full SHA
    50e392d View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from martinezpenya/martinezpenya-patch-1

    Added a 5V Relay to the sensor
    martinezpenya committed Jan 1, 2019
    Configuration menu
    Copy the full SHA
    b06eb30 View commit details
    Browse the repository at this point in the history