Personal project to make home automation more human. Pie is learning new commands all the time. Those commands can be chained together, and run code on both the server as well as shell commands directly on the Pi.
How does it work
Enter the webpage below. If it's your first time visiting, you will be asked to enter your name. Just start typing in your name - and when you are done press enter. If you click the Pie title, top commands will be shown to you. Text inside bubbles are clickable.
Pie knows quite a lot, so just try whatever. All commands are stored automatically, and if your commands are fun or interesting, I'll add them to the functionality.
Here are a couple of commands to try:
What is my name?
What is your name?
Who made you?
Open the pod bay doors
Where am I?
When is it monday
Who is Steve Jobs
I've been fighting with installing a Node.js server, for direct feedback, on top of the apache server which is already running. For a very long time it wasn't working. Looking through the Raspberry Pi log files, I finally managed to figure out what the culprit was. IPTables. So if you ever want to setup a server on the Pie, which is not using the standard ports, check your IPTables (and logs) if it's not working.
Anyways. Now that Pie is hooked up to a nice Node.js interface it will be possible to make a lot of really fast user interaction. Currently Pie will let you know when new users connect / disconnect, and tell you the current amount of users.
With Node.js changes in lights will also update in realtime, instead of the old timer method.
Another change is about you. Pie now tries figure out where you live, and adds that information to her memory. So no more need to enter your city when you ask how the weather is.
I've been having quite a lot of problems with the HTML5 Audio API in iOS. For some reason iOS is very picky with audio files, and often decides to crash when playing audio files.
There is now a new setting in the upper right corner, where you will be able to turn on / off audio playback. Playback now includes a fancy new spectrum analyser (not available in iOS yet).
Other updates include a new automatic software updater which is making use of application cache. This makes updating several devices a lot easier. Pie is checking for new files and updates them if needed. When everything is downloaded, the app will restart.
Don't know what to cook for dinner? Let Pie help you.
Pie now knows about cooking stuff. Simply ask her "what should i have for dinner". If you crave something specific, you can ask "recipe your request" - and Pie will try to look something up with that in mind.