forked from snaptec/openWB
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
99 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2 | ||
3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1251 | ||
65 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
82 | ||
44 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
-157 | ||
1298 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#!/bin/bash | ||
sudo python /var/www/html/openWB/runs/dac.py 0 | ||
. /var/www/html/openWB/openwb.conf | ||
if [[ $evsecon == "dac" ]]; then | ||
sudo python /var/www/html/openWB/runs/dac.py 0 $dacregister | ||
fi | ||
echo 0 > /var/www/html/openWB/ramdisk/ladestatus | ||
echo "setz ladung auf 0A" >> /var/www/html/openWB/web/lade.log | ||
echo 0 > /var/www/html/openWB/ramdisk/llsoll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
#!/bin/bash | ||
sudo python /var/www/html/openWB/runs/dac.py 790 | ||
. /var/www/html/openWB/openwb.conf | ||
if [[ $evsecon == "dac" ]]; then | ||
sudo python /var/www/html/openWB/runs/dac.py 790 $dacregister | ||
fi | ||
echo "setz ladung auf 6A" >> /var/www/html/openWB/web/lade.log | ||
echo 1 > /var/www/html/openWB/ramdisk/ladestatus | ||
echo 6 > /var/www/html/openWB/ramdisk/llsoll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
#!/bin/bash | ||
sudo python /var/www/html/openWB/runs/dac.py 908 | ||
. /var/www/html/openWB/openwb.conf | ||
if [[ $evsecon == "dac" ]]; then | ||
sudo python /var/www/html/openWB/runs/dac.py 908 $dacregister | ||
fi | ||
echo "setz ladung auf 7A" >> /var/www/html/openWB/web/lade.log | ||
echo 1 > /var/www/html/openWB/ramdisk/ladestatus | ||
echo 7 > /var/www/html/openWB/ramdisk/llsoll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
#!/usr/bin/python3 | ||
# Setting the output voltage of the MCP4725 DAC. | ||
# Read first value passed as the integer for DAC. | ||
import time | ||
import sys | ||
# Import the MCP4725 module. | ||
import Adafruit_MCP4725 | ||
# Create a DAC instance. | ||
dac = Adafruit_MCP4725.MCP4725() | ||
|
||
#dac = Adafruit_MCP4725.MCP4725() | ||
address = int(sys.argv[2], 16) | ||
|
||
# Note you can change the I2C address from its default (0x62), and/or the I2C | ||
# bus by passing in these optional parameters: | ||
#dac = Adafruit_MCP4725.MCP4725(address=0x49, busnum=1) | ||
dac = Adafruit_MCP4725.MCP4725(address, busnum=1) | ||
|
||
volt = int(sys.argv[1]) | ||
dac.set_voltage(volt, True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?php $config = array ( | ||
'lademodus' => '2', | ||
'lademodus' => '3', | ||
'sofortll' => '15', | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +0,0 @@ | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 3A | ||
setz ladung auf 3A | ||
setz ladung auf 3A | ||
setz ladung auf 3A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 0A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 6A | ||
setz ladung auf 0A | ||
setz ladung auf 0A | ||
start Nachtladung mit 18 um Fri 16 Mar 06:31:23 UTC 2018 bei 67 | ||
setz ladung auf 6A | ||
setz ladung auf 0A | ||
start Nachtladung mit 18 um Fri 16 Mar 07:52:12 UTC 2018 bei 62 | ||
setz ladung auf 6A | ||
setz ladung auf 0A | ||
setz ladung auf 0A | ||
setz ladung auf 6A | ||
setz ladung auf 0A | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters