<commit_before># SolPipLog ![solpiplog](solpiplog.gif)

**Logger for the PIP Inverter series ( USB version ) + BMV Battery Monitor** 

- latest version 1.3.0 10/2016
- working on 32bit UBUNTU / MATE.
- working on Raspberry Pi2 version
- logs data from BMV battery monitor to [Emoncms](https://emoncms.org) 
- no Windows version yet
- sends data to [Emoncms](https://emoncms.org) 

 Emoncms is an open-source web application for processing, logging and visualising energy, temperature and other environmental data and is part of the [OpenEnergyMonitor project](http://openenergymonitor.org).

- sends data to [PVOutput](http://www.pvoutput.org).

 PVOutput is a free service for sharing and comparing PV output data.

## Install
 * copy file **"solpiplog.rules"** to your **"/etc/udev/rules.d"** directory. That way you dont have to excecute it as root
 * from your terminal window, inside the folder where the file is **sudo cp solpiplog.rules /etc/udev/rules.d** 
 * unplug usb cable and replug
 * make **solpiplog** executable with
   * **sudo chmod +x solpiplog** or 
   * change it with graphical interface inside of Ubuntu / Mate. Right click on file - properties - permissions tab - tick execute allow excecuting file as program
   * problably you dont even need to do it, if i dont forget to make it executable :) 
 * create an account on [Emoncms](https://emoncms.org) or install **Emoncms** on your own server. 
 * optional: create an account on [PVOutput](http://www.pvoutput.org).
 * configure **SolPipLog** with your Emoncms API-Key
  * optional configure **SolPipLog** with your PVOutput SystemID and API-Key.
  
## Values sent to Emoncms

Following values are sent to *Emoncms* and displayed as Node 30 with Key from 1-20 and 30-35

* 1  = AC_IN_V
* 2  = AC_IN_HZ
* 3  = AC_OUT_V
* 4  = AC_OUT_HZ
* 5  = AC_OUT_VA
* 6  = AC_OUT_W
* 7  = AC_OUT_LOAD_PERCENT
* 8  = BUS_V
* 9  = BATT_V
* 10 = BATT_CHRG
* 11 = BATT_CAPACITY_PERCENT
* 12 = HEATSINK_TEMP
* 13 = PV_I_BATT
* 14 = PV_V
* 15 = BATT_V_SCC
* 16 = BATT_DISCHRG_I
* 17 = PV Charging Power

* 18 = Line Mode ( 0 or 1 )  Link Led Widget for visualization
* 19 = Battery Mode ( 0 or 1 ) Link Led Widget for visualization
* 20 = Fault Mode ( 0 or 1 )  Link Led Widget for visualization

* 30 = Year         for displaying lastest update 
* 31 = Month
* 32 = Day
* 33 = Hour
* 34 = Minute
* 35 = Second

New since v 1.3.0 BMV Battery Monitor displayed as Node 20 with following Keys:<commit_msg>added BMV v 1.3.0<commit_after># SolPipLog ![solpiplog](solpiplog.gif)

**Logger for the PIP Inverter series ( USB version ) + BMV Battery Monitor** 

- latest version 1.3.0 10/2016
- working on 32bit UBUNTU / MATE.
- working on Raspberry Pi2 version
- logs data from BMV battery monitor to [Emoncms](https://emoncms.org) 
- no Windows version yet
- sends data to [Emoncms](https://emoncms.org) 

 Emoncms is an open-source web application for processing, logging and visualising energy, temperature and other environmental data and is part of the [OpenEnergyMonitor project](http://openenergymonitor.org).

- sends data to [PVOutput](http://www.pvoutput.org).

 PVOutput is a free service for sharing and comparing PV output data.

## Install
 * copy file **"solpiplog.rules"** to your **"/etc/udev/rules.d"** directory. That way you dont have to excecute it as root
 * from your terminal window, inside the folder where the file is **sudo cp solpiplog.rules /etc/udev/rules.d** 
 * unplug usb cable and replug
 * make **solpiplog** executable with
   * **sudo chmod +x solpiplog** or 
   * change it with graphical interface inside of Ubuntu / Mate. Right click on file - properties - permissions tab - tick execute allow excecuting file as program
   * problably you dont even need to do it, if i dont forget to make it executable :) 
 * create an account on [Emoncms](https://emoncms.org) or install **Emoncms** on your own server. 
 * optional: create an account on [PVOutput](http://www.pvoutput.org).
 * configure **SolPipLog** with your Emoncms API-Key
  * optional configure **SolPipLog** with your PVOutput SystemID and API-Key.
  
## Values sent to Emoncms

Following values are sent to *Emoncms* and displayed as Node 30 with Key from 1-20 and 30-35

* 1  = AC_IN_V
* 2  = AC_IN_HZ
* 3  = AC_OUT_V
* 4  = AC_OUT_HZ
* 5  = AC_OUT_VA
* 6  = AC_OUT_W
* 7  = AC_OUT_LOAD_PERCENT
* 8  = BUS_V
* 9  = BATT_V
* 10 = BATT_CHRG
* 11 = BATT_CAPACITY_PERCENT
* 12 = HEATSINK_TEMP
* 13 = PV_I_BATT
* 14 = PV_V
* 15 = BATT_V_SCC
* 16 = BATT_DISCHRG_I
* 17 = PV Charging Power
* 18 = Line Mode ( 0 or 1 )  Link Led Widget for visualization
* 19 = Battery Mode ( 0 or 1 ) Link Led Widget for visualization
* 20 = Fault Mode ( 0 or 1 )  Link Led Widget for visualization

* 30 = Year for displaying lastest update
* 31 = Month
* 32 = Day
* 33 = Hour
* 34 = Minute
* 35 = Second

**New since v 1.3.0 BMV Battery Monitor displayed as Node 20 with following Keys:**
{'fraction_non_alphanumeric': 0.0939406262708418, 'fraction_numerical': 0.031110207401382674, 'mean_word_length': 3.640566037735849, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2575875', 'n_tokens_mistral': 1842, 'n_tokens_neox': 1602, 'n_words': 648}