Archive for January, 2016

Now that’s a hobby space!

Posted in Doodling on January 5, 2016 by asteriondaedalus

20160105_205105

Of course it’s a new desk and storage unit.

And yes still setting it up but got waylaid by building a camera gimble that I bought.

Nope, not for that tired ARDrone which is more or less kaput.  Building a new quad from bits!  More fun that way.

Advertisements

Hot damn!

Posted in MQTT, Networking, node-red, ODROID-W on January 3, 2016 by asteriondaedalus

node-red-pi

node-red running on my odroid-w.

I have my old blackwidow working with a relay shield so I can drive sprinkler valves but I could not sort mqtt onto the older dopey wifi shield – just lazy.  So I will use node-red to drive tcp chatter to drive the relays and drive that with mqtt via the node-red.  That way I can integrate the board gently, using its current libraries.

Next experiments include, yes, sorting that static IP story.

Then getting mosquitto up and running.

There are a few warnings in the node-red install that I need address (upgrades of dependencies).  Otherwise I am looking at a thingybox the size of a matchbox.

Sensibly though I am looking at a small 220VAC-5VDC module to build the whole thing into a 3 Pin Plug Pack Case.

case

Yes, yes.  All would have been easier with a fresh download of the Jessi distro – since it comes with node-red.  But I do like the labour.

Still, the final version will be on a fresh Jessi distro so that I only need the mosquitto install to get this rolling.

Phew!

Posted in Doodling on January 2, 2016 by asteriondaedalus

Thank GOD! I bought a serial cable for the ODROID-W baseboard.

I was trying to setup a WiFi static address and must have blown the edit so I couldn’t get into my ODROID-W as I had lost both eth0 and wlan0.

Not to mention that I ran a apt-get upgrade which wipe my LCD setup – so I couldn’t even get in with USB mouse/keyboard.

All good, reset everything and up a running again – though I have to go back to drawing board to set the static IP up.  Likely should not be tippling on rum and scotch whilst telneting – yes I think that is a good rule.

The problem was that the DNS is updating my ODROID-W IP address and I loose connection in the middle of things like, say, installing node-red.

I also gave up on installing the emqttd after I found that the apt-get upgrade lifted my erlang install from 17 to 18.  The emqttd install notes warn that one must use 17 because of a memory leak problem in 18.

So, I installed mosquito to provide the mqtt server requirements from my house.  I guess I am building a thingyboxythingy then but with a much smaller footprint.

I may look at downgrading the erlang at least to allow for an emqttd install.  Still, the IoT aspects of the house won’t (or shouldn’t) know the difference.

Happy New Year by the way.