Skip to content

Commit

Permalink
added vedirect_dump for sane Victron readouts
Browse files Browse the repository at this point in the history
  • Loading branch information
jonashoechst committed Sep 16, 2024
1 parent 9f4f5ab commit e843e4a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@
[submodule "home/pi/wittypi4"]
path = home/pi/wittypi4
url = https://github.com/tRackIT-Systems/wittypi4
[submodule "home/pi/vedirect_dump"]
path = home/pi/vedirect_dump
url = https://github.com/tRackIT-Systems/vedirect_dump
4 changes: 2 additions & 2 deletions boot/firmware/mqttutil.conf
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ func = 'json.loads(subprocess.check_output(["/usr/bin/python3", "-m", "smartsola

# get solar power via vedirect
[vedirect]
requires = ["vedirect"]
func = 'vedirect.VEDirect()._data'
requires = ["vedirect_dump"]
func = 'vedirect_dump.query_device()'

[wittypi4]
requires = ["wittypi4"]
Expand Down
1 change: 1 addition & 0 deletions home/pi/vedirect_dump
Submodule vedirect_dump added at 88b2bf
2 changes: 1 addition & 1 deletion home/pi/wittypi4
Submodule wittypi4 updated 2 files
+674 −0 LICENSE
+10 −0 wittypi4/__init__.py
4 changes: 2 additions & 2 deletions tsOS-Base.Pifile
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ EOF
# Install pysmartsolar
RUN python3 -m pip install --break-system-packages -e /home/pi/pysmartsolar

# Install vedirect
RUN python3 -m pip install --break-system-packages vedirect
# Install vedirect_dump
RUN python3 -m pip install --break-system-packages -e /home/pi/vedirect_dump

# Install and enable pymqttutil
RUN python3 -m pip install --break-system-packages -e /home/pi/pymqttutil
Expand Down

0 comments on commit e843e4a

Please sign in to comment.