weewx-aurora | Using weewx to record aurora inverter data

 by   gjr80 Python Version: v0.6.1 License: GPL-3.0

kandi X-RAY | weewx-aurora Summary

kandi X-RAY | weewx-aurora Summary

weewx-aurora is a Python library typically used in Raspberry Pi applications. weewx-aurora has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has low support. However weewx-aurora build file is not available. You can download it from GitHub.

The Aurora driver extension allows weeWX to interact with a Power One Aurora inverter to obtain and archive solar PV data from the inverter. The driver interacts with the inverter over a serial connection using the Power One Aurora Inverter Series Communications Protocol to query the inverter state. The driver maps various inverter readings to weeWX loop packet fields and emits loop packets at a user configurable rate.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              weewx-aurora has a low active ecosystem.
              It has 3 star(s) with 2 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 8 open issues and 1 have been closed. On average issues are closed in 26 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of weewx-aurora is v0.6.1

            kandi-Quality Quality

              weewx-aurora has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              weewx-aurora 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

              weewx-aurora releases are available to install and integrate.
              weewx-aurora has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              It has 1023 lines of code, 53 functions and 3 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed weewx-aurora and discovered the below as its top functions. This is intended to give you an instant insight into weewx-aurora implemented functionality, and help decide if they suit your requirements.
            • Generate loop packets
            • Send a command with the given payload
            • Calculates the difference between two items
            • Send a command to the ethernet
            • Convert a value into a ResponseTuple
            • Decode a decoded int value
            • Decode value as a tuple
            • Decode the tx_state and g_state
            • Get the dsp output
            • Close the reactor port
            • Get the last alarms
            • Get the part number
            • Get the version of the device
            • The serial number of the device
            • Return the manufacturer date
            • List of firmware release
            • Get the cumulative energy for a given period
            • Decode a dec state
            • Decode ascii
            • Get the time of the inverter
            • Decode the decarm response
            • Decode dec week and year value
            • Decode a float value
            • Set the current time of the inverter
            • Open the reactor port
            Get all kandi verified functions for this library.

            weewx-aurora Key Features

            No Key Features are available at this moment for weewx-aurora.

            weewx-aurora Examples and Code Snippets

            No Code Snippets are available at this moment for weewx-aurora.

            Community Discussions

            No Community Discussions are available at this moment for weewx-aurora.Refer to stack overflow page for discussions.

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

            Vulnerabilities

            No vulnerabilities reported

            Install weewx-aurora

            The Aurora driver extension can be installed manually or automatically using the wee_extension utility. The preferred method of installation is through the use of wee_extension.
            $DOWNLOAD_ROOT. The path to the directory containing the downloaded Aurora driver extension.
            $BIN_ROOT. The path to the directory where weeWX executables are located. This directory varies depending on weeWX installation method. Refer to where to find things in the weeWX User's Guide for further information.
            Download the latest Aurora driver extension from the Aurora driver extension releases page into a directory accessible from the weeWX machine. where $DOWNLOAD_ROOT is the path to the directory where the Aurora driver extension is to be downloaded.
            Download the latest Aurora driver extension from the Aurora driver extension releases page into a directory accessible from the weeWX machine. $ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-aurora/releases/download/v0.6.1/aurora-0.6.1.tar.gz where $DOWNLOAD_ROOT is the path to the directory where the Aurora driver extension is to be downloaded.
            Stop weeWX: $ sudo /etc/init.d/weewx stop or $ sudo service weewx stop
            Install the Aurora driver extension downloaded at step 1 using the wee_extension utility: $ wee_extension --install=$DOWNLOAD_ROOT/aurora-0.6.1.tar.gz This will result in output similar to the following: Request to install '/var/tmp/aurora-0.6.1.tar.gz' Extracting from tar archive /var/tmp/aurora-0.6.1.tar.gz Saving installer file to /home/weewx/bin/user/installer/aurora Saved configuration dictionary. Backup copy at /home/weewx/weewx.conf.20180128124410 Finished installing extension '/var/tmp/aurora-0.6.1.tar.gz'
            Select and configure the driver: $ sudo wee_config --reconfigure
            Run weeWX directly and confirm that loop packets and archive records are being generated and the data is appears valid: $ sudo weewxd weewx.conf Note: Depending on the present working directory and your weeWX installation type it may be necessary to prefix weewxd and weewx.conf with appropriate paths. You should now see something like below with a series of loop packets (indicated by LOOP: preceding each line) every 10 seconds and archive records (indicated by REC: preceding each line) every archive interval seconds: LOOP: 2018-02-03 15:54:50 AEST (1517637290) boosterTemp: 96.5233505249, bulkdcVoltage: 381.726715088, bulkmidVoltage: 199.653121948, bulkVoltage: 382.354553223, dateTime: 1517637290, dayEnergy: 8636, energy: 2, gridavgVoltage: 243.444396973, gridCurrent: 2.02972531319, griddcFrequency: 50.0600738525, griddcVoltage: 243.019439697, gridFrequency: 50.0600738525, gridnVoltage: 305.367279053, gridPower: 494.799346924, gridVoltage: 242.946365356, inverterTemp: 95.6759544373, isoResistance: 6.53649520874, leakCurrent: 0.00441941944882, leakdcCurrent: 0.0, string1Current: 0.758069634438, string1Power: 253.94921875, string1Voltage: 359.214996338, string2Current: 0.767736792564, string2Power: 258.066558838, string2Voltage: 357.547058105, timeDate: 1517637291, usUnits: 1 LOOP: 2018-02-03 15:55:00 AEST (1517637300) boosterTemp: 96.5189491272, bulkdcVoltage: 381.098876953, bulkmidVoltage: 199.653121948, bulkVoltage: 382.354553223, dateTime: 1517637300, dayEnergy: 8637, energy: 1, gridavgVoltage: 243.432281494, gridCurrent: 2.02972531319, griddcFrequency: 50.0841407776, griddcVoltage: 242.313354492, gridFrequency: 50.0831375122, gridnVoltage: 305.144683838, gridPower: 496.422271729, gridVoltage: 242.982879639, inverterTemp: 95.6770530701, isoResistance: 6.53649520874, leakCurrent: 0.00441941944882, leakdcCurrent: 0.0, string1Current: 0.757264018059, string1Power: 253.298355103, string1Voltage: 358.233856201, string2Current: 0.772570431232, string2Power: 257.640594482, string2Voltage: 359.038391113, timeDate: 1517637301, usUnits: 1 LOOP: 2018-02-03 15:55:10 AEST (1517637310) boosterTemp: 96.5321601868, bulkdcVoltage: 381.098876953, bulkmidVoltage: 199.025268555, bulkVoltage: 382.354553223, dateTime: 1517637310, dayEnergy: 8639, energy: 2, gridavgVoltage: 243.395889282, gridCurrent: 2.0580675602, griddcFrequency: 50.1042175293, griddcVoltage: 242.240203857, gridFrequency: 50.1042175293, gridnVoltage: 306.149841309, gridPower: 497.233734131, gridVoltage: 242.970703125, inverterTemp: 95.6792640686, isoResistance: 6.53649520874, leakCurrent: 0.00441941944882, leakdcCurrent: 0.0, string1Current: 0.757264018059, string1Power: 255.268432617, string1Voltage: 359.882171631, string2Current: 0.775792837143, string2Power: 258.421295166, string2Voltage: 357.488189697, timeDate: 1517637311, usUnits: 1 LOOP: 2018-02-03 15:55:20 AEST (1517637320) boosterTemp: 96.5244491577, bulkdcVoltage: 381.726715088, bulkmidVoltage: 199.653121948, bulkVoltage: 386.749420166, dateTime: 1517637320, dayEnergy: 8640, energy: 1, gridavgVoltage: 243.347320557, gridCurrent: 2.0580675602, griddcFrequency: 50.1132545471, griddcVoltage: 242.873519897, gridFrequency: 50.1122512817, gridnVoltage: 305.666992188, gridPower: 499.668151855, gridVoltage: 243.116577148, inverterTemp: 95.6946929932, isoResistance: 6.53649520874, leakCurrent: 0.00441941944882, leakdcCurrent: 0.0, string1Current: 0.758069634438, string1Power: 255.205551147, string1Voltage: 360.176513672, string2Current: 0.774987220764, string2Power: 258.839141846, string2Voltage: 357.174224854, timeDate: 1517637321, usUnits: 1 REC: 2018-02-03 15:55:00 AEST (1517637300) boosterTemp: 96.5136605835, bulkdcVoltage: 381.475579834, bulkmidVoltage: 199.52755127, bulkVoltage: 382.982391357, dateTime: 1517637300.0, dayEnergy: 8634.4, energy: 5.0, gridavgVoltage: 243.495370483, gridCurrent: 2.02964129448, griddcFrequency: 50.0747131348, griddcVoltage: 242.812478638, gridFrequency: 50.0753143311, gridnVoltage: 305.237585449, gridPower: 493.501000977, gridVoltage: 242.841641235, interval: 5, inverterTemp: 95.6761741638, isoResistance: 6.53649520874, leakCurrent: 0.00441941944882, leakdcCurrent: 0.0, string1Current: 0.755330586433, string1Power: 252.531326294, string1Voltage: 358.532122803, string2Current: 0.767897939682, string2Power: 256.399765015, string2Voltage: 359.328808594, timeDate: 1517637281.0, usUnits: 1 LOOP: 2018-02-03 15:55:30 AEST (1517637330) boosterTemp: 96.5409767151, bulkdcVoltage: 382.354553223, bulkmidVoltage: 199.025268555, bulkVoltage: 382.982391357, dateTime: 1517637330, dayEnergy: 8641, energy: 1, gridavgVoltage: 243.310913086, gridCurrent: 2.0580675602, griddcFrequency: 50.1152648926, griddcVoltage: 242.471786499, gridFrequency: 50.1152648926, gridnVoltage: 305.666992188, gridPower: 500.479614258, gridVoltage: 242.81262207, inverterTemp: 95.7321769714, isoResistance: 6.53649520874, leakCurrent: 0.00441941944882, leakdcCurrent: 0.00441941944882, string1Current: 0.758875250816, string1Power: 255.55909729, string1Voltage: 358.920654297, string2Current: 0.778209626675, string2Power: 260.399230957, string2Voltage: 358.547821045, timeDate: 1517637331, usUnits: 1 The above indicates that the inverter is being interrogated, valid data being received and weeWX is constructing archive records from the accumulated loop data.
            If all appears correct when run directly you can stop weeWX by entering Ctl-Z in the terminal and you can now start weeWX as a daemon: $ sudo /etc/init.d/weewx start or $ sudo service weewx start
            The weeWX log should be monitored to verify archive records are being saved.
            Download the latest Aurora driver extension from the Aurora driver extension releases page into a directory accessible from the weeWX machine. where $DOWNLOAD_ROOT is the path to the directory where the Aurora driver extension is to be downloaded.
            Download the latest Aurora driver extension from the Aurora driver extension releases page into a directory accessible from the weeWX machine. $ wget -P $DOWNLOAD_ROOT https://github.com/gjr80/weewx-aurora/releases/download/v0.6.1/aurora-0.6.1.tar.gz where $DOWNLOAD_ROOT is the path to the directory where the Aurora driver extension is to be downloaded.
            Stop weeWX: $ sudo /etc/init.d/weewx stop or $ sudo service weewx stop
            Unpack the extension as follows: $ tar xvfz aurora-0.6.1.tar.gz
            Copy files from within the resulting directory as follows: $ cp aurora/bin/user/*.py $BIN_ROOT/user replacing the symbolic name $BIN_ROOT with the nominal locations for your installation.
            Edit weewx.conf: $ vi weewx.conf
            Add a new stanza [Aurora] as follows entering an appropriate values for model, port and address: [Aurora] # This section is for the Power One Aurora series of inverters. # The inverter model, e.g., Aurora PVI-6000, Aurora PVI-5000 model = INSERT_MODEL_HERE # Serial port such as /dev/ttyS0, /dev/ttyUSB0, or /dev/cua0 port = /dev/ttyUSB0 # inverter address, usually 2 address = 2 # The driver to use: driver = user.aurora
            Add a new stanza [Accumulator] as follows: [Accumulator] [[energy]] extractor = sum
            Confirm/change as required the following settings: [Station]: station_type = Aurora [StdArchive]: record_generation = software
            Save weewx.conf.
            Run weeWX directly and confirm that loop packets and archive records are being generated and the data is appears valid: $ sudo weewxd weewx.conf Note: Depending on the present working directory and your weeWX installation type it may be necessary to prefix weewxd and weewx.conf with appropriate paths. You should now see something like below with a series of loop packets (indicated by LOOP: preceding each line) every 10 seconds and archive records (indicated by REC: preceding each line) every archive interval seconds: LOOP: 2018-02-03 15:54:50 AEST (1517637290) boosterTemp: 96.5233505249, bulkdcVoltage: 381.726715088, bulkmidVoltage: 199.653121948, bulkVoltage: 382.354553223, dateTime: 1517637290, dayEnergy: 8636, energy: 2, gridavgVoltage: 243.444396973, gridCurrent: 2.02972531319, griddcFrequency: 50.0600738525, griddcVoltage: 243.019439697, gridFrequency: 50.0600738525, gridnVoltage: 305.367279053, gridPower: 494.799346924, gridVoltage: 242.946365356, inverterTemp: 95.6759544373, isoResistance: 6.53649520874, leakCurrent: 0.00441941944882, leakdcCurrent: 0.0, string1Current: 0.758069634438, string1Power: 253.94921875, string1Voltage: 359.214996338, string2Current: 0.767736792564, string2Power: 258.066558838, string2Voltage: 357.547058105, timeDate: 1517637291, usUnits: 1 LOOP: 2018-02-03 15:55:00 AEST (1517637300) boosterTemp: 96.5189491272, bulkdcVoltage: 381.098876953, bulkmidVoltage: 199.653121948, bulkVoltage: 382.354553223, dateTime: 1517637300, dayEnergy: 8637, energy: 1, gridavgVoltage: 243.432281494, gridCurrent: 2.02972531319, griddcFrequency: 50.0841407776, griddcVoltage: 242.313354492, gridFrequency: 50.0831375122, gridnVoltage: 305.144683838, gridPower: 496.422271729, gridVoltage: 242.982879639, inverterTemp: 95.6770530701, isoResistance: 6.53649520874, leakCurrent: 0.00441941944882, leakdcCurrent: 0.0, string1Current: 0.757264018059, string1Power: 253.298355103, string1Voltage: 358.233856201, string2Current: 0.772570431232, string2Power: 257.640594482, string2Voltage: 359.038391113, timeDate: 1517637301, usUnits: 1 LOOP: 2018-02-03 15:55:10 AEST (1517637310) boosterTemp: 96.5321601868, bulkdcVoltage: 381.098876953, bulkmidVoltage: 199.025268555, bulkVoltage: 382.354553223, dateTime: 1517637310, dayEnergy: 8639, energy: 2, gridavgVoltage: 243.395889282, gridCurrent: 2.0580675602, griddcFrequency: 50.1042175293, griddcVoltage: 242.240203857, gridFrequency: 50.1042175293, gridnVoltage: 306.149841309, gridPower: 497.233734131, gridVoltage: 242.970703125, inverterTemp: 95.6792640686, isoResistance: 6.53649520874, leakCurrent: 0.00441941944882, leakdcCurrent: 0.0, string1Current: 0.757264018059, string1Power: 255.268432617, string1Voltage: 359.882171631, string2Current: 0.775792837143, string2Power: 258.421295166, string2Voltage: 357.488189697, timeDate: 1517637311, usUnits: 1 LOOP: 2018-02-03 15:55:20 AEST (1517637320) boosterTemp: 96.5244491577, bulkdcVoltage: 381.726715088, bulkmidVoltage: 199.653121948, bulkVoltage: 386.749420166, dateTime: 1517637320, dayEnergy: 8640, energy: 1, gridavgVoltage: 243.347320557, gridCurrent: 2.0580675602, griddcFrequency: 50.1132545471, griddcVoltage: 242.873519897, gridFrequency: 50.1122512817, gridnVoltage: 305.666992188, gridPower: 499.668151855, gridVoltage: 243.116577148, inverterTemp: 95.6946929932, isoResistance: 6.53649520874, leakCurrent: 0.00441941944882, leakdcCurrent: 0.0, string1Current: 0.758069634438, string1Power: 255.205551147, string1Voltage: 360.176513672, string2Current: 0.774987220764, string2Power: 258.839141846, string2Voltage: 357.174224854, timeDate: 1517637321, usUnits: 1 REC: 2018-02-03 15:55:00 AEST (1517637300) boosterTemp: 96.5136605835, bulkdcVoltage: 381.475579834, bulkmidVoltage: 199.52755127, bulkVoltage: 382.982391357, dateTime: 1517637300.0, dayEnergy: 8634.4, energy: 5.0, gridavgVoltage: 243.495370483, gridCurrent: 2.02964129448, griddcFrequency: 50.0747131348, griddcVoltage: 242.812478638, gridFrequency: 50.0753143311, gridnVoltage: 305.237585449, gridPower: 493.501000977, gridVoltage: 242.841641235, interval: 5, inverterTemp: 95.6761741638, isoResistance: 6.53649520874, leakCurrent: 0.00441941944882, leakdcCurrent: 0.0, string1Current: 0.755330586433, string1Power: 252.531326294, string1Voltage: 358.532122803, string2Current: 0.767897939682, string2Power: 256.399765015, string2Voltage: 359.328808594, timeDate: 1517637281.0, usUnits: 1 LOOP: 2018-02-03 15:55:30 AEST (1517637330) boosterTemp: 96.5409767151, bulkdcVoltage: 382.354553223, bulkmidVoltage: 199.025268555, bulkVoltage: 382.982391357, dateTime: 1517637330, dayEnergy: 8641, energy: 1, gridavgVoltage: 243.310913086, gridCurrent: 2.0580675602, griddcFrequency: 50.1152648926, griddcVoltage: 242.471786499, gridFrequency: 50.1152648926, gridnVoltage: 305.666992188, gridPower: 500.479614258, gridVoltage: 242.81262207, inverterTemp: 95.7321769714, isoResistance: 6.53649520874, leakCurrent: 0.00441941944882, leakdcCurrent: 0.00441941944882, string1Current: 0.758875250816, string1Power: 255.55909729, string1Voltage: 358.920654297, string2Current: 0.778209626675, string2Power: 260.399230957, string2Voltage: 358.547821045, timeDate: 1517637331, usUnits: 1 The above indicates that the inverter is being interrogated, valid data being received and weeWX is constructing archive records from the accumulated loop data.
            If all appears correct when run directly you can stop weeWX by entering Ctl-Z in the terminal and you can now start weeWX as a daemon: $ sudo /etc/init.d/weewx start or $ sudo service weewx start
            The weeWX log should be monitored to verify archive records are being saved.

            Support

            General support issues may be raised in the Google Groups weewx-user forum . Specific bugs in the Aurora driver extension code should be the subject of a new issue raised via the Aurora driver extension issues page.
            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/gjr80/weewx-aurora.git

          • CLI

            gh repo clone gjr80/weewx-aurora

          • sshUrl

            git@github.com:gjr80/weewx-aurora.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