A very easy project this morning!
A robotic – automatic notifier for google plus with an arduino, a servo motor and an… icecream box! (plus.google.com)!
A c# tool call and parse this url: https://plus.google.com/u/0/_/n/guc, that returns, as response, a txt file called response.txt that contains these informations:
)]}’ [“on.uc”,2,300,”101932929612066440630″]
after “on.uc” we can see number 2. The number of notifications!
Google notification url was found reading html page of google+ login. “On Success“, open url. To show you if there are any notifications.
The tool send on serial port a value only if > 0.
Arduino recognize the string and move the servo +/- 90°. The box will open (showing google logo) or close (hiding all)!
Arduino code:
[code lang=”cpp” autolinks=”false” collapse=”false” firstline=”1″ gutter=”true” htmlscript=”false” light=”false” padlinenumbers=”false” smarttabs=”true” tabsize=”4″ toolbar=”false”]servo.write(0);
if (val > 0) servo.write(90);[/code]
Very easy to do, 30m of work, but so coool!!!
Making of photos and video (today, only a simulated video because google plus and notification are under test):
yeeeees!