Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You certainly can, however that still doesn't matter if it gets hacked. You've got a webserver running as root, just bad practice all around.discoreefer,
Can't u setup a secure site with the PI? Connect via USER name and Password?
I haven't set up an apache site with authentication, but I'm sure its something simple as an htpasswd reference.
Programming novice here but extremely interested in this concept (I was pretty mean at programming the worm on the Commodore 64). I have been researching the Apexs for some time whilst trying to find the perfect opportunity to drop the bomb on wifey that I am going to spend $800(gold package) for a computer to monitor what she calls the "giant water box". Couple questions: both hardware options mentioned seem to have very limited physical protection and would have to be mounted externally correct? To that end can you purchase the probes for self wire and or with long cords? Also Apex claims to solve the concept of Galvanic isolation which could cause inaccurate readings, do these options cover that concept? My ATO is passive/gravity fed and my MH/T5 lighting has a power strip with 5 independent outlets so really only looking for a parameter solution and this project seems cost effective.
Ok then I will take another approach with this and since apache is a free product I will use it.
As discoreefer sated we will use flask on the PI. If I understand it correctly we can implement web services which would just be a GET and maybe some PUTs for configuration changes. When I dive into this I will have a better solution. But from what i am readying use the flask so we don't have to have root permissions. Then we can load apache on a computer if we needed to for a simple web application.
discoreefer let me know if im in left field still.
I plan on having my pi and arduino mounted inside of a case that's mounted under my tank by the sump.
The apex is awesome. For me personally I'm not doing a diy monitor to save money or thinking I can build something better. I like to make stuff, so it's just a fun project for me.
I'm planning on using flask as it's pretty light weight and I prefer python. There are lots of option you could use though depending on what your comfortable with. Basically you're going to be creating a webserver that you connect to. One issue with allowing access to your pi from the outside internet is that you're going to need to run your webserver as root so that it has access to the gpio pins. This opens some security issues.
My plan was to have flask setup on the pi just to edit settings/change parameters, etc... and it would only be available on my local network (or vpn) but not to the outside world. As my pi collects data, that will be uploaded to a web app on my website where I can monitor the data, send alerts, etc...
Does anyone know if the Arduino can power more than 6 channels for LED drivers??
All of the above and much more. Currently working on using the acceleromter/gyro/magnometer data from an iphone in a waterproof case floating on the water surface to auto tune a wavemaker (wave height).1. First thing we should get a consensus on is a list of requirements, what do we want this device to be able to do. (Light timer, wave maker, LED controller, top-off, ph probe, etc...)