Tag Archives: piTank

On powering/reset of the Raspberry Pi connected to a relay board, the state of the relays needs to be defined or they just sit in limbo until their first use, this might be fine in some application but not others..

For my Raspberry Pi aquarium system, the ‘original‘ Web UI does have a script on loading the webpage to define the pin modes but if there is a power cut and the RPi is restarted, we need these values set and activated when the RPi boots in case nobody loads the piTank webpage directly after a reboot – thus critical components wont be turned on.

So after some playing around I am going for a Windows Metro style web interface for the Raspberry Pi powered aquarium controller. At the moment the interface can be used to view the current time and date of the system, display 2 different external temperature readings and control the 8 way 10 amp 240v relay which the filter, heater, lights and alike connect to.