Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The dimmer will reboot and connect to your wifi network. Check your router to find out it's IP address and connect to it via your browser.

Set the GPIOs

3 Way Setup

...

At the Console screen:

Enter:

...

backlog module 18;gpio4 21;gpio5

...

158;gpio12

...

22;gpio13 18;gpio14 9

...

;

...


Should result in the following:

Image RemovedImage Added


2 Way Setup

> backlog module 18;gpio4 52;gpio5 0;gpio12 29;gpio13 17;gpio14 0;switchmode 1

...

Code Block
        {
            "accessory": "mqttthing",
            "type": "lightbulb",
            "name": "garage-light",
            "url": "http://192.168.1.50:1883",
            "username": "homebridge",
            "password": "pass",
            "topics": {
                "getOn": "stat/garage-light/POWER1",
                "setOn": {
                  "topic": "cmnd/garage-light/EVENT"POWER2",
                  "apply": "return 'toggle';"
                }
            },
            "onValue": "ON",
            "offValue": "OFF",
            "startPub": {
                "cmnd/garage-light/POWER1": ""
            },
            "confirmationPeriodms": 1000
        },

...