Raspberry Pi playfulness

From: CHYRON (DSMITHHFX)21 Jul 2016 15:39
To: Chris (CHRISSS) 841 of 853
Must try it in the highly unlikely event we ever essay app development again.
From: Chris (CHRISSS)23 Jul 2016 00:34
To: ALL842 of 853
Right. I now have an app for my phone that I use to control my heating. It doesn't (yet?) have a graph but that makes it work much quicker - getting that graph info from the DB on the Pi is SLOW.

I've added some JSON stuff to my server on the Pi so it returns Jason to the app. And so far it all seems to be working ok.

Only problem is the HTTPUrlConnection class in Android doesn't do digest authentication so if I want to use the app I need to disable the password on the Pi or find another HTTP implementation that supports digest.
From: Chris (CHRISSS)23 Jul 2016 00:36
To: Chris (CHRISSS) 843 of 853
And it's sooooooo much better compiling on here than the Pi doing it. Much quicker to test small changes.
From: Chris (CHRISSS)23 Jul 2016 00:36
To: Chris (CHRISSS) 844 of 853
And I think I need a quieter keyboard for late night coding *CLICK! CLICK! CLICK!*
From: Chris (CHRISSS)25 Jul 2016 23:10
To: Chris (CHRISSS) 845 of 853
Built my timer system now. It will turn on the water/heating for X minutes at a certain time, so not on at 1pm off at 4pm, instead on at 1pm for 4 hours.

Now need to integrate that into my boiler controller and get the app interface working to set the timers.
From: ANT_THOMAS25 Jul 2016 23:47
To: Chris (CHRISSS) 846 of 853
I'm so glad I've got a combi boiler and didn't have to mess about with hot water timers.
From: Chris (CHRISSS)25 Jul 2016 23:58
To: ANT_THOMAS 847 of 853
Yeah, that would definitely be better. Probably get it all set up then the boiler will blow up (hopefully not actually blow up) and we'll need to get a combi boiler.

Been fun making it, even though I hate C++.
From: Chris (CHRISSS)31 Jul 2016 23:55
To: ALL848 of 853
Yaaaaaay! Timer is working with my boiler controller now :D :D I can have a daily event or a one time event.

Only problem is at the mo I need to do http://192.168.1.70:8081/addtimer?hour=23&minute=52&duration=1 manually. Need a UI for it.
From: Chris (CHRISSS) 4 Aug 2016 07:42
To: ALL849 of 853
New feature: Ajax loading of the graph. Gosh it takes a long time for the Pi to load that data. The other bits work quickly.
From: Chris (CHRISSS) 9 Sep 2016 18:34
To: ANT_THOMAS 850 of 853
How many of the 10 million Raspberry Pis that have been sold did you buy? :)
From: ANT_THOMAS 9 Sep 2016 19:46
To: Chris (CHRISSS) 851 of 853
Erm, I counted at least 12 yesterday.
From: koswix 9 Sep 2016 20:01
To: ANT_THOMAS 852 of 853
:'D
From: ANT_THOMAS 9 Sep 2016 20:36
To: koswix 853 of 853
8 in active use.