I have been working on using riot with the Blitzwolf SHP2/6 power meters. (https://www.blitzwolf.com/3840W-EU-WIFI-Smart-Socket-p-244.html) These smart sockets contain an esp8266, a relay, and a power sensor.
I would like to contribute my board definitions and drivers to the RIOT repository. However, there is one issue I have. As these boards are directly connected to mains voltage, and when developing/programming also expose this to probing fingers, they might be dangerous to work with. Furthermore incorrectly connecting these boards to program them while connected to the mains voltage, might destroy USB-ports or more.
How then should I add these boards/drivers in a safe/responsible manner? Possible solutions that I have thought of are:
- Just adding a warning to the documentation of the board.
- Add a warning to the makefile with a line that needs to be removed to compile at all?
- Ignoring the problem
- Not adding this to RIOT
I would like your opinion on what I should do, better solutions are more than welcome.