Coder Social home page Coder Social logo

tschaban / sonoff-basic-firmware Goto Github PK

View Code? Open in Web Editor NEW
19.0 10.0 11.0 788 KB

Sonoff Basic firmware; config by browser, OTA, MQTT, DS18B20

Home Page: http://smart-house.adrian.czabanowski.com/en-sonoff-firmware/

License: MIT License

C++ 13.09% Arduino 83.65% C 3.26%
firmware mqtt-message sonoff-configuration ds18b20 ota

sonoff-basic-firmware's Introduction

Firmware for Sonoff Basic switch

Resources

  • EN Documentation in english: here
  • PL Dokumentacja w języku polskim: tutaj

Binaries

Change log

0.10.0 (dh) beta (2017-11-01) *This version supports temperature and humidity sensors DH11, DH21, DH22

  • Support of DS18B20 sensor is removed from this version
  • IMPORTANT: if you are not going to use DHxx sensor or you need DS18b20 sensor then install version 0.8.9
  • Info: not included in master branch. Look at 0.10-(DH) branch if you needed the code

0.8.9 (2017-06-08)

  • Added option to select the type of external switch (mono- or bistable) on configuration screen
  • Added option to publish relay status to Domoticz (authorization is not implemented yet)
  • It's possible to request relay state by HTTP request http://ip-sonoff/?cmd=reportStatus

0.8.1 (2017-04-29)

  • Defect fix: DS18B20 not launching
  • Defect fix: Debugger flag was not saved

0.8.0 (2017-04-28)

  • Added possibility to control Sonoff with HTTP protocol
  • Added possibility to turn off Sonoff control by MQTT or HTTP protocol. Manual control is possible
  • Changed the name of Exit link to Exit configuration
  • MQTT comment to reboot Sonoff changed from reset to reboot
  • Defect fix: Wrong error formating while upgrading sonoff with failure
  • Defect fix: relay value not request each time when connection established to MQTT Broker
  • Changed mechanism for WiFi and MQTT connection establishing. It increases Sonoff stability
  • Couple of small UI changes

0.7.0 (2017-03-18)

  • Added possibility to control sonoff with external switch
  • Added option tu turn on/off serial debugger
  • Fix defect related to host name broadcasting as an access point in local network

0.6.1 (2017-02-25)

  • Device name is also set as host name in local network. (keep in mind not to use space while naming it)

0.6.0 (2017-02-24)

  • Added possibility to define device name which is also used as WiFi SSID.
  • Added option how Sonoff should behave after connection to MQTT is restored. Basically what should be the state of the relay when Sonoff connects to MQTT. Possible options: ON,OFF,Last known,Server value
  • Possible options of relay behaviour after Sonoff power is restored changed to : ON,OFF,Last known

0.5.0 (2017-01-28)

  • Configuration panel UI updated
  • Added PL language
  • Refactoring methods related to ds18b20 sensor

0.4.0 (2017-01-22)

  • Added option how Sonoff should behave after power is restored. Basically what should be the state of relay when Sonoff powers up. Possible options: ON,OFF,Last known,Server value
  • some code refactoring

0.3.2 (2017-01-15)

  • changed how LED indicates entry to the Configuration panel
  • some code refactoring

0.3.1 (2017-01-07)

  • first release

sonoff-basic-firmware's People

Contributors

slawko avatar tschaban avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sonoff-basic-firmware's Issues

AFE firmware won't boot after power outage if switch is using GPIO1

Hello,

I attached both temperature sensor and extnernal bistable switch to sonoff basic.

If bistable switch is ON (loop closed = GND is connected to GPIO1), then after powering off sonoff it won't start, no led blinking, no wifi presence, nothing or works very unstable (very slowly loads part of configuration page).

After changing the circuit to open and replugging sonoff, it starts normally.

If I use GPIO sonoff works "boots up" always, regardless external switch state.

this is rather minor problem, greetings

Mesh

Hi

Would it be possible to add a mesh capability?

Regards,
Johan

New functionality request - change state after losing connection

Hello,

I wish AFE had the following functionality settings:
When wifi or mqtt goes down for an extended period of time (amount of time to set), do:

Change state of relay to (selectable options): no change, turn off, turn on
There are already settings for changing state when MQTT connection is back, but imagine situation then for some reason wifi router or mqtt server dies, sonoff is left all alone and we're out of the home - heating/watering/A/C keeps running until we do return and may cause some problems or at least boil fish in aquarium if not equipped in own timer/themostat.

Greetings!

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.