Week 5 septermber 22 2017

This week in class I tried some new ways to get google assistant onto a raspberry pi. I also researched some new news in home automation. There have been a few new big products that are being added to apple home and others that can connect to Amazon Alexa. I also spent some time revisiting my project from last year on making a lock that can connect to google assistant or Siri. I want to see If I can somehow make the lock an available thing that google assistant can recognize and control. I also don't want it to be 100 percent controlled by google assistant because that could leave vulnerabilities in security. I have been thinking of ways to do 2 step authentication but haven't found any yet. Hopefully, next class, I can make some more progress on my project.


September 22 2017

Today In class I spent time working with my Raspberry PI. I had to spend some time trying to get google chrome on the raspberry PI. I wanted to see how easy it was to download google chrome on a raspberry pi I found out that the only way for this to work is to download xmbc which costs money to download. It's not a lot but using google chrome as a way to run google assistant probably wouldn't have worked anyway. I wouldn't have been able to directly interact with the code since I would have just been running a program on google chrome. I will have to go back to my original plane of using google apis.


September 20 2017

Today In class I worked on my PI for the whole class. I made some good progress on my project. I was able to get my microphone and speakers to work with some code that I downloaded that tested both of these components. I then had to research how to set them as the default since PI already has built-in speakers and I need external speakers to go outside of the pi. I also need a better microphone which I have on my PI. I also started to make some of my own commands for google assistant. I still don't have google assistant on my PI, but I figured out how to make custom commands with minimal coding and changing of the google assistant code. Next class, I want to put google assistant onto my Rasberry PI.


September 19 2017

Today In class I watched a few videos and read some guides on how people have used PI for home automation. I saw a lot of cool projects and saw how they made them. A lot of the coding involved in these projects I am not at that level yet but I can understand what they are doing in their code and what are doing. I saw some different ideas that used products that already existed with big products. I also saw someone connect their home automation to Siri. They were able to somehow control there how automation system through voice commands on their phone. Next class I will continue to work on my project and try to get google assistant onto PI.


September 18 2017

Today In class I got a late start on my project since we couldn't get into the Elab. I spent my time before I got in studying for my Spanish quiz. Once I started working on my project I didn't have much time so I decided to work on how I am going to make a case. I'm not sure what kind of design is going to make for my case but I have a few in mind. One design is just 2 slabs of wood or 3d printed plastic. I also could make a small box and have the pi and speakers inside. I'm not sure yet but I have found a guide on how someone made a case similar to the one I would make out of wood. Next class, I will work on the google assistant.


Week 4 September 16 2017

This week In class I was working on PI and on google cloud. Both of these two things I am new to and am still learning the basics of how they work. For Google could I am learning how to get google programs that I can work on legally with their API programs. I have been able to get a google assistant API and have received a file that I put on the pi that will let me download google assistant. I have been working off of a guide that is on the official google assistant guide on googles website. I am stuck on the commands that download the files onto the PI. When I input those commands I am getting error signs. Next week I hope to be able to fix these issues and get to the next step of my project.


September 13 2017

Today In class I tried a different approach for getting google assistant on PI. I tried to get google chrome on the PI. To do this I have to try to get windows x86. To do this I was going to download ex0gear. When I tried to download the files from a line of terminal commands. I kept getting errors on file locations. I think I may have missed a step where I had to download something before I can input those commands. Next class I will try to get this way to work and if I can't I will go back to my old way of doing it by installing google assistant onto the PI.


September 11 2017

Today in class I had a lot of hard ships and set backs. I didn't manage to get google assistant onto my PI. I started class by spending some time looking for pi updates. Once i had done that I tried to download the files for google assistant in terminal like they did in the guide i was following. I was able to run a few lines of the code but after that i was getting errors on locating the file. I think i missed a step and need to install something on the Pi before i can locate the files. I will try to figure this out next class.


Week 3 September 9 2017

This week in class I worked on getting api for google assistant and getting my pi setup. I started the week with learning how pi works and how to update and upgrade pi and how to change settings and use the console. After that I spent a class trying to navigate the google api site. The api site is fairly complicated and difficult to navigate. I think i successfully managed to get an api and a code that I can put into the download that will activate it on pi. I haven't figured out how im going to download google assistant onto my pi but once I do i think i can get it working with my google cloud account. Next class I want to get google assistant onto my pi then I can start testing it before I make the casing for it.


September 8 2017

Today in class I worked on syncing and downloading google assistant to my pi. What I need to do first is create a google cloud account where I can download google assistants API. I think I did that and I have the product key and password. What I tried to do today in class was find the download for google assistant on the pi. Once I have the code on my PI I can edit it and put in my key and password that will hopefully activate it. I also can add my own custom commands to google assistant that will hopefully work with its voice recognition programs. Then I will hopefully be able to use it with my phone computer and sync with all of my google software.


September 7 2017

Today in class I think I successfully enabled Google assistances api on my google cloud project page. I also got the key and password that I need when I download it on my PI. I'm still a little confused on how I'm supposed to get google assistant on pi but I think that I can download it on the pi if I go to my google cloud project page on the pi next class. After I download it I need to put in my product key and password then I think I will have a google assistant api on my PI. I also want to modify the google assistant code if I can. I want to add an led that will show when it's on that can stick through the casing around my pi so you can tell if the google assistant is on and listening or off. I also need to figure how to connect pi to the internet on wifi since I want to have as little cords as possible. I have been debating using a power bank or using a USB cord with a brick to power the pi. I will probably just use a cord but a power bank could be a nice addition.


September 5 2017

Today In class I worked on getting Google assistant onto my PI 3. I found a guide on how someone did this. They did it by making a project on Googles API. It was a very confusing guide and I ended up getting lost in the google API website. I managed to create a project and enable google assistant on my project but that is all I was able to do. I also spent some time setting the date and time on the PI 3 which ended up taking a lot longer than I thought it would. Next class I am going to hopefully get google assistant working with my PI.

1 comment

Week 2 September 2 2017

This week in class my main goal was to learn Rasberry PI and to get my PI 3 working. I managed to get my PI to turn on and update by the end of the week and with some help updated it. After that researched some projects I could do on PI that would be easier than jumping right into a full on home automation hub like an Alexa. I would need to do voice recognition and AI. I definitely want to do that but not as my first project on raspberry PI. Instead, I found out you can use google assistant on PI and I want to make a raspberry PI google assistant. Google assistant is similar to Siri for the iPhone. I would be able to do anything you can do on your google assistant on your phone. I hope to start this project next week.


August 31 2017

Today In class I updated my Rasberry PI and learned some of the basic commands for using PI. Since I have never used PI before it was a little confusing and remembering some of the terminal commands are going to be a little difficult. After I got my PI up to date and had messed around with some basic commands I found a project Idea that will be short but will be a good entry into my main AI console. It is basically just a raspberry PI running Google assistant. It shouldn't be too hard to program and making the case should be fun and will allow me to work on designing my own casing. Next class I am going to start programming and getting google assistant onto raspberry PI.


August 29 2017

Today In class I managed to get my PI working. I found out that it wasn't the monitor or Hdmi cord but the PI itself. The PI for waht ever reason wouldent turn on. I had to grab a new one that worked perfectly and already hade and operation system on it. The next step for me to do next class is begin programming it or to begin makign a model to 3d print it. Im not sure which I should do first. I want to make it as small as possibole but I also want somthing phisical to have and work on and to test with. I will have to decide which i do first in the upcoming classes.


August 28 2017

Today In class I spent most of the class exploring Raspberry Pi since I am new to it and have on worked with Arduino. I am looking forward to working with PI and getting to understand the hardware and software. The project I was looking at that I liked the most was a home automation video that I found. It was a complete system powered by PI. I also liked how clean and professional he was able to make his system look. His system was also very functional and I could use some of his ideas on my project. Next class I will work on setting up my PI.


Week 1 August 26 2017

This week in class we started off with talking about our projects to the rest of class. I got to hear about the rest of the classes project and some of the NASA projects that will be happening off campus at KEK and on Mauna Kea. My project is going to be a amazon alexa voice controlled home automation hub that will be powered by raspberry PI. I will add components and and container around the PI and plug speakers and a microphone and other components directly into the PI. I used the next class to start a parts list. From the outside to the inside my parts I need are 1 a case that I can 3d print. Next a lcd display for PI that I could use but don't have to. Some sort of speaker mechanism that will allow the speakers to be on the outside of the casing. A microphone in a place where it can clearly pick up audio. A small power bank that can power multiple usb devices. Lastly a raspberry PI 3 that I have. The last class of the week I attempted to start working on my PI. Since this is my first time using a PI i had some problems. I couldn't get my PI to connect to a monitor. I got a red light that showed the PI was on but for some reason nothing was showing up on the monitor. Next class I will look up online and see about some trouble shooting for PI’s not working. I can also try using other PI’s to see if its the monitor that's the problem.


August 24 2017

Today in class I started out by giving a brief summary of my project, as well as hearing about everyone else's project. After that, I started looking at my parts list. Now that I'm using a raspberry PI a lot of my components I was using for Arduino are already on the PI. My parts list is mainly all already on the PI hardware. I may need to somehow get a microphone to connect because the enclosing may distort the sound and the mic on the PI may not clearly pick it up. I also found out we have PI 3s in the elab. The PI 3s are better than the PI 2s In a few different ways but one of the best ones that will help me are the extra USB ports. This will allow me to add all of my components. During the end of class, I tried to install noobs on the PI 3. I think that they have noobs already installed but I need to check. I wasn't able to get the PI to show up on the monitor. Next class I will need to get my PI working and start to work on getting my PI up and running.


August 22 2017

Today In class I started to work on a parts list. The way I'm going to create my Alexa is to assemble all of the parts and the components then program them individually and add on to my pi code for each component. That way I will have something to show and talk about and will partially work to show tours and to get ideas on ways to improve it. Some of the parts we definitely have at the Elab or I have in my dorm room. I got half done with making a check list for parts and will be finishing my list, next class. Once my parts come in and I have all of the parts put together I can 3d print the case and fit my parts inside. I have found an example of someone who did a similar project and have a 3d printable model that I can print. Next class, I will finish my parts list and get to ordering parts I don't have.



Oliver Kettner
May 1 2017
Home automation

Hawai‘i Preparatory Academy
Independent Study
Written Proposal

Working Title: Oliver Kettner
Department: Independent Science Research
Term : Year

My project is a home automation system that can be created with Arduino. It will work with components already in the average household to save time, money and increase security.

Introduction & Goals
I am proposing an independent project to follow up on what I have done this year. This year In B period ISR I got to explore the world of home automation, programming, and team based projects. Next year I want to make a home automation hub, sort of like an amazon Alexa that will go with my components I made this year. I want to do this as well as start with some software development. I want to do my hub and software development because It is what i'm passionate about and what I want to do in college and for a job. Is Home Automation from big name companies worth the cost? I believe that home automation is the future and that all homes in 15 years will be automated. Although at this point in time I don't believe it's worth thousands of dollars for a simple door lock that you can control from your phone. That's what I want to change. I want to create Arduino and PI based system that can be recreated and do everything that big brand systems can do. I also want to go into areas that they haven't gone into yet such as working with IOT and hacking appliances to make them automated.

Implementation & Challenges
I plan to complete this project by using what I have made this year and what other people around the world have done and bring it all together into one super system. So far in my ISR class I have spent many hours on Arduino forms and Instructables seeing and learning from other peoples project. I have learned about lots of components in Arduino and how to program with Arduino. Some challenges I have faced have been debugging. I have done components of my projects in short amounts of time but debugging them or getting them to work is what takes up a majority of my time. With my project I will do next year I am anticipating having some trouble with using Arduino and PI together in one system.

Impact and Legacy: What do you expect to learn from this study? How do you expect it to matter to you and beyond (at HPA, locally, globally)?

I want to create a home automation hub because I believe that smart homes are the future of houses. You spend so much of your life in your home so why not make it smart. Making it smart can allow you to control most aspects of your home to do what you please. I want to learn more coding languages and start learning how to create software because that is what I want to pursue in college and after college for a career.

Appendix A:
This was an instructables post that showed a complete home automation system. I want to plan to do this but also have a smart hub to control all of it as well as your phone.

This was another Instructables post that was a Alexa like system. This one was called noodle and is what I want to base my smart hub on.

This was a post on an electronics website on web servers. I will need this to connect my smart hub to wifi.

Appendix B:
-3D Printer
-Raspberry PI
-Arduino uno

-Led screen
-Power strip
-Arduino wires
-Temperature sensor
-Humidity sensor
-5v relay

-Smart lock
-Security camera
-Motion sensor