Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

ferrohd/pigproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Build Status MIT License


PigProject - Watering Guess

Source code of the PigProject. Calculates the irrigation time of a plant based on weather conditions such as wind, rain and temperature. The project is still under development but will be released soon.

Monitoring / Data Log

This script provide a webserver that provide access to log of retrieved data and the calculated irrigation time after every fetch. The webserver runs on port 9000 just to avoid to keep busy other ports (maybe you want to run other services). You can reach the server by connecting to:

YOUR_DEVICE_IP:9000

Along with that it prints the log in the console too, here is and example:

______ _      ______          _           _   
| ___ (_)     | ___ \        (_)         | |  
| |_/ /_  __ _| |_/ / __ ___  _  ___  ___| |_ 
|  __/| |/ _` |  __/ '__/ _ \| |/ _ \/ __| __|
| |   | | (_| | |  | | | (_) | |  __/ (__| |_ 
\_|   |_|\__, \_|  |_|  \___/| |\___|\___|\__|
          __/ |             _/ |              
         |___/             |__/               

Starting server...
weather_fetcher ready
making request...
Server up and running on port 9000


---------DATA---------
Time: 0
Temperature: 1.70 (Celsius)
Watering time per degree set as: 0.67 (minutes)
Wind incidence: 0 (1=Yes 0=No)
Watering multiplier: 1.00
Weather is: CLEAR SKY
________________________________
|  WATERING TIME: 1 (minutes) |
--------------------------------

Internet connection

This script uses third-party WebAPI from OpenWeatherMap to fetch weather data. Needless to remember that it needs 24/7 internet connection.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published