Skip to content

Java based home automation system for handling a fish tank

Notifications You must be signed in to change notification settings

bbkbarbar/pi-tasker

Repository files navigation

Control center in living room

Based on Raspberry Pi Zero

Clients can get infos from:

- Environment:
- Air temperature
- Aquarium-water temperature
- Relative humidity (later)
- Internal status:
- Worker info (contains toDo items)
- Pwm output stated
- IO output states
- System infos
- CPU temp
- Memory info (later if needed)
- Free space (later if needed)
- Network logs (# of connections, etc.) (later if needed)

Temperature warnings can be sent via email for multiple recipient in case of:

  • temperature (in selected sensor) rises above specified limit
  • temperature (in selected sensor) drops below specified limit

Temperature warning rules described in JSON file.

Client can control:

Item Control type Scheduled Sensor based control Exceptional control Src
Airpump On/Off X - X 230VAC
Filter On/Off X - X 230VAC
Water heater On/Off X X X 230VAC
Water cooler Gradual speed control (pwm) X X X 230VAC->12VDC - 1ch pwm
Light On/Off, 3ch RGB color X - X 230VAC->12VDC - 3ch pwm

Note: System can handle further pwm output (in fact unlimited number / just depends on how much devices do you have from Serial PWM Driver).

For furher information follow t link

Other outputs:

  • WebUI (show temperature infos and status infos of controller peripherials)
  • Temperature logs
  • System logs

Used external tool(s):

  • Install Apache Webserver:
sudo apt-get install apache2 -y

Deployment

  • Copy content of onTarget folder to user's folder on target.
  • Run deploy script (deploy.sh)
  • Copy release to user's folder
  • run first with run.sh with name of copied release as parameter (./run.sh t102.jar)

Wireing

Planned connection modul, to make connection clean: Note: Pi Zero has some GND and VCC pins in GPIO port, but more external module need to get power from Pi. Previously I tried to give energy for a module from output of an other, but this makes the connections complex.
So I'm planning to create a "connector" module (something like above), to make connections clean and clear.

ToDo list:

  • Cleanup files for easy deployment
  • Create "deploy script"

Back to top

About

Java based home automation system for handling a fish tank

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published