irrigator | Smart Sprinkler Controller for the Raspberry Pi

 by   nebhead CSS Version: Current License: MIT

kandi X-RAY | irrigator Summary

kandi X-RAY | irrigator Summary

irrigator is a CSS library typically used in Internet of Things (IoT), Raspberry Pi applications. irrigator has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

This smart sprinkler controller allows you to setup your own custom sprinkler system using a Raspbery Pi, a 4+ channel relay, and 24V AC Power Supply. If you have an existing sprinkler controller, it's likely you can swap in this project relatively easily, utilizing the existing power supply. This project was actually created back in 2016, and is the reason that it is based on rather old versions of bootstrap, jquery, circliful, etc. I was still very much learning when I created this project and much of it is pretty cring-worthy looking back at how it is organized. With all that said, I said 'To heck with it!' and decided I should release this to the world anyway, in case anyone would value it. I've been running in my home since 2016 and it's worked nearly flawlessly the entire time. I've done a little big of clean-up to the code, modernizing it to use Python 3.x and so forth, but the large majority of it is original from when it was concieved. So please don't judge my poor design. :). Initially this project used Flask's native WSGI services without Gunicorn or nginx as a proxy. However, I noticed that after some time, the app would become unresponsive. After a little research, it appears that Flask's built in web server is for testing purposes only and shouldn't really be used in production. With that said, I'm using Gunicorn and nginx to proxy web resquests. This is simple enough to configure and setup, however I had to redesign the application without the threading libraries, due to conflicts with Gunicorn. Instead, I am using two processes running concurrently (control.py and app.py). Control handles all of the RasPi GPIO interfaces, while App handles the web routes. They communicate through a JSON file.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              irrigator has a low active ecosystem.
              It has 26 star(s) with 3 fork(s). There are 4 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 1 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of irrigator is current.

            kandi-Quality Quality

              irrigator has no bugs reported.

            kandi-Security Security

              irrigator has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              irrigator is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              irrigator releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of irrigator
            Get all kandi verified functions for this library.

            irrigator Key Features

            No Key Features are available at this moment for irrigator.

            irrigator Examples and Code Snippets

            No Code Snippets are available at this moment for irrigator.

            Community Discussions

            Trending Discussions on Internet of Things (IoT)

            QUESTION

            Display data from two json files in react native
            Asked 2020-May-17 at 23:55

            I have js files Dashboard and Adverts. I managed to get Dashboard to list the information in one json file (advertisers), but when clicking on an advertiser I want it to navigate to a separate page that will display some data (Say title and text) from the second json file (productadverts). I can't get it to work. Below is the code for the Dashboard and next for Adverts. Then the json files

            ...

            ANSWER

            Answered 2020-May-17 at 23:55

            The new object to get params in React Navigation 5 is:

            Source https://stackoverflow.com/questions/61859411

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install irrigator

            I couple of photos of the hardware mounted in a painted project box. Not really all that pretty or exciting, but it does the job.
            I've created a script to install this automatically, but it is in ALPHA testing. Your mileage may vary, and if anything fails, you may just want to try running the manual steps below.
            Let's start by setting up the /tmp folder in RAM. On your Pi, open the fstab file for editing:. Add the following line to the bottom of the file.
            Optionally, you can use supervisor's built in HTTP server to monitor the scripts.
            Add cron entries for items.
            Add reboot script to initialize relays @reboot cd /home/pi/irrigator && sudo python3 control.py -i &
            Add monthly log cleanup @monthly cd /home/pi/irrigator/logs && sh backup.sh
            Add periodic weather check */15 * * * * cd /home/pi/irrigator && sudo python3 openwx.py
            NOTE: The NTC Chip section has been depricated as I don't have the time or setup to test this configuration with Python3 or any of the newer libraries. Consider these instructions as a rough guide.
            Note the WLAN0 MAC address. Select your network, password, activate. Replace Hostname with a unique hostname ('i.e. Irrigator'). Configure your router's DHCP server to recognize the hostname, mac address, and assign a unique IP address to the device.
            sudo apt-get update && sudo apt-get install locales && sudo dpkg-reconfigure locales && sudo locale-gen. You’ll get a large menu to select locales. Use the arrow keys to scroll down and spacebar to mark your location with an asterisk. It’s advised that you choose the location marked UTF8. Others are somewhat arcane edge cases! Hit return to continue.
            sudo apt-get install python-pip nginx git gunicorn -y. sudo pip install flask python-crontab cron-descriptor.
            sudo apt-get update sudo apt-get install git build-essential python-dev python-pip flex bison chip-dt-overlays -y git clone git://github.com/xtacocorex/CHIP_IO.git cd CHIP_IO sudo python setup.py install cd ..
            sudo rm /etc/nginx/sites-enabled/default # Delete default configuration. sudo cp irrigator.nginx /etc/nginx/sites-available/irrigator # Copy configuration file to nginx. sudo ln -s /etc/nginx/sites-available/irrigator /etc/nginx/sites-enabled # Create link in sites-enabled. sudo service nginx restart # Restart nginx.
            Edit the root crontab.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/nebhead/irrigator.git

          • CLI

            gh repo clone nebhead/irrigator

          • sshUrl

            git@github.com:nebhead/irrigator.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link