Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
naiades
naiades-platform-poc
Commits
7b078f47
Commit
7b078f47
authored
Sep 28, 2021
by
Cédric Crettaz
🖥
Browse files
Correction of a bug in the Carouge watering DCA.
parent
62794fb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
dca-carouge-watering/app.py
View file @
7b078f47
...
...
@@ -325,7 +325,7 @@ def _conv_micro_volts_to_moisture(micro_volts):
if
micro_volts
==
0
:
return
0
return
in
t
(
micro_volts
/
100
)
return
floa
t
(
micro_volts
/
100
)
def
_conv_micro_volts_to_battery_level
(
micro_volts
):
"""Battery is 0-12v
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment