Giter Club home page Giter Club logo

smarthouse's Introduction

SmartHouse

Smart House development

History. V 3.6

  • fix bug with energy publishing V 3.5
  • add support of delayed relay Switch (action=8) V 3.4
  • add support of WatchDog2

V 3.3

  • fix bug with read config from EEPROM

V 3.2

  • support of PZEM0004t v 3.0
  • bug fixes

V 3.1

  • add support of delayed relay on and off
  • bug fixes

V 3.0 (not recommended)

  • switch to the SafeString and char*
  • refactoring of application
  • support of Shift Register In/Out
  • The initial values are taken from the last state

V 2.1

  • bug fixes
  • multi-board actions
  • "Switch Off for All" functionality

Description

SmartHouse “SmartSigma”

Common functionality

SmartSigma (hereinafter referred to as SmartSigma) currently supports the following functionality:

The ability to turn on lighting (and indeed any electrical appliance) from switches of the “bell button" type (button without latching) The ability to turn on lighting through a web interface Support 1-wire specification 1-wire temperature sensor support Support for lighting on / off schedules and electrical appliances Power Meter Support Support for equipment on / off scenarios triggered by the following events: Schedule with recurring events, including astronomical ones (dawn-sunset-twilight-sunrise -...) change of state of any of the items of equipment reaching a value by the sensor (for example, when a certain temperature is reached Virtual Button Support Saving State Change History

SmartSigma Composition (See SH_Common.png)

Fig. 1.

The general SmartSigma diagram is shown in Fig. 1.

Homeserver

HomeServer is a control computer that allows you to: centralized management of individual controllers web management interface hosting checking the survivability of the controllers and rebooting them, in the event of a hang maintaining controller configuration saving the history of changes in values

As HomeServer, it is recommended to use the Raspberry Pi. But any computer with Windows / Linux / ... can be used (Node.js support required). OS: Linux / Windows / ... (Node.js support required) CPU, Memory: no fundamental requirements Storage: 50 Mb GPIO: It is desirable to have a GPIO or other outputs capable of controlling a 3-10V DC relay by the number of controllers used. In the absence of such equipment, the verification of the survivability of the controllers cannot be implemented. Network: Ethernet interface from 10Mbps DBMS: Any SQL DB (MySQL, PostgreSQL, ...) is highly desirable. You can add an external database server. In case of absence, the history of changes in the values ​​will not be saved.

IoBroker is installed as a UI on HomeServer (http://iobroker.net/). The general interface looks like this:

(see House3.png)

Fig. 2.

Appearance can be changed in any style. For examples and details - please visit the author's website http://iobroker.net/

The interface supports touch screen devices. Active elements are clickable.

Controllers

SmartSigma supports multi-controller on-the-fly architecture. Adding a new controller does not require a system restart. Arduino Mega + W5100 Ethernet shield is selected as the controller. All sensors and actuators are connected to the terminals of the device. External memory is not used.

Supported Hardware

Buttons and switches Switches of the “bell button" type are supported - without locking. The following states are recognized for this button: short press: 0.12-0.7 seconds (presses up to 0.12sec are considered “noise”) long press: 0.7-2 sec. extra long press: 2 sec.

Relay Relays controlled by both “zero” and “unit” are supported

1-wire bus

SmartSigma is a 1-bus controller

1-wire bus temperature sensor

It supports work with the DS18B20 sensor in both passive and active modes.

Voltage / current / consumption meter It works with the PZEM-004t sensor, which allows measuring current voltage, current, power, and accumulation of consumption

smarthouse's People

Contributors

igorgsh avatar makeitlviv avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

educoay sigmashig

smarthouse's Issues

TODO: Ethernet is out of service

The board should works locally when Ethernet is down.
The board should check Server connection periodically and retrieve configuration when Ethernet is up

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.