68kMLA Classic Interface

This is a version of the 68kMLA forums for viewing on your favorite old mac. Visitors on modern platforms may prefer the main site.

Click here to select a new forum.
System 7 & Philips Hue Lightbulbs
Posted by: olePigeon on 2019-09-04 09:43:36
Has anyone tried controlling a Philips Hue from a vintage Mac?

Just curious.

Posted by: olePigeon on 2019-09-04 09:44:18
By the way, if someone wrote an AfterDark module for interacting with Philip Hue, that would be one of the most awesome things ever. 😀

Posted by: aladds on 2019-10-09 10:43:48
Well here are the tools one would need for the module...

http://jamessignorile.com/program.html

Writing some code to poke the Philips hue bridge wouldn’t be all that hard, it’s just a REST API, which could even be implemented in raw TCP if actual HTTP is difficult. 
 

I might look into this since I’ve got a lot of modern programming experience, but back when I was using Mac OS 8/9 I was using REALBasic, which wasn’t really proper Mac programming, then or now (although I’ve not used XoJo so maybe I’m being a little unfair there!)

Posted by: olePigeon on 2019-10-09 11:05:54
@aladds Ooo, thanks.  I'm gonna archive that software.

Edit:  Hehe.  You've lead me down a rabbit hole using Archive.org to download and archive all the 3rd party & shareware modules released for AfterDark.

Posted by: aladds on 2019-10-09 12:16:57
I still love the flying toasters (especially with the song!)



Posted by: aladds on 2019-10-11 12:42:25
Ok so I sat down and eventually managed to get python (1.5.2) running on my SE/30. 
 

At this point I had to make it work!

So I did. Python version this old do have their own quirks, however....



View attachment IMG_0601.MOV
Posted by: ants on 2019-10-11 13:30:53
So I did. Python version this old do have their own quirks, however....

View attachment 30023
That is awesome!! Well done!!!  8-o 😎

Posted by: olePigeon on 2019-10-11 13:33:08
That is freaking sweet! 😀

1