pyMeterBus | Pure Python implementation of the Meter-Bus

 by   ganehag Python Version: 0.8.3 License: Non-SPDX

kandi X-RAY | pyMeterBus Summary

kandi X-RAY | pyMeterBus Summary

pyMeterBus is a Python library typically used in Telecommunications, Media, Telecom, Internet of Things (IoT), Raspberry Pi, Arduino applications. pyMeterBus has build file available and it has low support. However pyMeterBus has 2 bugs, it has 1 vulnerabilities and it has a Non-SPDX License. You can install using 'pip install pyMeterBus' or download it from GitLab, GitHub, PyPI.

[M-Bus] (Meter-Bus) is a European standard (EN 13757-2 physical and link layer, EN 13757-3 application layer) for the remote reading of gas or electricity meters. M-Bus is also usable for other types of consumption meters. The M-Bus interface is made for communication on two wires, making it very cost effective.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              pyMeterBus has a low active ecosystem.
              It has 35 star(s) with 28 fork(s). There are 9 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 3 open issues and 7 have been closed. On average issues are closed in 25 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of pyMeterBus is 0.8.3

            kandi-Quality Quality

              pyMeterBus has 2 bugs (0 blocker, 0 critical, 2 major, 0 minor) and 213 code smells.

            kandi-Security Security

              pyMeterBus has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              pyMeterBus code analysis shows 1 unresolved vulnerabilities (0 blocker, 1 critical, 0 major, 0 minor).
              There are 1 security hotspots that need review.

            kandi-License License

              pyMeterBus has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              pyMeterBus releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.
              It has 4445 lines of code, 533 functions and 43 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed pyMeterBus and discovered the below as its top functions. This is intended to give you an instant insight into pyMeterBus implemented functionality, and help decide if they suit your requirements.
            • Command line interface for CLI requests
            • Serialize a frame to JSON
            • Ping an address
            • Parse the value for the VIFX field
            • Parse the VIFx code
            • Read a single frame
            • Receive a single frame from the stream
            • Command line interface
            • Handle a character device
            • Command line interface for command line arguments
            • Tries to probe the secondary address
            • Scan a secondary address
            • Return a dictionary representation of the data
            • Parses DIF
            • Sets up the primary
            • Send a request frame
            • Send data to the serial port
            • Return True if value is a primary address
            • Send a request frame to the specified address
            • Send a ping frame
            • Find the version in the version file
            • Return the unit of the VIFX file
            • Print meter data
            • Decode a date and return a date time
            • Calculates a date and time and time
            • Decode a date time
            Get all kandi verified functions for this library.

            pyMeterBus Key Features

            No Key Features are available at this moment for pyMeterBus.

            pyMeterBus Examples and Code Snippets

            Code examples,Decode the value of a single record (record 3)
            Pythondot img1Lines of Code : 18dot img1License : Non-SPDX (NOASSERTION)
            copy iconCopy
            #!/usr/bin/python
            
            import meterbus
            
            data = "\x68\x6A\x6A\x68\x08\x01\x72\x43\x53\x93\x07\x65" \
                   "\x32\x10\x04\xCA\x00\x00\x00\x0C\x05\x14\x00\x00" \
                   "\x00\x0C\x13\x13\x20\x00\x00\x0B\x22\x01\x24\x03" \
                   "\x04\x6D\x12\x0B\xD3\x12\x  
            Code examples,Request a frame over Serial and dump it in JSON format
            Pythondot img2Lines of Code : 17dot img2License : Non-SPDX (NOASSERTION)
            copy iconCopy
            #!/usr/bin/python
            
            import serial
            import meterbus
            
            address = 254
            
            with serial.Serial('/dev/ttyACM0', 2400, 8, 'E', 1, 0.5) as ser:
              meterbus.send_ping_frame(ser, address)
              frame = meterbus.load(meterbus.recv_frame(ser, 1))
              assert isinstance(frame,  

            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 pyMeterBus

            You can install using 'pip install pyMeterBus' or download it from GitLab, GitHub, PyPI.
            You can use pyMeterBus 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

            data[str]: M-Bus frame data. Returns an object of either type WTelegramSndNr, TelegramACK, TelegramShort, TelegramControl or TelegramLong. If an error occurs, it will raise a MBusFrameDecodeError. Produces debug messages to stdout. Sends a PING frame to address over the serial connection ser. Reads an entire frame and returns the unparsed data. If req is None, build a new request frame using address and send it. Sends a select frame with the supplied secondary address.
            Find more information at:

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

            Find more libraries
            Install
          • PyPI

            pip install pyMeterBus

          • CLONE
          • HTTPS

            https://github.com/ganehag/pyMeterBus.git

          • CLI

            gh repo clone ganehag/pyMeterBus

          • sshUrl

            git@github.com:ganehag/pyMeterBus.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