HomeBridge on macOS

«  Ch08 - Dimensionality Reduction
Python Selenium  »

Download LTS Node.js

https://nodejs.org/en/download/

check succeed or not by:

$ npm -v
$ node -v

Install HomeBridge and HomeBridge UI

$ sudo npm install -g --unsafe-perm homebridge homebridge-config-ui-x
$ sudo hb-service install

Login Homebridge UI

  1. visit http://localhost:8581, with user: admin, pass: admin
  2. Configure
  File Location / Command
Config File Path ~/.homebridge/config.json
Storage Path ~/.homebridge
Restart Command sudo hb-service restart
Stop Command sudo hb-service stop
Start Command sudo hb-service start
View Logs Command hb-service logs
Launchctl Service File /Library/LaunchDaemons/com.homebridge.server.plist

Connect Nature Remo

https://developer.nature.global/en/overview

Take Access Token

Issue Access Token from: https://home.nature.global/

Get Applications

ex: homebridge-nature-remo-sensor plugin to setup Temperature Sensor

{
    "bridge": {
        ...
    },
    "accessories": [
        {
            "name": "Temperature sensor",
            "deviceName": "Nature Remo Mini",
            "accessToken": "YOUR TOKEN",
            "mini": true,
            "sensors": {
                "temperature": true,
                "humidity": false,
                "light": false
            },
            "accessory": "remo-sensor"
        }
    ],
    "platforms": [
        {
            "..."
        }
    ]
}

References

Published on 16 Oct 2021 Find me on Facebook, Twitter!

«  Ch08 - Dimensionality Reduction
Python Selenium  »

Comments

    Join the discussion for this article at here . Our comments is using Github Issues. All of posted comments will display at this page instantly.