Connect Sonoff Mini to Homebridge without firmware. DIY mode

ByAdan Flannigan 2019-10-30 8089

Sonoff Mini aims to fix the issue of not having physical control over your lights. We can connect it through its standard DIY mode, which is available out of the box. That is, WITHOUT SOFTWARE, thus leaving the ability to update the device in the standard way. Commands will be sent directly to Sonoff Mini, not through Chinese servers.

Connect Sonoff Mini to Homebridge without firmware. DIY mode 

Step 1: put the device in DIY mode

To do this, we need to remove the cover, tampering with a screwdriver on the side and install the jumper that comes with it.

Connect Sonoff Mini to Homebridge without firmware. DIY mode 

After these simple manipulations, our device will go into DIY mode and we will have access to the API.

Step 2: Let's connect Sonoff Mini to our home network

In order to connect to the device(s) and transfer to it the parameters of our home WiFi network, you need to activate the access point (modem mode on the iphone) with these parameters on your smartphone:

WiFi SSID: sonoffDiy

WiFi password: 20170618sn

Step 3: Then you download Sonoff_Devices_DIY_Tools  to transfer the home network parameters to Sonoff Mini

P. S: If Sonoff_Devices_DIY_Tools generates an error, install the software  additionally.

Connect Sonoff Mini to Homebridge without firmware. DIY mode​ 

Write down your device id, you will need it later to configure the plugin. After that, highlight the required device and click "Change SSID Passsword". Set the parameters of our home network and wait a few minutes for the device to connect to Wifi. If Sonoff Mimi is successfully connected to our home network, the LED will flash double flashes.


After that, you need to start any IP Scanner and find out the IP address of your Sonoff Mini in your home network, you will need it later to configure the plugin.

Step 4: Let's install the plugin in our homebridge

If you have a Web interface installed on your homebridge, simply go to the Plug-ins section, enter "Homebridge Sonoff Mini Api Rest" in the search box and click "Install". Now we just need to add our accessory to the configuration file:

"accessories": [


    "accessory": "Sonoff",

    "name": "Sonoff Mini DIY",

    "uri": "",

    "id": "1000989596",

    "debug": false



 You may also want to read:
 How to enable Dark mode on POCO F1, Redmi Note 7 (Pro) and other Xiaomi phones with MIUI 10?
 Xiaomi Haylou Smartwatch VS Xiaomi Mi Band 4: Which One is More Worth Buying?
 GoPro Hero 8 vs DJI Osmo Action vs GoPro Hero 7: Which is the most stable action camera?

Gearbest Shopping on Gearbest

Extensive Product Selection

● Over 300,000 products

● 20 different categories

● 15 local warehosues

● Multiple top brands

Convenient Payment

● Global payment options: Visa, MasterCard, American Express

● PayPal, Western Union and bank transfer are accepted

● Boleto Bancario via Ebanx (for Brazil)

Prompt Shipping

● Unregistered air mail

● Registered air mail

● Priority line

● Expedited shipping

Dedicated After-sales Service

● 45 day money back guarantee

● 365 day free repair warranty

● 7 day Dead on Arrival guarantee (DOA)

You might also like


Related Products