andrewlinden / xiaomi-zb2mqtt Goto Github PK
View Code? Open in Web Editor NEWXiaomi Zigbee to MQTT bridge using zigbee-shepherd
License: GNU General Public License v3.0
Xiaomi Zigbee to MQTT bridge using zigbee-shepherd
License: GNU General Public License v3.0
...
"zigbee-shepherd": "git+https://github.com/zigbeer/zigbee-shepherd.git",
...
The comma at the end has to be removed
Can we use XBee or any other chip instead of cc2531?
As this repo is no longer being maintained for anyone interested see my fork with additional Aqara, Battery and MQTT Command Support here: Fork
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.
Hey!
How do I increase the NWK_MAX_DEVICE_LIST an connect more than 20 devices?
I do not know how to build the correct firmware.
Best
@AndrewLinden AndrewLinden
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.
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)```
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.