Forum Replies Created

Viewing 25 posts - 1 through 25 (of 27 total)
  • Author
    Posts
  • in reply to: Opengarage iOS Shortcut for Hey Siri invocation #2625

    CuriousG
    Participant

    It should be worth noting that the shortcut (don’t know if it has been updated) points to http rather than https port, so just change to https and port 9443 would also be recommended.

    in reply to: Nofications via Custom Blynk Server #2624

    CuriousG
    Participant

    It’s been longer than 3 weeks. I’d say closer to 2 months when iOS 18 released. Don’t know if that has anything to do with it.

    in reply to: OpenGarage Firmware 1.2.0 officially released #2535

    CuriousG
    Participant

    I’m running firmware 1.2.1. I’m confused as to whether or not we can use Blynk AND OTC simultaneously. I have Blynk setup and working fine with notifications but when I tried to setup by filling in the token, it would overwrite the Blynk side token and vice versa. I’d rather have notifications than be able to remotely access my logs remotely, if this is how it’s supposed to work by design. Or is this a bug in the configuration page?

    in reply to: Blynk notifications stopped working after upgrading iOS #1540

    CuriousG
    Participant

    Problem is fixed after finding other people having similar problems from Blynk forum. Appears that after updating iOS it stopped working and the solution was to remove the Blynk app then install it again. The app was still there when I logged back in.

    in reply to: Announcing OpenGarage Firmware 1.0.7 #950

    CuriousG
    Participant

    I can also confirm that random false Blynk notifications are gone. I did get a delayed Blynk notification about half an hour later yesterday but better than a false OPEN or CLOSED notifcation. Compiled firmware 3 days ago.

    in reply to: Announcing OpenGarage Firmware 1.0.7 #912

    CuriousG
    Participant

    If you’re like me, you’ve purchased the black box rather than the clear box early on. I was never able to get OTA working with it and had to update by USB. I had the same complaint as you that I had to get the ladder out just to update.

    On another note, I’ve been having Blynk issues with this firmware where I sometimes receive Blynk notifications indicating that my garage is open or has been open for an extended period of time. If you view the logs, the last log will still show it’s closed. So there may be an issue with the logic in determining whether the door is actually open.

    • This reply was modified 7 years ago by CuriousG.

    CuriousG
    Participant

    hm..trying to flash your graphics file, but it just stops almost at the beginning.
    Might have a clue as to why? thanks

    I had the same problem as you and it was due to writing in the wrong space. It will complete if you provide the right address. For me it was 0x100000. Nevertheless, even with a successful write the graphics didn’t show. I could only get it to work by uploading the firmware and then the graphics right after using Adruino.


    CuriousG
    Participant

    I built me a secondary OpenGarage unit to see if I can replace it with my commercial one since I have issues with OTA updates. I’m using NodeMCU v2 8266 module and I can program your firmware just fine using ESP8266Flasher.exe. However, when I tried to include the graphics file at address 0x300000, the process would not proceed. I tried writing just the initial file and even tried including the firmware and the graphics to write and it would appear to not even start. I suppose I could try programming it with one of the other flashing utilities.

    update:
    So I just tried espytool.py and it says it programmed but it was much faster than using ESP8266Flasher.exe with bigger file. When I configured, it didn’t show any graphics through the webpage.

    C:\Users\User\Downloads>esptool.py --port COM7 -b 230400 write_flash 0x300000 Gr
    aphics-placeat00300000.bin
    esptool.py v2.2
    Connecting....
    Detecting chip type... ESP8266
    Chip is ESP8266EX
    Uploading stub...
    Running stub...
    Stub running...
    Changing baud rate to 230400
    Changed.
    Configuring flash size...
    Auto-detected Flash size: 4MB
    Compressed 1028096 bytes to 6810...
    Wrote 1028096 bytes (6810 compressed) at 0x00300000 in 0.3 seconds (effective 26
    615.8 kbit/s)...
    Hash of data verified.
    
    Leaving...
    Hard resetting...

    update2:

    So I was finally able to upload the SPIFFS data after compiling and selecting my correct device and using the sketch data upload option within Arduino. Initially I just tried to upload the sketch data with your compiled firmware and that didn’t work so I uploaded my compiled build then the SPIFFS afterwards. I also noticed that after the initial AP connection where it tells you your IP address, it either doesn’t reset or hard locks because I get no LED at all. I just unplug it from the USB and supply the voltage and it continues from where it should afterwards.

    Since I am using a device with 4M (3M SPIFFS), the address is different for me.

    [SPIFFS] upload : C:\Users\User\AppData\Local\Temp\arduino_build_877395/ogMainArduino.spiffs.bin
    [SPIFFS] address: 0x100000
    [SPIFFS] reset  : nodemcu
    [SPIFFS] port   : COM7
    [SPIFFS] speed  : 921600
    
    Uploading 3125248 bytes from C:\Users\User\AppData\Local\Temp\arduino_build_877395/ogMainArduino.spiffs.bin to flash at 0x00100000
    • This reply was modified 7 years ago by CuriousG.
    • This reply was modified 7 years ago by CuriousG.
    • This reply was modified 7 years ago by CuriousG.

    CuriousG
    Participant

    Since you’re looking to adding temperature support, how about motion detection like the HC-SR501? Use it in conjunction with auto door closing after X amount of minutes of no detection. Sometimes people work in their garage with it open so an idle open garage will not necessarily close if it has detected motion. You can still send the notification after X amount of minutes that the garage door is open but did not close due to motion.


    CuriousG
    Participant

    I was thinking in terms of a single door garage with two cars but two garage doors would even be better. 🙂


    CuriousG
    Participant

    Have you implemented support for adding a second ultrasonic sensor to monitor two car garages? Since I’m unable to update my firmware OTA, I’m looking to replace it with a DIY one similar to this:

    OpenGarage DIY

    I’m also interested in seeing what your DIY solution looks like.


    CuriousG
    Participant

    As a followup on my Blynk notifications with the Nexus 5X, it has been resolved when Blynk updated their app yesterday which had compatibility issues with Android Oreo.


    CuriousG
    Participant

    I wrote a somewhat lengthy post only to have the website crash when I tried to post. Arrrggh. Bottom line, I was able to get it to compile with your updated readme.


    CuriousG
    Participant

    Grrr somehow when editing my last reply it doesn’t show up but it sensed I already had a duplicate post. Here it is again.

    After I edited the missing libraries from Ray’s firmware, this is the result

      Arduino: 1.6.5 (Windows 7), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 4M (1M SPIFFS), ck, Disabled, None"
    
    OpenGarage\main.cpp.o: In function 

    blynk_count_millis()’:
    C:\Users\User\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkEveryN.h:7: multiple definition of `blynk_count_millis()’
    ogMainArduino.cpp.o:C:\Users\User\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkEveryN.h:7: first defined here
    OpenGarage\main.cpp.o: In function `blynk_count_seconds16()’:
    C:\Users\User\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkEveryN.h:12: multiple definition of `blynk_count_seconds16()’
    ogMainArduino.cpp.o:C:\Users\User\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkEveryN.h:12: first defined here
    OpenGarage\main.cpp.o: In function `blynk_count_minutes16()’:
    C:\Users\User\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkEveryN.h:18: multiple definition of `blynk_count_minutes16()’
    ogMainArduino.cpp.o:C:\Users\User\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkEveryN.h:18: first defined here
    OpenGarage\main.cpp.o: In function `blynk_count_hours8()’:
    C:\Users\User\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkEveryN.h:24: multiple definition of `blynk_count_hours8()’
    ogMainArduino.cpp.o:C:\Users\User\Documents\Arduino\libraries\blynk-library-master\src/Blynk/BlynkEveryN.h:24: first defined here
    OpenGarage\main.cpp.o: In function `std::_Function_handler<void (), void (*)()>::_M_invoke(std::_Any_data const&)’:
    c:\users\User\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2/functional:2031: multiple definition of `Blynk’
    ogMainArduino.cpp.o:(.bss.Blynk+0x0): first defined here
    collect2.exe: error: ld returned 1 exit status
    Error compiling.`

    I was able to compile the esp8266 Blink example without a hitch. I don’t know if running under Windows is part of the issue.


    CuriousG
    Participant

    Thanks Jeff.

    I tried compiling Ray’s original 1.06 firmware and had errors then switched to your firmware and this is the result I got:

    Arduino: 1.6.5 (Windows 7), Board: "Generic ESP8266 Module, 80 MHz, 40MHz, DIO, 115200, 4M (1M SPIFFS), ck, Disabled, None"
    
    In file included from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/arch/cc.h:39:0,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/arch.h:43,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/debug.h:35,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/opt.h:46,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/tcp_impl.h:35,
                     from ogMainArduino.ino:22:
    C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include/ets_sys.h:168:5: error: previous declaration of 'int atoi(const char*)' with 'C++' linkage
     int atoi(const char *nptr);
         ^
    In file included from c:\users\User\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\stdint.h:12:0,
                     from c:\users\User\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\lib\gcc\xtensa-lx106-elf\4.8.2\include\stdint.h:9,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include/c_types.h:8,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/arch/cc.h:38,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/arch.h:43,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/debug.h:35,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/opt.h:46,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/tcp_impl.h:35,
                     from ogMainArduino.ino:22:
    c:\users\User\appdata\roaming\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\stdlib.h:70:5: error: conflicts with new declaration with 'C' linkage
     int _EXFUN(atoi,(const char *__nptr));
         ^
    In file included from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/arch/cc.h:39:0,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/arch.h:43,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/debug.h:35,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/opt.h:46,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/tcp_impl.h:35,
                     from ogMainArduino.ino:22:
    C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include/ets_sys.h:183:6: error: previous declaration of 'void ets_intr_lock()' with 'C++' linkage
     void ets_intr_lock();
          ^
    In file included from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h:25:0,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39,
                     from ogMainArduino.ino:23:
    C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Arduino.h:137:20: error: conflicts with new declaration with 'C' linkage
     void ets_intr_lock();
                        ^
    In file included from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/arch/cc.h:39:0,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/arch.h:43,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/debug.h:35,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/opt.h:46,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/lwip/include/lwip/tcp_impl.h:35,
                     from ogMainArduino.ino:22:
    C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0/tools/sdk/include/ets_sys.h:184:6: error: previous declaration of 'void ets_intr_unlock()' with 'C++' linkage
     void ets_intr_unlock();
          ^
    In file included from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/WiFiClient.h:25:0,
                     from C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39,
                     from ogMainArduino.ino:23:
    C:\Users\User\AppData\Roaming\Arduino15\packages\esp8266\hardware\esp8266\2.3.0\cores\esp8266/Arduino.h:138:22: error: conflicts with new declaration with 'C' linkage
     void ets_intr_unlock();
                          ^
    Error compiling.
    
      This report would have more information with
      "Show verbose output during compilation"
      enabled in File > Preferences.
    

    CuriousG
    Participant

    It is the black enclosure. It was purchased 9/5/16 order #6607 if that helps. I do anticipate I will flash it further with Jeff’s firmware changes so if I can get the firmware to work OTA that would help immensely. I can’t be the only older OpenGarage user attempting to flash OTA. I’m open to compile changes to try if you’re so inclined to give me instructions.

    Also the wording on this part is confusing from your compilation instructions:

    Copy the OpenGarage library to your Arduino’s libraries folder. You also need to update a file in the ESP8266 core and Blynk library. See README.txt in the Modifications folder for details.

    In the modifications folder it only makes reference to esp8266. Is that the only file that needs to be replaced or is there one in the Blynk directory also? The folder location is in %appdata%/Arduino15 for those using Windows. That was a hassle to find.


    CuriousG
    Participant

    Ray,

    I’m aware on how to get it into programming mode. The question remains why doesn’t OTA work? And for me it’s a hassle since my Opengarage unit is mounted up high with double stick tape. Because the unit is mounted, I have climb up a ladder while bringing up Surface along with me, then I have to hold the USB cable near the port while I hold on to the button as I plug in the USB cable. Certainly not advisable to do and I wouldn’t if I could get OTA to work.


    CuriousG
    Participant

    So I just checked my WiFi signal and it varied from -57 to -59dBm from the minute or so I watched it update.

    edit: Seems my tablet appears to be receiving Blynk notifications now but the Nexus 5X still does not even though I went through the battery optimization options and turned off optimization for the Blynk app.

    • This reply was modified 7 years, 4 months ago by CuriousG.

    CuriousG
    Participant

    I have no idea why OTA doesn’t work. No one has suggested a workaround which is why I’m manually updating by USB. I have tried rebooting it through web interface, powering it off. Doesn’t matter how many times, it just never works for me. I just get the Update Failed message. I’ve flashed it with the blank .bin file both times hoping it would make things different. I’ll check what my WiFi signal reports later but I don’t think that is the issue especially with such a small file too. So it has nothing to do with your version since I originally tried with the official v1.06. I started with v1.04 and have not been able to update OTA. Perhaps, the nodemcu version he used (Ray) previously had issues as I bought mine a tad over a year to the date. The last version I tried of yours was when you just added the garage door graphics but didn’t upload the graphic .bin file yet.

    On the Blynk issue, I do remember doing something with battery optimization when I updated to Oreo. That isn’t the case for the tablet, however. I’m running Android 7.x whatever the somewhat current build (within a month) of LineageOS.


    CuriousG
    Participant

    Thanks for all the changes you’ve incorporated. I have a request if it’s possible to implement. Since OTA web update doesn’t work for me, is it possible to simulate pressing the reset button down for half a second or second upon power so that the device goes into programming mode or some other means to go into programming mode without having to physically press the button? This way I can just use a stool to reach the USB cable and plug into the computer to reprogram rather than climb up on a ladder with the computer and awkwardly hold down the reset button while plugging in the USB cable.

    Second you may consider this a bug or oversight. I have the speaker turned off in the settings but your quick beep on status change is not honoring the speaker setting. I don’t mind this short beep at all and the only reason I turned off the speaker was I didn’t like the sounds coming from the original firmware. So you may want an option for the quick beeps to continue as an option (my choice) or honor the speaker settings.

    Forgot to mention that Blynk notifications for Android seems to be broken again. It only works for me if the program is running in the foreground. I installed it on an Android tablet in addition to a Nexus 5X that is running Oreo and neither gets notifications. That isn’t your problem but I just want confirmation if it is working for anyone else since the last Blynk update like 3 days ago. On iOS I get all the notifications.

    • This reply was modified 7 years, 4 months ago by CuriousG.
    • This reply was modified 7 years, 4 months ago by CuriousG.
    • This reply was modified 7 years, 4 months ago by CuriousG.

    CuriousG
    Participant

    I have confirmed that open/close Blynk notifications have returned. I am starting to use Home Assistant so the additional features could be beneficial to me.

    I uploaded the blank.bin and then your firmware afterwards using esptool.exe and it is not showing the graphic.


    CuriousG
    Participant

    Let me see if I can clarify. Firmware 1.04 didn’t have any options for notify. It just did it from within Blynk whenever the garage door opened and closed. Also I went straight from 1.04 to your 1.06 so I don’t know the behavior of 1.05 or 1.06.

    I’m up to try your updated version just to see what is new. The only problem is I have to get the ladder out to upload by USB again. It’s a PITA that web OTA does not work for my OpenGarage.

    FYI, I do like that Blynk is reminding me every X amount of minutes that my garage door is open.

    • This reply was modified 7 years, 4 months ago by CuriousG.

    CuriousG
    Participant

    So I finally got around to manually updating the firmware by going the USB route since OTA does not work for me. I’m coming from v1.04 to your v1.06 since it appears to have more features than the standard firmware.

    Not finding the IFTTT settings within the Android or iOS app threw me for a loop when I was able to find the settings through a web browser then it occurred to me that you took the screenshot from a mobile browser.

    After getting Alexa to work through IFTTT and not providing me with satisfactory notifications, I went back to installing the Blynk app just to get notifications I was enjoying with v1.04. Now I find out that you only get notifications if you leave your door open for X amount of minutes. Then I thought leaving the notifications for 0 minutes would be smart but it just kept sending me notifications repeatedly.


    CuriousG
    Participant

    At least you can upload through the web. I’m not looking forward to getting the ladder out, move the car, press the button just so I can flash it. At least with OpenSprinkler it’s on the ground level.


    CuriousG
    Participant

    Am I missing something or do we have to download your whole repository along with all the other prerequisites and compile it in order to get the .bin file?

Viewing 25 posts - 1 through 25 (of 27 total)