Coder Social home page Coder Social logo

andrewlinden / xiaomi-zb2mqtt Goto Github PK

View Code? Open in Web Editor NEW
98.0 15.0 18.0 21 KB

Xiaomi Zigbee to MQTT bridge using zigbee-shepherd

License: GNU General Public License v3.0

JavaScript 100.00%
mqtt-bridge xiaomi-zigbee xiaomi-zb2mqtt zigbee-shepherd mqtt xiaomi zigbee zigbee-gateway sensors switches

xiaomi-zb2mqtt's People

Contributors

andrewlinden avatar jpbarraca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xiaomi-zb2mqtt's Issues

Support for internal LED on CC2531

This might not be the most pressing issue, but it would be nice if the LED on the CC2531 itself could be controlled by MQTT as well.

I happily replaced my Xiamoi Aqara with the CC2531, but that green LED is incredibly bright for its size --illuminating my bed room at night.

Though, I have no idea if this is something that can be controlled with this hardware.

Add license

Hi @AndrewLinden,

I love your project and created a Things Gateway add-on using parts of your code. Do you authorize me to publish it if I add you to the contributors?

Existing add-ons for the Things Gateway use the Mozilla Public License as they are written by Mozilla folks. If you agree, I will publish my add-on using the same license.

Pairing Fails

Hey!
When trying to pair a Xiaomi device I get the following error:

                throw e;
                ^

Error: Uncaught, unspecified "error" event. (Cannot get the Node Descriptor of the Device: 0x00158d000120d504)
    at ZShepherd.emit (events.js:163:17)
    at /home/pi/xiaomi-zb2mqtt/node_modules/zigbee-shepherd/lib/components/controller.js:609:28
    at _rejected (/home/pi/xiaomi-zb2mqtt/node_modules/q/q.js:864:24)
    at /home/pi/xiaomi-zb2mqtt/node_modules/q/q.js:890:30
    at Promise.when (/home/pi/xiaomi-zb2mqtt/node_modules/q/q.js:1142:31)
    at Promise.promise.promiseDispatch (/home/pi/xiaomi-zb2mqtt/node_modules/q/q.js:808:41)
    at /home/pi/xiaomi-zb2mqtt/node_modules/q/q.js:624:44
    at runSingle (/home/pi/xiaomi-zb2mqtt/node_modules/q/q.js:137:13)
    at flush (/home/pi/xiaomi-zb2mqtt/node_modules/q/q.js:125:13)
    at _combinedTickCallback (internal/process/next_tick.js:73:7)```

root@raspberrypi:~/xiaomi-zb2mqtt# npm install doesn`t work

Hi,
trieing to install npm i will get following error and i cannot find any solution. Thanks for your help

root@raspberrypi:~/xiaomi-zb2mqtt# npm install
npm WARN package.json [email protected] No README data
/

[email protected] install /root/xiaomi-zb2mqtt/node_modules/zigbee-shepherd/node_modules/cc-znp/node_modules/serialport
node-pre-gyp install --fallback-to-build

sh: 1: node-pre-gyp: Permission denied
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian

npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 127
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the serialport package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get their info via:
npm ERR! npm owner ls serialport
npm ERR! There is likely additional logging output above.

npm ERR! System Linux 4.9.35-v7+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /root/xiaomi-zb2mqtt
npm ERR! node -v v0.10.29
npm ERR! npm -v 1.4.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/xiaomi-zb2mqtt/npm-debug.log
npm ERR! not ok code 0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.