zigbee2mqtt | Zigbee 🐝 to MQTT bridge 🌉 , get

 by   Koenkk JavaScript Version: 1.36.0 License: GPL-3.0

kandi X-RAY | zigbee2mqtt Summary

kandi X-RAY | zigbee2mqtt Summary

zigbee2mqtt is a JavaScript library typically used in Internet of Things (IoT) applications. zigbee2mqtt has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has medium support. You can install using 'npm i zigbee2mqtt' or download it from GitHub, npm.

Allows you to use your Zigbee devices without the vendor's bridge or gateway. It bridges events and allows you to control your Zigbee devices via MQTT. In this way you can integrate your Zigbee devices with whatever smart home infrastructure you are using. The documentation provides you all the information needed to get up and running! Make sure you don't skip sections if this is your first visit, as there might be important details in there for you. If you aren't familiar with Zigbee terminology make sure you read this to help you out.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              zigbee2mqtt has a medium active ecosystem.
              It has 9677 star(s) with 1460 fork(s). There are 222 watchers for this library.
              There were 8 major release(s) in the last 6 months.
              There are 281 open issues and 10695 have been closed. On average issues are closed in 65 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of zigbee2mqtt is 1.36.0

            kandi-Quality Quality

              zigbee2mqtt has 0 bugs and 0 code smells.

            kandi-Security Security

              zigbee2mqtt has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              zigbee2mqtt code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              zigbee2mqtt is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              zigbee2mqtt releases are available to install and integrate.
              Deployable package is available in npm.

            Top functions reviewed by kandi - BETA

            kandi has reviewed zigbee2mqtt and discovered the below as its top functions. This is intended to give you an instant insight into zigbee2mqtt implemented functionality, and help decide if they suit your requirements.
            • Starts the controller
            • Run the build .
            • Check the dist hash
            • Get the current hash
            • Stop processing resources
            • Exit code with restart
            • Starts the process .
            • Write the hash to disk
            • Stop the controller
            Get all kandi verified functions for this library.

            zigbee2mqtt Key Features

            No Key Features are available at this moment for zigbee2mqtt.

            zigbee2mqtt Examples and Code Snippets

            copy iconCopy
            homeassistant: false
            permit_join: true
            advanced:
              channel: 26
              log_level: debug
            mqtt:
              base_topic: zigbee2mqtt
               #   server: 'mqtt://192.168.178.32:1900'
               server: 'mqtt://192.168.1.39'
              
            serial:
              port: /dev/ttyACM1
            
            serial:
              port: COM4[/code  

            Community Discussions

            QUESTION

            Python: Stop Loop After Time Period
            Asked 2022-Mar-11 at 19:08

            I am having problems where every now and them my python script will cease to run and i'll stop getting data points added to the db, i want to make the script only run for 10 mins and every 10 mins a cron job will start a new instance.

            My code below fails to stop after 10 mins, my python experience is measured in minutes so i'm sure its something obvious to a seasoned Python coder, thanks in advance.

            ...

            ANSWER

            Answered 2022-Mar-11 at 00:18

            From a github issue of the library you are using:

            if you need to quit the program after a certain period of not receiving any messages, you might try something like this:

            Source https://stackoverflow.com/questions/71432076

            QUESTION

            how to convert Ikea light bulb color XY ( CIE 1931 colorspace ) to RGB
            Asked 2022-Jan-10 at 11:04
            Problem

            i got a similar problem like this one:

            How to convert CIE color space into RGB or HEX color code in PHP

            how to convert xy color to sRGB? I can't get the formular working xyY. What should i enter for Y?

            Setup of the environment

            i got an ikea light bulb which gives me a XY color value in the (CIE 1931 colorspace) I would like to convert it into RGB,(sRGB) or HEX.

            The Phosconn app is sending the following xy values when setting the colors by full brighness and saturation.

            ...

            ANSWER

            Answered 2022-Jan-07 at 11:19

            QUESTION

            own application use zigbee2mqtt and homeassistant : concurrent access
            Asked 2021-Dec-31 at 09:39

            I have my own application. This application use the zigbee2mqtt service running on the server.

            I want to add homeassistant on the same server.

            The server is a Raspberry with a zigbee USB stick connected.

            However, it seems that using both in the same time doesn't work.

            Either it works for my application, either it works for home assistant.

            Someone has an idea how to deal with it ? Does I need to buy an other zigbee USB stick (one for my own application, and one for Home assistant ?)

            Thanks

            ...

            ANSWER

            Answered 2021-Dec-31 at 09:39

            The solution found is the following :

            Use the homeassistant (supervisor) to have the feature to add the zigbee2mqtt add-on (here).

            Once it's successfully configured, the zigbee2mqtt service run in home assistant.

            And you can send mqtt messages to the service from homeassistant (via the existing integration). Also, you can send mqtt messages from my own application.

            It works !

            Source https://stackoverflow.com/questions/70489486

            QUESTION

            Solving this simple(?) JSONPath
            Asked 2020-Dec-10 at 02:57

            I am new to this topic, but I hope you can help me. I can't figure out a correct JSON expression for solving my problem.

            Given JSON structure (coming from zigbee2mqtt):

            ...

            ANSWER

            Answered 2020-Dec-10 at 02:57

            If I understand correctly, you are looking for an expression like this:

            Source https://stackoverflow.com/questions/65201641

            QUESTION

            How can i merge philips hue mesh with mqtt mesh in home assistant?
            Asked 2020-Dec-09 at 09:26

            My setup is as follows:

            Home assistant running on a VM server with CC2531 zigbee2mqtt USB stick. Next to server there is a Philips Hue hub.

            I have a number of Hue lights and switches connected to Philips Hue hub. This is integrated using Philips Hue integration to Home Assistant. I have some Aqara sensors I'm connecting to Home Assistant via USB stick. And integrated using MQTT into home assistant.

            Lights/switches work throughout the house - mesh is working correctly. Some devices are pretty far away. Aqara sensors ( they are all end devices ) are not working too far from USB stick.

            This leads me to believe that at this point i have two separate zibgee meshes - one native philips hue and one for aqara.

            How can i merge those two meshes ? I guess I'd have to do away with philips hue bridge and merge all philips devices into mqtt mesh ? Is there another way ?

            Thanks,

            B

            ...

            ANSWER

            Answered 2020-Dec-09 at 09:26

            You can either decide to use only your Z2M mesh and discard Hue. That needs to pair all devices from the Hue bridge to the CC2531 and Z2M. Keep in mind that CC2531 has limited resources and you can encounter issues if you have too many devices.

            What I suggest is to keep two distinct networks but move some of the bulbs to the Z2M mesh in order to use them as relays, especially for your furthest Aqara end devices.

            Source https://stackoverflow.com/questions/64296529

            QUESTION

            How to grant Tomcat 9 access on other files
            Asked 2020-May-14 at 01:31

            Tomcat 9 is sandboxed.

            I want to read data of a log file.

            The file is in "/opt/zigbee2mqtt/data/."

            I read this thread already and tried it. How to allow Tomcat war app to write in folder

            I edited the file, and did systemctl daemon-reload as well as systemctl restart tomcat9.

            Then I wrote my java class with should read the data out of the log file. But I get an exception.

            ...

            ANSWER

            Answered 2020-May-14 at 01:31

            Add tomcat to a group and grant this group to the required access to that file, you can create a group called webserver. Then restart tomcat and try again

            Source https://stackoverflow.com/questions/61783481

            QUESTION

            How to get a one-shot message with MQTT?
            Asked 2020-Apr-13 at 17:19

            I wrote a monitoring service for my home automation system. One of the things I would like to monitor are Zigbee devices, controlled by Zigbee2MQTT.

            I need to retrieve from Zigbee2MQTT the configured devices and perform some checks. Ideally there would be a synchronous API in Zigbee2MQTT to get this information, but it is all MQTT-based: - I need to subscribe to a topic - send a message to another topic - and I will the receive on the first topic the configuration.

            My first question would be: is there a ready-made solution for such one-shot cases? Something along the lines of

            ...

            ANSWER

            Answered 2020-Apr-13 at 17:19

            The signatures on your callback's are wrong.

            (Also you have no success path, so it will always say it failed.)

            Source https://stackoverflow.com/questions/61189974

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install zigbee2mqtt

            You can install using 'npm i zigbee2mqtt' or download it from GitHub, npm.

            Support

            See Supported devices to check whether your device is supported. There is quite an extensive list, including devices from vendors like Xiaomi, Ikea, Philips, OSRAM and more. If it's not listed in Supported devices, support can be added (fairly) easily, see How to support new devices.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i zigbee2mqtt

          • CLONE
          • HTTPS

            https://github.com/Koenkk/zigbee2mqtt.git

          • CLI

            gh repo clone Koenkk/zigbee2mqtt

          • sshUrl

            git@github.com:Koenkk/zigbee2mqtt.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link