Wednesday, May 4, 2016

I've decided to pull my home automation code into Github. Why? because it's time to share :) When I did that I saw that at one time I had hooked my Github account up to this blog space.

This code has been humming along for about 3 years, all written in anger when we returned from Barcelona and started wrapping up our home's remodel.

What the code does is integrate our security and lighting systems, which are all high(er) end and not meant to be integrated by mere mortals ( fee-paying approved integrators.)  I also used it as a learning context for ... stuff.

Meaning I'm pretty good with Java, Oracle/fooSQL, all sorts of scripting languages, mad integration/gluing of desperate things blah blah.

But I hadn't been keeping up ( read: billing )  with the fractal fuzz going on in web integration.

The code is node.js, which is a bit ironic given how much time I spent working/billing with Livewire at the dawn of the commercial web.

The backend has been a few of these NoSQL databases.

ok back to it.

DFRobot Rainbow LED Ring hacks

Been a while. hmm.

I'm now living in Barcelona. Have been for a few months, as part of my wife's adventures with Mozilla.

anyhoo I've been doing some hackish things and thought I should annotate them for anyone else following this path.

The most immediate thing I hope to save someone some time with involves programming with the DFrobot Rainbow LED thingy.  A couple of quick notes

documentation is sparse. I haven't found the current specs.

OOTB its libraries require 022. A clever Italian dude has published suggestions for converting the provided libraries to 1.0.3 but my first pass didn't work.

The examples jump around between two different Optiboot hardware profiles, and show things which don't work at this point.

When using the Optiboot Lilipad ATMega 128 the only baud speed which works is 38400.
When using the Demiluva.... ATmega 128 the only serial baud speed which works is 19200.

when adding the Parallax Ping))) module use the NewPing library. The only hardware profile which works accurately is then the  Demiluva...Nano ATMega 128.

Holy Cats

... I had, in the midst of tearing down my house, moving to Barcelona, moving back, finishing the house and putting dear kiddo into a brand new STEAM high school - forgotten that this existed.


well. hmm. I have a fair number of projects at hand :O