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.

Screw Loose Dan

Members
  • Joined

  • Last visited

Everything posted by Screw Loose Dan

  1. Santa was good to me and I received a rasberry pi 3 for Christmas. This project has been my main reason to want to get a rasberry pi. Thanks for all the hard work that you have put into it! I read through a good portion of this thread (I missed a few pages in the middle) and read documentation on Git Hub. I hope I didn't miss anything important, but I did initially struggle a bit. I'm a complete noob when it comes to Rasberry PI's and Python, so I thought perhaps it was something I was doing wrong (although I work in IT and troubleshoot plenty of code). Hopefully I'm not bringing up something painfully obvious. However, after looking at the logs and looking at console.py, I think the minimal install might be a bit too minimal (or error handling could be done differently). I installed following your install scripts and used the minimal config. I kept seeing something like this in the logs: 12-30-17 22:32:08 Sev: 1 -LParam: KeysPerRow: 2 <type 'exceptions.AttributeError'> Python 2.7.13: /usr/bin/python Sat Dec 30 22:32:10 2017 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /home/pi/consolestable/console.py in <module>() 321 322 LogBadParams(config.ParsedConfigFile, "Globals") 323 LogBadParams(alertspec, "Alerts") 324 """ 325 Dump documentation if development version LogBadParams = <function LogBadParams> alertspec = None /home/pi/consolestable/console.py in LogBadParams(section=None, name='Alerts') 71 72 def LogBadParams(section, name): 73 for nm, s in section.iteritems(): 74 if isinstance(s, Section): 75 LogBadParams(s, nm) nm undefined s undefined section = None section.iteritems undefined To me it appeared the code at line 323 was balking and the LogBadParams section (line ~72) wasn't receiving a variable for "section" from the earlier section. Best I could figure it was throwing an error because there was no alert section. Without doing more digging in the code, I added an alert section and now the the console loads with the minimal configuration! This was all the I added to the config.txt: [Alerts] [[AutoVersion]] Type = Periodic Interval = 3 hours Invoke = AutoVersion.CheckUpToDate I have to dig to see what that "alert" does exactly, but I presume from it's name it's probably pretty safe for now. After adding this, I don't see any more errors in the logs.

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.