0.0.31 • Published 2 years ago

homebridge-hassio-input_select v0.0.31

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

homebridge-hassio-input_select

A simple package to bridge mqtt input_select's from Home Assistant to Homekit using HomeBridge

Installation

Follow the instructions in homebridge for the homebridge server installation. This plugin is published through NPM and should be installed "globally" by typing:

npm install -g homebridge-tasmota-sonoff-thermostat

Configuration

An example configuration for HomeBridge is below:

{
  "accessory": "HassInputSelect",
  "name": "Hass Input Select",
  "values": [
    "Morning",
    "Day",
    "Night"
  ],
  "mqtt": {
    "url": "mqtt://192.168.1.2:1883",
    "clientid": "clinetid",
    "username": "username",
    "password": "password",
    "topic": "publish/topic/in/mqtt"
  }
}

And the following is an example Home Assistant config extract:

input_select:
  home_state:
    name: Current Home State
    options:
      - Morning
      - Day
      - Night

automation:
  - alias: Home Select Mqtt Publish
    trigger:
        platform: state
        entity_id: input_select.home_state
    action:
        - service: mqtt.publish
          data_template:
              topic: "hass-homebridge/home-state"
              payload: '{{ states.input_select.home_state.state }}'

  - alias: Home Select Mqtt Subscribe
    trigger:
        platform: mqtt
        topic: "hass-homebridge/home-state"
    action:
        - service: input_select.select_option
          target:
              entity_id: input_select.home_state
          data:
              option: "{{ trigger.payload }}

Release Notes

Roadmap:

  • Fully Test
  • Write Tests
0.0.31

2 years ago

0.0.30

3 years ago

0.0.29

3 years ago

0.0.28

3 years ago

0.0.27

3 years ago

0.0.26

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.14

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago