User Tools

Site Tools


amc2021:groupb:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
amc2021:groupb:start [2021/09/07 01:00] – [2.2.6 Server Infrastructure: Home Assistant, Mosquitto, ESPHome, InfluxDB, Grafana] jonas002amc2021:groupb:start [2023/01/05 14:38] (current) – external edit 127.0.0.1
Line 354: Line 354:
 {{:amc2021:groupb:2021-08-18-05-07-25.png?direct&400|}}\\  {{:amc2021:groupb:2021-08-18-05-07-25.png?direct&400|}}\\ 
  
-https://esphome.io/#devices\\  
-https://www.emadashi.com/2021/01/m5-atom-lite-home-assistant-esphome-and-capacitive-soil-sensor/\\  
  
-Measured voltage levels from Capacitive Soil Moisture Sensor: +The devices and protocols that can be connected can be found documented herehttps://esphome.io/#devices\\  
-  * 3.25V when dry in air +
-  * 1.45V when wet in a glass of water +
-{{:amc2021:groupb:img-20210819-wa0000.jpg?direct&400|}}\\  +
-{{ :amc2021:groupb:vid-20210906-wa0016.mp4 |}}\\ +
 To calibrate the sensor, this page is helpful: https://esphome.io/components/sensor/index.html#sensor-filters\\  To calibrate the sensor, this page is helpful: https://esphome.io/components/sensor/index.html#sensor-filters\\ 
  
Line 413: Line 408:
 </code> </code>
  
-Home Assistant configuration.yaml addidtion to store the HA sensor values in the influxDB:+Measured voltage levels from Capacitive Soil Moisture Sensor: 
 +  * 3.25V when dry in air 
 +  * 1.46V when wet in a glass of water 
 +Log output in ESPHome:\\  
 +{{:amc2021:groupb:img-20210819-wa0000.jpg?direct&400|}}\\  
 + 
 +After sucessfull OTA install the node should appear as a new device found in the Home Assistant Integrations.\\   
 +{{:amc2021:groupb:2021-08-19-00-17-43.png?direct&400|}}\\  
 +It can be added and will automatically be shown in the Home Assistant Dashboard / lovelace\\ 
 +{{:amc2021:groupb:2021-08-19-02-08-49.png?direct&400|}}\\  
 + 
 +Soil moisture sensor in a glass of water and removing it: 
 +{{ :amc2021:groupb:vid-20210906-wa0016.mp4 |}}\\  
 +{{:amc2021:groupb:20210819_004505.jpg?direct&400|}}\\  
 + 
 +Install the File Editor Add-On to edit Home Assistant's configuration.yaml\\ 
 +Home Assistant configuration.yaml addidtion to store the HA sensor values in the influxDB:\\ 
 <code> <code>
 influxdb: influxdb:
Line 428: Line 440:
 </code> </code>
  
 +Afterwards the recorded values can be observed in the grafana dashboard displaying the graph for soil moisture.\\ 
 +{{:amc2021:groupb:img-20210819-wa0011.jpg?direct&400|}}
  
 ==== 4. Discussion ==== ==== 4. Discussion ====
 The system is not finalized and needs to expanded to work independantly of human input or observation. The system is not finalized and needs to expanded to work independantly of human input or observation.
 +The relay module is not added to ESPHome yet, but integration is simple.
 +The Gafana plot can be added to the Home Assistant dashboard for an easier overview of the current and past soil moisture values.
 The automations and deciscion making algorithms need to be refined and expanded to ensure proper working autonomous farm operation. The automations and deciscion making algorithms need to be refined and expanded to ensure proper working autonomous farm operation.
 There are already prebuilt systems for farming management or IoT cloud but building our own system from freely available software has given many insights on how the IoT infrastructure works and how to connect multiple devices to a central instance.\\  There are already prebuilt systems for farming management or IoT cloud but building our own system from freely available software has given many insights on how the IoT infrastructure works and how to connect multiple devices to a central instance.\\ 
amc2021/groupb/start.1630969215.txt.gz · Last modified: 2023/01/05 14:38 (external edit)