question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Smart Xiaomi Smart Plug Plug-in Installation

See original GitHub issue

Hi everyone. I am a newbie here and I really need help. I installed node.js and homebridge without issue. Homebridge is installed in Home app but I cannot add an accessory. Planning to add this device on my Apple Homekit but I always fail:

Brand: Xiaomi Smart Device: Smart Plug Model Number: ZNCZ03CM

I changed my config.json and saved it. But everytime I restart homebridge, config.json resets to default and a new file is added in the .homebridge folder. Am I doing plug-in installation wrong?

Screenshot:

image

Homebridge Logs: Click this link

Homebridge Config:

{
    "bridge": {
        "name": "Homebridge 0E00",
        "username": "0E:FA:8C:2E:0E:00",
        "port": 51763,
        "pin": "463-86-618"
    },
    "accessories": [],
    "platforms": [ 
      "platform" : "XiaomiMiio",
      "name" : "XiaomiMiio",
      "pollChanges": true,
      "pollInterval": 15,
      "searchInterval": 1800,
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        }
    ]
}

Environment:

  • Node.js Version: v12.16.3
  • NPM Version: 6.14.4
  • Homebridge Version: 1.0.4
  • Operating System: Windows
  • Process Supervisor: hb-service

Looking forward for your help, guys!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
agtd1989commented, May 5, 2020

Will try later. I reinstalled everything, clean slate. Will let you know once done again.

0reactions
stale[bot]commented, Jun 26, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

szaboge/homebridge-mi-smart-plug - GitHub
Install this plugin using: npm install -g homebridge-mi-smart-plug --unsafe-perm. Edit config.json manually to add your plug. See below for instructions on ...
Read more >
Xiaomi MI Smart Plug (WIFI) - Review and Unboxing - YouTube
This is a review and unboxing of the Xiaomi MI Smart Plug Wifi.00:00 Unboxing03:07 Socket Setup04:31 Socket Test# Xiaomi # SmartPlug.
Read more >
Mi Smart Plug (Wi-Fi) User Manual
1. Install Mi Home App. Scan the QR code or go to App store to download and install Mi Home app. 2. Add...
Read more >
homebridge-mi-smart-plug - npm
Homebridge plugin for Xiaomi Mi Smart Plug. Latest version: 1.2.1, last published: 2 years ago. Start using homebridge-mi-smart-plug in your ...
Read more >
homebridge-xiaomi-smart-plug - NPM Package Overview
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found