Skip to content

Releases: OpenGarage/OpenGarage-Firmware

Firmware 1.2.0

15 Oct 01:30
Compare
Choose a tag to compare

Main changes

  • Support for both Blynk (legacy) and OpenThingsCloud (OTC) connections. Please refer to user manual and support article about how to create and use cloud tokens. In particular, OTC allows full remote access of the built-in web interface.
  • Added MQTT enable option to easily enable/disable MQTT without changing the other parameters.

Please note that due to the size of this firmware, the flash memory layout has changed. Upgrading from any previous version of OpenGarage firmware to this version (1.2.0) will trigger a factory reset so it goes back to factory reset condition. Also, this firmware only works on ESP8266 chips with 4MB flash (OpenGarage 1.3 and above, including 2.x all have 4MB flash).

Changes inherited from firmware v1.1.2

Since we didn't publish a git release of firmware v1.1.2, below are the main changes from v1.1.2

  • update ESP8266 core library to the latest version 2.7.4; update MQTT library to the latest version 2.8 to support authentication.
  • fix buzzer issue with core 2.7.4
  • a number of new options have been added, as detailed below:
    • new option to allow using both the built-in distance sensor and external switch sensor (optional), and logic to choose which sensor(s) determine the door status
    • new options for MQTT: including support for MQTT user name / password, customizing MQTT port, and topic; fix issue that requires MQTT server url to be more than 8 chars long
    • added /OUT/JSON topic that publishes more controller data to MQTT (such as distance value, switch sensor value, temperature/humidity values if such sensor is installed)
    • new options for customizing NTP server, Host name.
    • new sensor filtering method to provide alternative noise handling method
  • sends temperature/humidity values (if such sensor is installed) to Blynk (through virtual pins V6 and V7); the Blynk app has been updated to record these values in histogram.
  • fixed issues such as device key not uri encoded

Version 1.1.0

26 Feb 04:08
Compare
Choose a tag to compare

###Bug fixes:

  • The issue that ‘options’ page becomes blank at some point. The issue likely had to do with the RAM usage as the options page is the largest in size among all pages. This has been addressed by sending program memory strings directly (instead of loading it to RAM and send it).
  • Changed the flash profile to 2M (with 1M SPIFFS), as some early versions of OpenGarage has only 2M flash. As a result, flash layout will change and after updating to firmware 1.1.0, the controller will reset to AP mode. So make sure to copy the settings before you update firmware, and you will have to go through WiFi setup steps again after updating.
  • Added a couple of more settings to hopefully improve distance sensor readings. One is ‘Distance Reading Interval’, which defines the time between two distance sensor readings. The default is 500ms and can be suitably increased if excessive sensor noise is observed. Specifically, increasing the interval between two readings can help reduce the impact of multiple reflections. The second setting is ‘Sensor Timeout Option’: previously if a sensor timeout event is encountered, it caps the reading to the maximum value (450cm). Now this has been changed to ‘Ignore’ — so if a timeout event is encountered, it doesn’t count into valid readings, again, this is done to hopefully reduce the sensor noise in the case of occasional timeout events.

###New Features:

  • Added support for several types of temperature/humidity sensors (AM2320, DHT11, DHT22, DS18B20). All of them can be powered by VCC (3.3V) and GND, and the data pin should go to GPIO5 (G05). AM2320 is a I2C sensor, so it should be connected to SDA (G04) and SCL (G05). Also, some of them may need pull-up resistor (particularly DS18B20).

Version 1.0.7

02 Jan 04:15
Compare
Choose a tag to compare

This firmware is courtesy of Jeff Lawrence (https://github.com/lawrence-jeff/OpenGarage-Firmware/tree/master/OpenGarage) who made many improvements to the previous firmware.

New Features

  • Added a new automation option that supports notification / auto-closing door at a certain time.
  • Added MQTT support - allows adding workflow using things like NodeRed.
  • Support for reading/reporting vehicle occupancy status (added a vehicle distance threshold accordingly).
  • Added support to customize which notification messages to receive.
  • Added a audible way to report device IP through buzzer tones (see User Manual for details).
  • Support for external magnetic switch sensor (either High/Top mount or Low/Bottom mount).
  • Various UI improvements:
    • Added icons on the homepage and log page to indicate door status.
    • Add text displaying vehicle occupancy status (if known)
    • Dynamically change button text according to current door status
    • Added 'Clear Log' button at homepage
  • Option page changes
    • Change 'Mount Type' to 'Sensor Type' to allow selecting other types of sensors.
    • Support for newly added options / automation / notification types.
    • Removed 'Accessbility' option -- this is now automatically detected via Blynk token.
    • Added support for OTA update in AP mode as well (previously OTA firmware update is only supported in Client mode).
    • Combined all separate HTML raw string files into one single file.

Bug / Issue Fixes:

  • Fixed reconnecting issue -- if router reboots the device now can successfully recover connection.
  • Improved distance sensor reading by using pin change interrupt instead of polling, thus avoiding WDT reset if distance sensor is missing.
  • Improved WiFi setup in AP mode
    • Added Captive Portal to better handle WiFi setup when using Android phone.
    • Wireless signal strength and assessment provided in table form.
    • Added 15 seconds time out to automatically complete the WiFi setup (previously it requires the client to receive the assigned IP, which may take a long time as the client may lose connection to the AP WiFi).
  • Don't register state change on boot if the door is open at boot.

API Changes

  • Added close and open options to /cc command to support explicit close / open (previously only click or toggling is supported).
  • Added /resetall and /clearlog commands to support factory reset and clear log via HTTP.
  • Added /db debug command that includes extra details like BSSID, free memory, compile time etc.