Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

godoorgo

Members
  • Joined

  • Last visited

  1. I revisited this script and still cannot get it to work. I see it is authenticating because if I put in bogus credentials I get an authentication error. Here's what I get with the correct username and password. If I don't provide a door ID, status returns nothing. If I provide an ID, I get an error and more in the log. pi@raspberrypi:~/myq-garage $ pwd /home/pi/myq-garage pi@raspberrypi:~/myq-garage $ ls -la total 44 drwxr-xr-x 4 pi pi 4096 Jun 21 18:48 . drwxr-xr-x 8 pi pi 4096 Jun 21 18:53 .. -rwxr-xr-x 1 pi pi 803 Jun 21 18:32 config.ini drwxr-xr-x 8 pi pi 4096 Jun 21 17:54 .git -rw-r--r-- 1 pi pi 1067 Jun 21 17:54 LICENSE drwxr-xr-x 2 pi pi 4096 Jun 21 18:53 logs -rwxr-xr-x 1 pi pi 15421 Jun 21 17:54 myq-garage.py -rw-r--r-- 1 pi pi 1928 Jun 21 17:54 README.md pi@raspberrypi:~/myq-garage $ ./myq-garage.py status pi@raspberrypi:~/myq-garage $ tail logs/myq-garage.log 2017-06-21 18:53:17,879 INFO ==================================STARTED================================== pi@raspberrypi:~/myq-garage $ ./myq-garage.py status 0 Usage: ./myq-garage.py [open/close/status] [door ID] pi@raspberrypi:~/myq-garage $ tail logs/myq-garage.log 2017-06-21 18:53:17,879 INFO ==================================STARTED================================== 2017-06-21 18:53:35,342 INFO ==================================STARTED================================== 2017-06-21 18:53:35,893 ERROR Traceback (most recent call last): 2017-06-21 18:53:35,894 ERROR File "./myq-garage.py", line 407, in <module> 2017-06-21 18:53:35,910 ERROR gdoor_main() 2017-06-21 18:53:35,910 ERROR File "./myq-garage.py", line 396, in gdoor_main 2017-06-21 18:53:35,911 ERROR print(doorname + ' not found in available doors.') 2017-06-21 18:53:35,911 ERROR UnboundLocalError 2017-06-21 18:53:35,911 ERROR : 2017-06-21 18:53:35,911 ERROR local variable 'doorname' referenced before assignment pi@raspberrypi:~/myq-garage $ Any idea what the issue is? Thanks
  2. Hello einstein, I'm running the script with ISY set to False, and am getting the following: When I issue './myq-garage.py status' I get no results and the following shows in the log: 2016-09-02 20:04:55,062 INFO ==================================STARTED================================== When I issue './myq-garage.py open garage' I also get no output but the following in the log: 2016-09-02 20:12:11,324 INFO ==================================STARTED================================== 2016-09-02 20:12:13,262 ERROR Traceback (most recent call last): 2016-09-02 20:12:13,264 ERROR File "./myq-garage.py", line 344, in <module> 2016-09-02 20:12:13,267 ERROR gdoor_main() 2016-09-02 20:12:13,269 ERROR File "./myq-garage.py", line 333, in gdoor_main 2016-09-02 20:12:13,272 ERROR print(doorname + ' not found in available doors.') 2016-09-02 20:12:13,275 ERROR UnboundLocalError 2016-09-02 20:12:13,277 ERROR : 2016-09-02 20:12:13,279 ERROR local variable 'doorname' referenced before assignment What's the problem here? Thanks

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.