AnyLeaf Water Monitor Podręcznik użytkownika - Strona 3
Przeglądaj online lub pobierz pdf Podręcznik użytkownika dla Akcesoria AnyLeaf Water Monitor. AnyLeaf Water Monitor 6 stron.
calibration; instructions on screen will explain how to proceed. During a
calibration, press backwards to abort, and revert to the previous calibration.
Update interval
When plugged in, readings will update twice a second. To increase battery life,
updates occur more slowly when on battery power. The rate of these updates is
selectable using the Update setting in the menu. Here, you can toggle between 1
second, 5 seconds, 30 seconds, and 5 minutes. 5 seconds is the default interval.
The slower the update interval, the longer the battery will last. With a 5-second
interval, batteries will last approximately 2 months. Which setting you choose
depends on the use case. For example, for long-term system health
measurement, you may wish to set a 5 minute interval to maximize battery life.
Connecting to a PC
You can connect the Water Monitor to a PC or Raspberry Pi to send its readings
there, by plugging it into the PC's USB port. The easiest way to take advantage of
this is by using the Water Monitor view software, available at
https://github.com/
anyleaf/water-mon-app/releases. Download the version suitable for your
operating system. (Currently available for Windows and Linux), unzip, and run the
resulting executable. It will then start a web server, and provide instructions on
how to view readings: By entering localhost in a browser's URL bar on that
computer, or by entering that computer's IP address, which it displays, on
another device on your network, such as a mobile phone. This software is open
source: You're encouraged to the view the source code, and modify if if you wish.
A Python library that allows access to the readings is also available: pip install
anyleaf. This is the same library used to access the standalone AnyLeaf modules.
In addition to viewing readings using a web browser, you can access the readings
using the AnyLeaf Python library: https://github.com/AnyLeaf/anyleaf-python.
Reference the water_monitor.py example (examples folder) for the code used to
take readings.
You can use MyCodo to easily integrate with other sensors, and display and log
readings from a Raspberry Pi. You can download and learn about MyCodo here:
Page 3 / 6