Sonoff S31, a world apart
It's not that other Sonoff products are not “serious” business, but there are a number of design changes in the Sonoff S31 that make this new product a world apart. For the functional point of view it looks like a S20 with POW-powers, but they have redesigned the product completely. The result is very very interesting.
Revamped case, more compact and sturdy Redesigned PCB, actually 2 different PCBs for main and control Different power monitor chip: the CSE7766 (same as in the new POW R2) replaces the HLW8012 The only drawback: it's only compatible with plug types A & B, tat is central and north-america and few other countries....
Storing and publishing sensor data
Now that I have started to monitor some magnitudes at home, like power consumption or the front door opening, I have to do something with this information. The sensor information can be useful for two purposes, mainly:
analysing it to know more about your environment or your life-style patterns (like when and how you spend the money you spend on energy) taking real-time actions based on events from your sensors (open a light when you pass by a dark corridor at night, receive a notification when someone enters your house,…) To analyse the information you will first have to store it in some way you could retrieve it later, graph it, summarize it, perform different time range roll ups or moving averages or detect time patterns,… whatever....