sudo apt-get install make build-esential libudev-dev
mkdir open-wave
wget https://github.com/OpenZWave/open-zwave/archive/master.zip
unzip master.zip
cd open-wave
make && sudo make install
if node-gyp is acting up, just remove and install again.
node...
Read more
Raspberry Pi Nodejs Open Zwave
Javascript Contract Development
JavaScript: Desing by contract.
The javascript console has a little known method: assert.
The idea is that you can place in your development code assertions such as:
Model.prototype.setName = function(name){
console.assert(name);
this.name...
Read more
Nodemcu Optimizations
Not enough memory
https://github.com/nodemcu/nodemcu-firmware/issues/457
I could explain how to do this but I am not minded to on an issue list about bugs in the firmware. However in short, have you played with lua -i on your dev PC? you type in Lua...
Read more