Sonoff Touch review

Currently the DIY community has been taken over by ESP8266 devices as they are cheap and Arduino compatible. I have several of them in my use as well – ESP8266, Wemos D1 Pro, Sonoff Smart Switch and Sonoff POW.

Smart home market is growing, but mostly all devices work with the cloud, which most people do not like, because the data and control aren’t private and safe. Thanks to ITEAD we have some beautiful devices what we can use for our projects.

So, today I have received from itead.cc the new Sonoff Touch – wifi wall switch, and I have strong belief that most of us have been waiting for it. It is the first wall switch, which can be easily reprogrammed with custom software (as it is based on ESP8266) and can be used locally with MQTT by example.

Sonoff Touch unboxed
Sonoff Touch unboxed
Sonoff Touch consists from 2 pcb: ESP8285 SoC with touch sensor, and PSU with 10 relay
Sonoff Touch consists from 2 pcb: ESP8285 SoC with touch sensor, and PSU with 10A relay

Continue reading “Sonoff Touch review”

Sonoff Touch review

NEXT STEP: Raspberry Pi, JeeNode, EmonCMS

Time was going, new hardware and approach how to use them was born.

This is how I met JeeNode (http://jeelabs.org), Raspberry Pi (http://www.raspberrypi.org) and EmonCMS (http://openenergymonitor.org).

My next setup was Raspberry Pi with JeeNode and EmonCMS as server side software with custom plugin and modifications. I have tried to use EmonCMS as middleware and data visualiser, but as it was relatively new (end of 2012 year), I have wrote custom web page for heating monitor and control.

As IoT world is dynamic and new software appears every moment, my custom web page wasn’t finished and published anywhere, and I’ve started to deal with node.js, NodeRED and MQTT.

NEXT STEP: Raspberry Pi, JeeNode, EmonCMS

RFM69 hanged network

SendNode ACK
times to get ACK

This week I spend a lot of my free time learning RFM69 library core to find out hanged network problem. Full story you can find on Felix Rusu LowPowerLab forums.

So, below you can find how the things went:
Examining the code and putting all RFM69 logic on paper as diagram I found that receiveDone() do not work as expected.

Continue reading “RFM69 hanged network”

RFM69 hanged network

The Beginning

It was in 2011th autumn/winter when I was not satisfied with temperature in my house, as it is usually when winter season begins and outside temperature is 4..10 degrees by Celsius. Then I started to look around in market what options do I have to improve heating logic. All of them was to much expensive to try them out and verify does they really work.

That was the reason why I first met an Arduino. After some deep internet study I build my first system. Later improving it has such components: Arduino Mega2560 + Ethernet Shield + RTC + 7 wired DS18B20 temperature sensors. It was my first prototype and worked very well after spending a lot of time coding it. It was looking terrible and funny for others (my friends and family) but for me it was first working IoT.

First prototype
First prototype

 

The Beginning