JSPM

homebridge-ismarty

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 5
  • Score
    100M100P100Q24576F
  • License MIT

iSmarty Homebridge Plugin

Package Exports

  • homebridge-ismarty

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (homebridge-ismarty) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

homebridge-ismarty

About

iSmarty Homebridge Plugin that create an HomeKit accessories:

iSmarty Device HomeKit Accessory
Switch Switch
Outlet Outlet
Air Temperature, Humidity

Installation

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

npm install -g homebridge-ismarty

Configuration

Add an configuration section in homebridge.config file:

"accessories": [
    {
        "accessory": "iSmarty",
        "model": "Switch",
        "name": "Living Room TV Switch"
        "serialNumber": "sms-000-001"
    },
    {
        "accessory": "iSmarty",
        "model": "Outlet",
        "name": "Living Room Corner Light Outlet"
        "serialNumber": "smo-000-001"
    },
    {
        "accessory": "iSmarty",
        "model": "Air",
        "name": "Living Room Air Station"
        "serialNumber": "sma-000-001"
    }
]

MQTT Topics

iSmarty Air:

  • Subscribe topics:
/ismarty/air/serialNumber/out/temperature/value
/ismarty/air/serialNumber/out/humidity/value

value - Float value

iSmarty Switch:

  • Subscribe topics:
/ismarty/switch/serialNumber/out/switch/value

value - Bool value

  • Publish topics:
 /ismarty/switch/serialNumber/in/switch/value

value - Bool value

iSmarty Outlet:

  • Subscribe topics:
/ismarty/outlet/serialNumber/out/outlet/value

value - Bool value

  • Publish topics:
/ismarty/outlet/serialNumber/in/outlet/value

value - Bool value

Release Notes

Version 1.0.0

  • Initial version