Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
# hdec -- Ein Python Modul für die Wallbox "Heidelberg Energy Control"
<small>english version: see below</small>

THIS IS A BIT REWORKED VERSION OF THE ORIGINAL VERSION
**THIS IS A BIT REWORKED VERSION OF THE ORIGINAL VERSION**

The following things have been added:
- MQTT support for integration with EVCC
Expand All @@ -17,6 +14,9 @@ Only 1 wallbox supported. Let me know if one requires additional features. Feedb

ORIGINAL TEXT:

# hdec -- Ein Python Modul für die Wallbox "Heidelberg Energy Control"
<small>english version: see below</small>

Das Ziel dieses Moduls ist es, die Wallbox "Heidelberg Energy Control" über
deren Modbus zu steuern. Insbesondere geht es darum, ein Lademodul für openWB
zur Verfügung zu stellen.
Expand Down Expand Up @@ -77,7 +77,7 @@ werden, "leader" ist dann der Raspi.
### Das Modul einrichten
```
cd /tmp
git clone https://github.com/leuzoe/hdec
git clone https://github.com/oldgitdaddy/hdec
cd /var/www
sudo mkdir hdec
sudo chown pi hdec
Expand Down Expand Up @@ -198,7 +198,7 @@ box must be configured to be a "follower". Modbus "leader" is your raspi.
### Install the module
```
cd /tmp
git clone https://github.com/leuzoe/hdec
git clone https://github.com/oldgitdaddy/hdec
cd /var/www
sudo mkdir hdec
sudo chown pi hdec
Expand Down
2 changes: 2 additions & 0 deletions src/hdecserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ def do_GET(self):
if(cmd[0] == 'alw'):
self.wb.allow(cmd[1] != "0")
res = True
if(cmd[1] == "0"):
self.wb.set_current_preset(0)
self.send_response(200)
self.send_header("Content-type", "application/json")
data = '{' + \
Expand Down