Skip to content

ESP8266 application with library to control dimmable ballasts for fluorescent light tubes using MQTT protocol

Notifications You must be signed in to change notification settings

krzychb/esp-lamp-in-sw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#esp-lamp-in-sw

This is an ESP8266 application to control electronic dimmable ballasts for fluorescent tubes.

Hacking the Square - video on YouTube esp_lamp_in_sw wiki on GitHub ESP8266 Forum
Hacking the Square on YouTube Wiki on GitHub ESP8266 Forum

For additional information please refer to YouTube video Hacking the Square, Wiki and ESP9266 forum.

##Tested with

##Features

  • Switch the lamp on / off
  • Dim to specific light intensity
  • Read back on/off status and intensity
  • Read back result of last operation
  • Calibrate

##ESP8266 Application

Application for ESP8266 has been developed, compiled and loaded using Unofficial Development Kit for Espressif ESP8266 by Mikhail Grigorev (thanks) and communicates with external world using MQTT client library for ESP8266 Soc (thanks).

##Required

  • ESP8266 with GPIO and exposed ADC
  • Relay connected to the GPIO
  • Light sensor connected to the ADC
  • Touch and dim lamp connected to the relay
  • MQTT Broker
  • MQTT Client

##Usage

alt Overview schematics

  • Lamp control routines are implemented as a separate library lightsw
  • Method of interfacing with lightsw is of your choice (no need for MQTT)

##Contributing

Feel free to contribute to the project in any way you like!

##Author

krzychb

##Donations

Invite me to freshly squeezed orange juice.

##LICENSE - "MIT License"

Copyright (c) 2015 krzychb

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

ESP8266 application with library to control dimmable ballasts for fluorescent light tubes using MQTT protocol

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published