SanTechIT / homebridge-iotas-test

A homebridge plugin to control an IOTAS light switch with Siri

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

homebridge-iotas

  • Based off of stevesample/homebridge-iotas-switch
  • Based off of kpsuperplane/homebridge-iotas

Changes

  • Fixed support for IOTAS API changes (circa 2022)
  • Fixed door showing up as a thermostat.
  • Room Outlet Switch (WIP)

Will not fix

The door status is broken on IOTAS's API (The door function, however, works just fine).

If you use the keypad or the door is configured to auto-lock, the lock state becomes desynced.

As a result, Homekit will show "Locking..." even when the door is locked, and vice versa.

This problem is also observed on the first-party IOTAS app. (More research is needed for workarounds if any exist)

Currently supports

  • Switch
  • Outlet (Broken)
  • Light (e.g. brightness levels)
  • Thermostats

Installation

  1. Install homebridge using: npm install -g homebridge
  2. Install this plugin using: npm install -g homebridge-iotas
  3. Update your configuration file. See the sample below.

NPM link / sideload (not published on npm)

  1. git clone
  2. npm install typescript
  3. npx tsc
  4. npm link

Configuration

Configuration sample:

"platforms": [
 {
   "platform" : "homebridge-iotas",
   "name" : "Iotas",
   "username": "[My_iotas_username]",
   "password": "[My_iotas_password]",
   "unit": "[unit_name]" // optional, will default to the first one found
 }
]

License

See LICENSE file

About

A homebridge plugin to control an IOTAS light switch with Siri

License:Apache License 2.0


Languages

Language:TypeScript 100.0%