Initial semi-working version. Erratic behaviour from node-eibd.