Fix Home-Assistant statistics and energy erroneous values

I recently bought a Wipy development board to try MicroPython as a friend of mine is a big fan, and I whet a TI CC3200 (ARM Cortex-M4+wifi) development board even if I prefer to develop it in C.
Here is just a snippet allowing to ground or set to 3.3V GP4 in order to connect to home WLAN or set the card as an access point. Great for on-the-go development!
I lost a few couples of minutes trying to figure out where and how
rss2mail is storing its configuration
files, as I did not find in the documentation.
rss2mail is a couple of Python scripts to parse an RSS feed and send new items
to an email address. It is really convenient but configuring it to have HTML
instead of plain text and to choose police is really better.
I recently bought an SSD for my old Apple computer. I updated the system from Snow Leopard to Yosemite as some applications required a newer system.
Two weeks after I found that my FTDI chip (serial to USB converter) was faulty. Tried another, same problem. After a quick loop with an oscilloscope, the reset signal was not good… I search on the Internet and found that Apple now develops its own drivers but they are faulty :/
The workaround is following.
I recently discussed with some friends about sensors to record jump heights and hang time when kitesurfing. They are really expensive and requires to wear a phone in a waterproof case. As it is a useless sensor and I just wanted to have some fun: I tried with a cheap sensor, an µC, and some EEPROM, no need to be accurate to the centimeter…