OpenGarage Forums Comments, Suggestions, Requests OG Firmware 1.1.0 Released

Viewing 15 posts - 1 through 15 (of 25 total)
  • Author
    Posts
  • #1416

    Ray
    Keymaster

    I’ve just pushed out firmware 1.1.0 (user manual and api documents are also updated accordingly). This firmware addresses the following:

    • The issue that ‘options’ page becomes blank at some point. I suspect this has 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). I am not 100% certain if this completely fixes the issue, but it’s my best guess.
    • 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. I suspect that if the garage is large or ceiling is very all, the ultrasonic waves may have multiple reflections. Increasing the gap 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.
    • 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).

    To try out firmware 1.1.0, follow the User Manual and download the compiled firmware from the address below. Again, please make sure to copy or write down settings before the update, as it will change the flash layout hence the controller will reset to factory default settings (including WiFi).
    https://github.com/OpenGarage/OpenGarage-Firmware/tree/master/Compiled

    • This topic was modified 10 months, 1 week ago by Ray.
    #1420

    006fazer
    Participant

    Hi Ray,

    I’m a new user of the opengarage 🙂 thanks. All is working well.

    I’ve just update firmware to 1.1.0, no reset was done, it reconnect to home wifi. Is it normal ?

    best regards
    Eric

    #1423

    Ray
    Keymaster

    If at the homepage you see firmware version 1.1.0, then you are all set. It’s possible that a previous firmware that was uploaded to your device used the same flash layout so it didn’t trigger a factory reset. In any case, if the homepage says 1.1.0 then the firmware has been correctly updated.

    #1433

    jagos
    Participant

    The new OGAPI1.1.0.pdf still states 1.0.9 API at the top with a date of Sep 10, 2018. The contents seem to be updated. So the in document title is confusing and should be corrected.

    #1436

    Ray
    Keymaster

    Good catch, will fix it right away.

    #1438

    antibalascoder
    Participant

    Hi Ray,

    Is there a way to grab the temp/Humidity measurement via MQTT or in the blynk once we connect the sensor or it can only be seen on the web app?

    #1444

    Ray
    Keymaster

    @antibalascoder: not yet — for this firmware I just did the minimum needed to get several sensors supported. Once they are verified to work, in the next firmware I can make the readings available on MQTT and Blynk as well.

    #1448

    antibalascoder
    Participant

    Thanks Ray. I can confirm here that the added sensor support is working. I was able to connect a DHT22 and I’m getting temperature and humidity on the web app.

    #1454

    Ray
    Keymaster

    OK, thanks for letting me know.

    #1539

    vrbt150
    Participant

    I have recently upgraded to 1.1.0 and I’m getting random Blynk notifications telling me my garage door has either opened or closed even tho it hasn’t.
    I checked the log and the distance sensor gets a reading of ~50cm, then back to around ~125cm.

    The same problem I was experiencing back with firmware version 1.0.7.

    Anyone else experiencing this?

    #1541

    ktiedt
    Participant

    Just updated and my OG is stuck with blue flashing led… never came back up 🙁

    I am guessing I’ll have to do a manual reload, since OTA is now not an option :/

    Edit: And after numerous attempts to reflash over USB I am hitting the exact same problems as this user here. (tried both MacOS and Ubuntu with same results)

    • This reply was modified 8 months, 1 week ago by ktiedt. Reason: More info
    • This reply was modified 8 months, 1 week ago by ktiedt. Reason: more info, yay
    #1547

    Ray
    Keymaster

    Blue flashing LED means it’s reset in AP mode. The release notes specifically said so:

    https://github.com/OpenGarage/OpenGarage-Firmware/releases/tag/v1.1.0

    Just follow the WiFi setup process and get it logged onto your WiFi network again.

    #1549

    ktiedt
    Participant

    It seems I should pay more attention to the Release notes instead of the updating docs. My apologies.

    #1561

    vrbt150
    Participant

    I have recently upgraded to 1.1.0 and I’m getting random Blynk notifications telling me my garage door has either opened or closed even tho it hasn’t.
    I checked the log and the distance sensor gets a reading of ~50cm, then back to around ~125cm.

    The same problem I was experiencing back with firmware version 1.0.7.

    Anyone else experiencing this?

    I must be the only one..

    I have downgraded to 1.0.9 and the problem has gone away.

    #1592

    Opengarageio
    Participant

    I have had blynk issues since upgrading to 1.1.0.

    In the superchart I was monitoring door status (V0), car status (based on V3) and distance (V3).

    I have ‘connect missing data points’ setting turned off for each. On my previous firmware version I got a great graph that showed the distance reading as well as the door status (open or closed) and vehicle status (home or out).

    Now I have intermittent gaps in the data. The LCD widget is blank. The distance reading on the graph is blank when the garage door is open. And while the door status LED works, the door status graph doesnt.

    I tried to load the firmware via arduino via USB cable but I got ‘espcomm_sync failed’ messages. Is that normal? I thought I would be able to upload via USB if the OTA update didnt work. (update: Need to hold down the reset button while plugging in the USB cable to allow firmware upload via arduino)

    Ill try downgrading my firmware to see if that resolves some of the issues. It kept all of my settings when moving to version 1.1.0, which makes me think it hasnt cleared the old settings properly. The homepage shows that it does have the new firmware version.

    • This reply was modified 7 months, 2 weeks ago by Opengarageio.
    • This reply was modified 7 months, 2 weeks ago by Opengarageio.
Viewing 15 posts - 1 through 15 (of 25 total)
  • You must be logged in to reply to this topic.

OpenGarage Forums Comments, Suggestions, Requests OG Firmware 1.1.0 Released