Archive for the Networking Category


Posted in Networking on July 25, 2016 by asteriondaedalus

So, bombed a C.H.I.P. with shairport-sync.  This is a neat Airplay client app.

Only problem is my old house seems to throttle back the wifi throughput with its double brick walls.

Pumping the music through the wifi router in the lounge (from my PC on my desk in my hobby room) the audio at the desk was choppy and honestly useless.

I tried bombing a second C.H.I.P. but got the same result.

So, as I had a wifi extender on my desk I connected PC and C.H.I.P. to that and voila!

Mostly good, though it did kaput and loose sync after half a dozen songs.  It took a restart of the shairport-sync and a couple of attempts at iTunes to reconnect everything up.

So, I downloaded the NETGEAR Wifi Analytics app to do a quick survey.  Not really much difference in bps but I wasn’t even getting peak performance a metre from the wifi router.

As the Wife insisted on no cables from Foxtel to television in the lounge a wifi extender is in use so I half suspect some interference (perhaps).  Not to mention we cannot have the router in view, as that is “ugly”, so there may be other structural interferences.

In truth though, more or less the same performance as the android app experiments using kodi on my phone.  Same difference, choppy.

I might need a good wifi extender in the ceiling to pump wifi at a high enough rate to TBD speakers in ceiling.



Posted in Embedded, ESP8266, IOT, Lua, MQTT, Networking on June 29, 2016 by asteriondaedalus

So, just got delivery of my 5 WeMOS uno clones …


arduino killer

… and 5 …

5v 4 Channel Relay Shield Module For Arduino

… we are now ready for OpenSprinklette!  All up AUS$11.00.  Only four channels but add a second unit for sum total of AUS$22.00!

So, a little work as we need to convert the 12volt AC to DC, should work a treat as the WeMOS board is happy to take 9-24V and also provides the 5V the relay board needs (apparently the 3.3V outputs should be okay *whimper*).

Now, since the “leak” (and the $3K water bill for the quarter) I will fit flow sensors to ensure flow is within expected range – so the unit can raise alarms.  Got 4 from Aliexpress for US$12 (or US$3 per sensor) which is better than the AUS$15 per sensor LittleBird is pinging people for similar devices.  Just needs a 3.3V zener and a 220 ohm resistor to adapt the 5V output of the sensor to the 3.3V inputs on the WeMOS.  Will build that onto a protoshield. (Anyone know what the connector type is from the photo below?)


The NodeMCU provides NTP so I can run timers on WeMOS.  MQTT to the ODROID-W server (in the house) to pick up the watering times, weather off internet to decide upon whether or not to water etc.

A second two will be used for remote control of back and front yard lighting.  So remote ON/OFF and IR triggered to boot.


Hot damn!

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


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.


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.

Extra Sensory Perception?

Posted in Embedded, Hardware, Networking, Wifi on May 12, 2015 by asteriondaedalus

What ever it is, the ESP 8226 has read my mind.  Including being able to run LUA and so include MQTT and also things like Actors, CSP, FSM.



Especially with NodeMCU on board.



Now with ESP 8226+NodeMCU+MQTT, don’t forget Node-Red.

For my MQTT broker I am using, of course, emqttd as it is erlang based.

For connecting from python on PC, Raspberry Pirate, Beaglebone Black, one needs paho-mqtt.  MQTT has topic much like ROS does … hmm … more reason not to need ROS broker.

In any event … get it … event … never mind, on Android one can use MyMQTT to hook into broker to push and subscribe as a test tool.

Finding that pesky IP

Posted in Networking on June 16, 2013 by asteriondaedalus

With all that is going on within my home wifi (development boards added, hosts turned on/off, wife’s laptop etc.) the IP addresses for everything tend to be fluid.

To keep track of the IP addresses turned out relatively simple, I just downloaded Net Scan onto both my ACER tablet and my Samsung Galazy SII and I can get a peek at what is going on.

There are still quirks, the wireless extender and everything attached to it is labelled “NETGEAR”, but that may yet be sorted out with a little work.


Beaglebone Black Setup

Posted in Development, Hardware, Linux, Networking on June 15, 2013 by asteriondaedalus

bbb setup

Above is my setup for the Beaglebone Black development.  What fun!

None of the example setups for using the USB alone seemed to work (the ttyUSB* device never turns up on the Debian box).  There are a wealth of people (given the “bleats” on the various user groups) with the same problem.  So, while running it all through the USB seems a neat solution, I recommend going through the Ethernet.  Now I don’t necessarily recommend you go overboard such as the way I have, but I had an afternoon of huffing putting together Ikea furniture and I wanted something therapeutic to do – so there.

I didn’t want to dual boot my Windows desktop especially as  I wanted to potentially run different processes at the same time across the network so the Debian Wheezy 64 bit (the 3GHz HP desktop) went into the entertainment cabinet downstairs.

I VNC into the Debian box and did, for a time, have the BBB on a USB port of the Debian box but that meant going up and down stairs to hit reset buttons or read signals.  To fix this I got a wifi extender with four ports so I sftp to the BBB over wifi from the Debian box but power the BBB and also talk to it by the USB on my Windows box.  This means I can Tera Term VT into the BBB (as well as the Debian box) from Windows.  I can also SSH to the BBB from the Debian box (via TightVNC of the Debian by the Windows box).  The BBB also comes up on the Debian box via sftp.

Though there seems ample ways of getting to the BBB with this setup there is also the serial connection and I will soon sort that out as well.

With the four ports on the wifi extender I can now set up my Beablboard XM as well (as a desk top) and also start the vision experiments with the Android webcams I bought, remember the?:

android webcam