pyenergenie | python interface to the Energenie line

 by   whaleygeek Python Version: Current License: MIT

kandi X-RAY | pyenergenie Summary

kandi X-RAY | pyenergenie Summary

pyenergenie is a Python library typically used in Internet of Things (IoT), Raspberry Pi applications. pyenergenie has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can download it from GitHub.

Energenie devices (both the green button devices, and the newer MiHome range) can be controlled and monitored by this Python library on a Raspberry Pi. With it you can turn sockets on and off, and monitor energy usage. There are two ways to control Energenie devices from a Raspberry Pi. One of their boards maps 4 GPIO's to transmit 4 standard messages. For that board, use this code from Ben Nuttall and Amy Mather: Ben and Amy's code. The second board, the ENER314-RT board, is a full radio that is programmable from the SPI interface of the Raspberry Pi. For that board, please use this code, which now supports all models of Raspberry Pi, and all devices from Energenie (including the old green button devices and the new MiHome monitor devices). The Energenie product line uses the HopeRF radio transciever, and the OpenThings protocol from Sentec. Energenie have built a RaspberryPi add-on board that interfaces to the HopeRF RFM69, and allows both control and monitoring of their products from a Raspberry Pi. Energenie have some (old) sample code written in C to control and monitor their devices, but this package is now considered to be far superior. Energenie have been very kind in supporting this work by loaning devices to help with the testing of this code. This python library uses a 'zero install' strategy, by embedding everything that is needed in once place. In theory, you can just press the DownloadZip button, unzip the code, and run it, and it will work. (None of that sudo apt-get install nonsense!). This code should work with both Python 2 and Python 3. It has been tested with both, but note that ongoing development occurs in Python 3 and the support for Python2 is disappearing gradually.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pyenergenie has a low active ecosystem.
              It has 77 star(s) with 51 fork(s). There are 34 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 37 open issues and 74 have been closed. On average issues are closed in 496 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of pyenergenie is current.

            kandi-Quality Quality

              pyenergenie has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              pyenergenie is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              pyenergenie releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              pyenergenie saves you 1403 person hours of effort in developing the same functionality from scratch.
              It has 3486 lines of code, 392 functions and 29 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pyenergenie and discovered the below as its top functions. This is intended to give you an instant insight into pyenergenie implemented functionality, and help decide if they suit your requirements.
            • Switch the device
            • Set bulb brightness
            • Send a message
            • Get a random number from a given list
            • Receive data
            • Returns the number of bit bits for the given typeid
            • Decode the value of the given typeid
            • Decrypt payload
            • Clean up the GPIO pins
            • Watch devices
            • The main loop
            • Loop through sockets
            • Toggle the socket switch
            • Handle incoming messages
            • Rename the device
            • Discover Mihome
            • Auto loop
            • Setup the tool
            • Turn on ON
            • Called when an unknown device is confirmed
            • Receive messages from the receiver
            • Receive data
            • Send payload to OpenThings
            • Send payload to the device
            • Legacy learn function
            • Start logging
            Get all kandi verified functions for this library.

            pyenergenie Key Features

            No Key Features are available at this moment for pyenergenie.

            pyenergenie Examples and Code Snippets

            No Code Snippets are available at this moment for pyenergenie.

            Community Discussions

            Trending Discussions on Internet of Things (IoT)

            QUESTION

            Display data from two json files in react native
            Asked 2020-May-17 at 23:55

            I have js files Dashboard and Adverts. I managed to get Dashboard to list the information in one json file (advertisers), but when clicking on an advertiser I want it to navigate to a separate page that will display some data (Say title and text) from the second json file (productadverts). I can't get it to work. Below is the code for the Dashboard and next for Adverts. Then the json files

            ...

            ANSWER

            Answered 2020-May-17 at 23:55

            The new object to get params in React Navigation 5 is:

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install pyenergenie

            You can download it from GitHub.
            You can use pyenergenie like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For support for EV1527 remote from Digoo (DG-HAMA/HOSA) there is support for a generic EV1527 based switch here: EV1527. There is a NodeRed package, which was based on this work and kindly provided by another user. The package is well written and well maintained, and is a thorough and representative implementation of all the features you would get from this Python library. node-red-contrib-energenie-ener314rt.
            Find more information at:

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

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/whaleygeek/pyenergenie.git

          • CLI

            gh repo clone whaleygeek/pyenergenie

          • sshUrl

            git@github.com:whaleygeek/pyenergenie.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