I am getting there. My config.yml lines just set a few URL components (and this could be done in the .rb file). But I now am setting up a hash of my “house” rooms in the .rb initialize method…so adding more devices is as simple as adding another room there, or more devices to a room. Currently, all it does is turn off/on lights and set levels for dimmers. It shouldn’t be hard to have a method that reports all the lights that are currently on, and individual light status. Thermostat won’t be hard, either.
But before my friends get over for Christmas dinner, I have to get the main garage door to open when Siri hears “open the pod bay doors, Hal”.
When I get this stapled down a bit more, I’ll let you all know. And if I learn Ruby before I’m done, well, I guess that’s okay. First Python, and now this. For some of this, it’d be a lot easier if I hadn’t been writing Perl for 20 years. I just keep writing it, even when it’s now the language I am working in.