Skip to content
Gudjon edited this page Jul 6, 2017 · 10 revisions

VoffCon

VoffCon is a system for controlling devices and appliances from anywhere. It is made up by two components. A node server and A device server. The main benefits of this system is your ability to create your own controls and cards, which other users logged in to your system can use to control devices you desire to put on your cards. These devices will then be connected to some of your appliances, maybe something like water valves which allows water to flow to your hot tup, turn on the heater in your far-away summer cabin, or just turn lights on or off. I am currently developing logging, which will allow device to log the device status to the VoffCon node server. Allowing users to monitor running devices and their status which would for example allow users to setup a home made weather station by connecting a temperature-, rain- and wind sensor.

Video intoduction

A video tutorial

The node server

Is a server created with node.js. This server creates webpages which can be viewed in a web browser like Google Chrome, Microsoft Edge and Internet Explorer. If you portforward the server out to the internet you will be able to accsess your devices from anywhere. It uses the Passport authentication middleware to keep your devices from being controlled by everyone. The server provides connections to many devices and uses passport to make sure that the user is authenticated before he is able to give commands to the server running on the devices.

The Device server

This program needs to be uploaded on the device you want to control from the node server. This program is created with a click of a button in the Node server.

Devices

The Esp8266 Developement Module

The esp8266 module NodeMcu Developement Module with ESP8266 is a pretty powerful device compared with the Arduino. it has a on board WiFi, allowing you to control it with a web-browser or a phone. It is a small and cheap device which allows you to control real world devices and appliances via a WiFi connection. A device server needs to be uploaded to this device so the Node server and the Device can comunicate.

The Esp32 Developement Module

The esp32 development module Esp32 Is the next version of the Esp8266 module. This dual-processor development board has also WiFi on board. Additionally it has Bluetooth and is more powerful than the Esp8266. It is also a small and cheap device which allows you to control real world devices and appliances via a WiFi connection. A device server needs to be uploaded to this device so the Node server and the Device can comunicate.