This project was made for the Ubiquitous Computing course at the KIT University in Karlsruhe. In this repository you find code, business models, sketches etc. of a arduino based smart socket with replaceable sensors. You can imagine this by thinking of a nighlight with movement sensor like this: https://www.amazon.de/Bewegungsmelder-energiesparend-Steckdosenlicht-Sensorleuchte-Kinderzimmer/dp/B01LYATBR3/ref=sr_1_3?ie=UTF8&qid=1523375279&sr=8-3&keywords=sensor+steckdose. But in this project you can easily replace the motion sensor with whatever sensor you like.
The main problem i wanted to solve with this project was to automatically restart my internet router when it hangs up or no internet was available. (This happened realy often to me :( ) While thinking on how to achive this i came up with a lot more usefull usecases where i would need a sensor based smart socket. But every use case needs a different sensor. So i decided to make one device where you can decide by yourself which sensor you want to use.
The main requirements for this project where:
| Requirement | Description |
|---|---|
| Many Sensors | The socket should work with many different sensor |
| Simple User Interface | The user interface should be simple and easy to use for everyone |
| Mobile Friendly | The interface should scale to screensize to be used on mobile phones and tablets |
| Visualize Sensor Value | The sensor value should be visualized in the UI |
| Acces Point Mode | If no wifi is available the device should work as access point |
The first idea was to house all my electronics in the main socket housing. But with the size of the arduino, relay and step down it was just not possible to do this. So i decided to 3D print a case which will be mounted on top of the socket where all my electronics fit in
This is a list of all my hardware parts i used for this project
| Amount | Part Type | Descripiton | Price |
|---|---|---|---|
| 1 | NodeMCU v3 | The main computing part where all the logic is implemented in | 3 $ |
| 1 | 230v / 5v stepdown | Get the current from the socket to power the NodeMCU | 1$ |
| 1 | Standard Socket | 4.99 $ | |
| 1 | 230v relay | Relay to power the socket on and off | 1 $ |
| 1 | Sensors | Different sensors to attach to the socket | 1 - 3 $ |
| 1 | 3d-printed housing | PLA consumtion ca. 100g | ca. 5 $ |
| Total: | 15.99 $ |
Shows the general setup and connection of the hardware components. Created with Fritzing
For the housing i decied to 3D print a case where the NodeMCU and the relay with the power step down module fits in, which will be screwed on the main socket. I also wanted to make a houseing for the different sensors but decided to make just an example for the PIR motion sensor. The rest is up to you ;)
To get an idea about the model you can see the model here
And here is a timelapse of the printing:
The business model was modulated with canvas. The result can be seen here. If i wanted to sell this product i would chose the Direct Sales or Low-Cost Model.
The cost estimation of around $101000 for this project was done using COSYSMO.
- Collect historic data
- Visualize historic data with charts
- Connect to the cloud
- Optical feedback (Status LED)
- Measure current Consumption
| Part | Consumption |
|---|---|
| Relay | 45mA |
| Motion Sensor | 1mA |
| NodeMCU | 150 mA |
| Overall | ca. 200mA |
The smart home market is expected to be valued at USD 137.91 Billion by 2023, growing at a CAGR of 13.61% between 2017 and 2023. source
There are no identical products like this on the market. Standard smart sockets are priced between 10€ to 50€. Smart sockets with sensors are not available right now, except for motion sensor sockets. These are priced between 15€ and 60€ Homecube Smart Socket 38.99€ (01.04.2018) Belkin Motion Socket 46.95€ (01.04.2018)


