added 79 characters in body
Source Link
paj
  • 301
  • 1
  • 6

Your question is rather broad but what you describe as an "Alarm Clock" controlling lights and turning on the tv etc is actually the scheduled automation of home devices which is easily achievable with a Raspberry Pi.

There are many different home automation backend systems our there which will run on the rpi and either give you a built in graphical frontend, allow you to plug in a third party gui or depending on your coding skills will allow you to create your own web based frontend that sends commands to the backend.

So the short answer is yes you can do everything you want in your question with an rpi B+ including creating a graphical frontend that looks exactly like an alarm clock and switches home devices including lights, tv, coffee maker etc on and off based on a configurable schedule - BUT, you will have to program that yourself. So whether you can 100% achieve your goal in the question will depend very much on your programming skills.

Here is some information as to how I have achieved some of what you want to do in your question with my rpi3b

On my rpi (jessie lite) I am running the following in docker containers

  • php as backend scripting language
  • mysql database
  • apache/nginx as the webserver
  • FHEM as the home automation backend

For hardware I have a

  • RFXtrx433E USB HA controller for controlling 433Mhz devices

On my client (laptop, smartphone etc) as the frontend gui I have aan html5 web page built using framework 7 and jquery. From the webpage I can send commands to the backend to turn on and off 433Mhz wireless sockets, or Wifi enabled sockets. I store all my home data - devices, events, schedules in a database. The rpi queries and updates this.

I schedule events using data from the db or things like presence - if I am at home or not, and this is executed via a cron job running on the rpi. I would not recommend you trying to schedule things via your android device, as for the schedule to be reliable the device needs to be always on, and always available.

I turn devices on and off depending on their type either via commands to FHEM or by directly sending data to the device - this is all done using php.

My gui looks like this

enter image description here

But it could also look like an alarm clock, or something our of Star Trek if I wanted!

If you are unable to program the frontend yourself here are some more links to home automation systems with gui interfaces to give you an idea of what you can do.

  1. Home Assistant
  2. Openhab
  3. FHEM Table UI demos

Your question is rather broad but what you describe as an "Alarm Clock" controlling lights and turning on the tv etc is actually the scheduled automation of home devices which is easily achievable with a Raspberry Pi.

There are many different home automation backend systems our there which will run on the rpi and either give you a built in graphical frontend, allow you to plug in a third party gui or depending on your coding skills will allow you to create your own web based frontend that sends commands to the backend.

So the short answer is yes you can do everything you want in your question with an rpi B+ including creating a graphical frontend that looks exactly like an alarm clock and switches home devices including lights, tv, coffee maker etc on and off based on a configurable schedule - BUT, you will have to program that yourself. So whether you can 100% achieve your goal in the question will depend very much on your programming skills.

Here is some information as to how I have achieved some of what you want to do in your question with my rpi3b

On my rpi I am running

  • php as backend scripting language
  • mysql database
  • apache/nginx as the webserver
  • FHEM as the home automation backend
  • RFXtrx433E USB HA controller for controlling 433Mhz devices

On my client (laptop, smartphone etc) as the frontend gui I have a web page built using framework 7 and jquery. From the webpage I can send commands to the backend to turn on and off 433Mhz wireless sockets, or Wifi enabled sockets. I store all my home data - devices, events, schedules in a database. The rpi queries and updates this.

I schedule events using data from the db or things like presence - if I am at home or not and this is executed via a cron job running on the rpi. I would not recommend you trying to schedule things via your android device, as for the schedule to be reliable the device needs to be always on, and always available.

I turn devices on and off depending on their type either via commands to FHEM or by directly sending data to the device - this is all done using php.

My gui looks like this

enter image description here

But it could also look like an alarm clock, or something our of Star Trek if I wanted!

If you are unable to program the frontend yourself here are some more links to home automation systems with gui interfaces to give you an idea of what you can do.

  1. Home Assistant
  2. Openhab
  3. FHEM Table UI demos

Your question is rather broad but what you describe as an "Alarm Clock" controlling lights and turning on the tv etc is actually the scheduled automation of home devices which is easily achievable with a Raspberry Pi.

There are many different home automation backend systems our there which will run on the rpi and either give you a built in graphical frontend, allow you to plug in a third party gui or depending on your coding skills will allow you to create your own web based frontend that sends commands to the backend.

So the short answer is yes you can do everything you want in your question with an rpi B+ including creating a graphical frontend that looks exactly like an alarm clock and switches home devices including lights, tv, coffee maker etc on and off based on a configurable schedule - BUT, you will have to program that yourself. So whether you can 100% achieve your goal in the question will depend very much on your programming skills.

Here is some information as to how I have achieved some of what you want to do in your question with my rpi3b

On my rpi (jessie lite) I am running the following in docker containers

  • php as backend scripting language
  • mysql database
  • apache/nginx as the webserver
  • FHEM as the home automation backend

For hardware I have a

  • RFXtrx433E USB HA controller for controlling 433Mhz devices

On my client (laptop, smartphone etc) as the frontend gui I have an html5 web page built using framework 7 and jquery. From the webpage I can send commands to the backend to turn on and off 433Mhz wireless sockets, or Wifi enabled sockets. I store all my home data - devices, events, schedules in a database. The rpi queries and updates this.

I schedule events using data from the db or things like presence - if I am at home or not, and this is executed via a cron job running on the rpi. I would not recommend you trying to schedule things via your android device, for the schedule to be reliable the device needs to be always on, and always available.

I turn devices on and off depending on their type either via commands to FHEM or by directly sending data to the device - this is all done using php.

My gui looks like this

enter image description here

But it could also look like an alarm clock, or something our of Star Trek if I wanted!

If you are unable to program the frontend yourself here are some more links to home automation systems with gui interfaces to give you an idea of what you can do.

  1. Home Assistant
  2. Openhab
  3. FHEM Table UI demos
Source Link
paj
  • 301
  • 1
  • 6

Your question is rather broad but what you describe as an "Alarm Clock" controlling lights and turning on the tv etc is actually the scheduled automation of home devices which is easily achievable with a Raspberry Pi.

There are many different home automation backend systems our there which will run on the rpi and either give you a built in graphical frontend, allow you to plug in a third party gui or depending on your coding skills will allow you to create your own web based frontend that sends commands to the backend.

So the short answer is yes you can do everything you want in your question with an rpi B+ including creating a graphical frontend that looks exactly like an alarm clock and switches home devices including lights, tv, coffee maker etc on and off based on a configurable schedule - BUT, you will have to program that yourself. So whether you can 100% achieve your goal in the question will depend very much on your programming skills.

Here is some information as to how I have achieved some of what you want to do in your question with my rpi3b

On my rpi I am running

  • php as backend scripting language
  • mysql database
  • apache/nginx as the webserver
  • FHEM as the home automation backend
  • RFXtrx433E USB HA controller for controlling 433Mhz devices

On my client (laptop, smartphone etc) as the frontend gui I have a web page built using framework 7 and jquery. From the webpage I can send commands to the backend to turn on and off 433Mhz wireless sockets, or Wifi enabled sockets. I store all my home data - devices, events, schedules in a database. The rpi queries and updates this.

I schedule events using data from the db or things like presence - if I am at home or not and this is executed via a cron job running on the rpi. I would not recommend you trying to schedule things via your android device, as for the schedule to be reliable the device needs to be always on, and always available.

I turn devices on and off depending on their type either via commands to FHEM or by directly sending data to the device - this is all done using php.

My gui looks like this

enter image description here

But it could also look like an alarm clock, or something our of Star Trek if I wanted!

If you are unable to program the frontend yourself here are some more links to home automation systems with gui interfaces to give you an idea of what you can do.

  1. Home Assistant
  2. Openhab
  3. FHEM Table UI demos