Midterm Project (Update 1)

So, there are two things about my midterm project. First the product that I ended up with isn’t as great and wasn’t what I pictured to be making. It was a result of the web architecture that I couldn’t do what I was trying to do, in the ways that I tried and wanted.

I wanted to make a skip & never play button for Apple Music. When playing music from my phone, I’d press the button, it’d skip what’s playing and then flag it so it wouldn’t play in my background music playlist. I’ve already worked with the apple music api so that wasn’t the main trouble. How the board serves up the websites, can’t serve up all the JS needed (at least not properly enough to run it on my machine) as it was a lot. Because the JS route didn’t work, I have a database for another app that’s setup with Parse Platform’s APIs. They had an Arduino SDK and I hooked up to send a request to the server and in the iOS app whenever there was a new object created, I was going to have it skip and flag the song. Sadly I couldn’t complete this because the Parse Arduino SDK doesn’t support the ESP8266 architecture out of the box, I was trying to modify but couldn’t really get anywhere because I need a more developed understanding of web requests and what goes into them.  

https://developer.apple.com/documentation/musickitjs 

https://github.com/parse-community/parse-embedded-sdks 

https://github.com/parse-community/parse-embedded-sdks/issues/5 

https://github.com/jcard0na/parse-sdk-for-esp8266 

What I ended up making was a “doorbell” that’s connected and tells you when someone’s at the door and presses the button. I wanted it to work and got the JS to ring but didn’t know how/where to host the mp3 file so that the JS audio player could actually play the sound when someone played the song. 

Web Setup with Arduino is not my strong suit in programming because the requests don’t follow the same pattern of events that I’m used to, and if you know a bit more and are able to take a look at the web player and finding another way to host the file with a lot of JS I’d really appreciate it and could get it to work. 

If this continues as a doorbell, I want to add other peripherals, possibly a camera, but other features such as an audible trigger so that you have that kind of feedback along with a nicer clearer way with the electronics hidden to interface with the button. A picture would be sent of the person so that you could see who’s at the door, to add more context if it’s just someone dropping off a package or actually there to visit you.