Closed zhapwey closed 3 years ago
ssh pi@gateway.local
raspberry
as the password..mozilla-iot/addons
directory. Mind the dot! It indicates it's a hidden directory. E.g. .mozilla-iot/addons
git clone https://github.com/kabbi/zigbee2mqtt-adapter.git
cd zigbee2mqtt
. ./package.sh
.sudo systemctl restart mozilla-iot-gateway.service
It should now show up in the add-on list.
You could propose file changes via the Github web interface. Just edit the file on the github website and create a new pull request there.
hello:
I managed to install the adapter with your guide, but it doesn't start correctly, it gives me this error
2019-08-16 10:25:17.722 INFO : Loading add-on: zigbee2mqtt-adapter
2019-08-16 10:25:18.502 INFO : zigbee2mqtt: Opening database: /home/pi/.mozilla-iot/config/db.sqlite3
2019-08-16 10:25:18.548 INFO : zigbee2mqtt: Loading add-on for zigbee2mqtt-adapter from /home/pi/.mozilla-iot/addons/zigbee2mqtt-adapter
2019-08-16 10:25:18.557 ERROR : zigbee2mqtt: { Error: Cannot find module 'mqtt'
2019-08-16 10:25:18.559 ERROR : zigbee2mqtt: at Function.Module._resolveFilename (module.js:548:15)
2019-08-16 10:25:18.561 ERROR : zigbee2mqtt: at Function.Module._load (module.js:475:25)
2019-08-16 10:25:18.563 ERROR : zigbee2mqtt: at Module.require (module.js:597:17)
2019-08-16 10:25:18.564 ERROR : zigbee2mqtt: at require (internal/module.js:11:18)
2019-08-16 10:25:18.565 ERROR : zigbee2mqtt: at Object.
hello:
npm install mqtt --save
and perfect, I'm going to prove that it works.
I love the integration in this application, it is very easy to add new devices with those that are already made.
I would love to have an example of a light bulb for the color that I am unable to make it work.
and I'm trying to operate the two-button xiaomi button. Following the cube but I am unable to understand the sense of how it works.
regards
But for me it is much easier to make everything work with mozilla iot than with the rest of the home automation integrations.
The addon how has a built-in Zigbee2MQTT program, and has become an official Webthings addon. So I think we can close this. If you want to add any devices, you still can.
hello:
I would love to be able to help and contribute by adding objects, but I can not find how to install add-ons on the mozilla IOT platform that are not in your list, someone could tell me or give me some reference.