modulepackage
0.0.0-20240814151233-0a37ff97c404
Repository: https://github.com/denkhaus/sensor.git
Documentation: pkg.go.dev
# README
sensor
This code reads data from a CWT-Soil-THC-S
soil sensor and sends the readings by mqtt. The following parameters will be processed:
- Humidity: 01 03 00 00 00 01 84 0a
- Temperatur: 01 03 00 01 00 01 d5 ca
- Conductivity: 01 03 00 02 00 01 25 ca
- Salinity: 01 03 00 03 00 01 74 0a
- TDS: 01 03 00 04 00 01 c5 cb
scripting
Additionally you can react on sensor data by scripting. Please see sensor_script.go for more information. The script is periodically executed by yaegi interpreter. So your'e able to switch pumps, valves etc. based on sensor data.
This is work in progress. The code will change without further notice.
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package "github.com/SaidinWoT/timespan" provides functionality for handling intervals of time.
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author