ESPConnexio

From Let's Control It
Jump to navigation Jump to search

WIP.gifYou may hear some construction noise in the background...

Introduction

The ESP Connexio will be a firmware edition for the ESP module that provides a sort of mini operating system. It works with IO commands, timers and event triggers to perform local controller like tasks. So with this firmware you can have the ESP do things on it's own without even needing a central Home Automation solution.

Everything is controlled based on a event/command structure that can be uploaded through the web interface.

A sample eventlist:

Boot 1; WifiConnect
Boot 1; TimerSet 1,10
Timer 1; TimerSet 1,10
Timer 1; DomoticzGet 72,1
Timer 1; VariablePulseCount 2
Timer 1; VariableAddVariable 1,2
Timer 1; VariableMultiply 1,100.0
Timer 1; DomoticzSet 72,1
Timer 1; DallasRead 1,2
Timer 1; DomoticzSet 113,2

This checks a pulse counter and updates Domoticz

A short explanation: During boot the Wifi connection is started and a timer is set to 10 seconds. When the timer fires, a number of commands are executed. Using DomoticzGet, the current counter value is retrieved and stored in a local variable. Next, the local count value is retrieved and added to this value. Some calculations are performed and the result is send back to Domoticz Finally, a DS18b20 sensor is read and it's value is send to Domoticz.

Loading firmware

todo...

Connections

?