Category: Hack it

Idle Timeout in Express

Idle Timeout was not possible in express sessions until recently. You could set maxAge on the session’s cookie, but that would make the cookie expire after the given time regardless of activity. But it is more usual to want to expire the session after a certain amount of time with no activity. That is now possible […]

Read More…

Squatconf Presentation

We’re at SquatConf. It’s amazing! All conferences should be in squats. (Ones that serve good quality beer on draft, in particular. And where you can have  a cigarette while you’re presenting). Here are the slides for the presentation we just gave. And here’s our alternative translation of the heart sutra (now on Github!) Avalokitesvara the Origin Mistress […]

Read More…

Open aquaponics API, documented with Swagger and sample app

We’re proud to release the first public iteration of our Aquaponics Open Data API. You can see it live here – and we are very keen to get feedback, suggestions, improvements and collaborators in true open-source fashion. Our goal is to allow others to write applications to use data from our systems for their own purposes, as well as reusing […]

Read More…

Wireless pH sensor

JeeNode + MinipH + LiPo + Case = Wireless pH sensor This sensor is probably the one I’m most proud of so far, all the elements came together really well despite having to hack the MinipH circuit in the literal sense! The enclosure maketh the project As soon as I had finished making this sensor, […]

Read More…

Command line control of arduino using ino

As we’re going to be programming the arduino via the raspberry pi over ssh, we need a command line tool to talk to the arduino. Luckilly several such ways exist, including make-files from several sources. I chose to use a tool called ino which seems to have packaged up the toolchain in a fairly decent […]

Read More…

raspberry pi running node-red, wiring-pi to pwm control a light

OK so putting node-RED on the raspberry pi was almost as easy as getting it onto my computer – see previous post here. I started with the occidentalis distro from adafruit – and to install node.js itself I needed to use different package to match the pi wget http://node-arm.herokuapp.com/node_latest_armhf.deb sudo dpkg -i node_latest_armhf.deb but apart […]

Read More…