Git Product home page Git Product logo

openchime's People

Contributors

pkcubed avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

astrolemonade

openchime's Issues

FEATURE: Would text to speech rendering make sense here?

Maybe after the bell, you might want text to speech to announce periods or special events or emergency procedures.

You will likely need two approaches

  • Structured : Series of templated text messages with %VARIABLE% representing 'period number' or 'day' or 'event name' etc...
  • Unstructured/Freeform : Straight TTS of text for full control

Being that this is a wall powered device, you don't really need to worry about energy efficiency, but you may want to render the audio ahead of time and spend extra cpu cycles to make sure the audio quality is very clear

FEATURE: Accessibility Consideration: Alternative output for accessibility purposes and retrofits e.g. Relay output to control visual signage

You may also want to consider having two different options:

  • Relay output to control external mechanical bells (if it's a retrofit)
  • Relay output to control dedicated 'visual bell' alarms for deaf students to see

Source: https://en.wikipedia.org/wiki/School_bell

Schools for the hearing impaired use alternative signaling methods, for example sign language from the teacher and lights that illuminate when the public address/bell is sounding.[3]

Uptime is Not Accurate + Misspelling

After rebooting my Raspberry Pi 4, the uptime in the Web Interface showed as 3 days when it should read only a few minutes. Will need to look into this issue. Pasting log file below:

Also note that succesful should be spelled successful. This issue needs to be fixed.


OpenChime v0.1 Starting...
Start Time: 1714762368.2552342
verbose=True
Verbose mode is active. More detail will be logged.
USB drive should be named OPENCHIME
Succesful import of main libraries
Play sound startup
wav audio/startup.wav
Playing sound: startup
Succesful definition of function get_net_interfaces
Succesful definition of function setup wifi
Succesful definition of function get_recursions
Succesful definition of function refresh
Succesful definition of function get_calendar
Succesful definition of function internet_on
Succesful definition of function get_ip
Succesful import of flask libraries
Succesful definition of function set_flask_user
Succesful definition of flask pages
Succesful init of flask
Succesfully defined main functions, continuing on to main loop
Sleeping for 5 seconds
USB Drive Connected
usb_files = ['Bell.wav', 'config.json', 'log.txt', 'System Volume Information']
usb_init_files = ['Bell.wav', 'config.json', 'log.txt']
USB Drive has all required files
Starting usb_load function
Config successfully loaded
{'google_calendar_url': 'https://calendar.google.com/calendar/ical/290cebc812a4399f4b71d279d104db4ad638c6aa626a8ffc78c50a97830ed56b%40group.calendar.google.com/public/basic.ics', 'enable_webui': True, 'webui_password': '1234', 'wifi_ssid': '', 'wifi_password': '', 'notifications': True}
fetching calendar from url
0
Calendar retrieved successfully
USB Drive Loaded
USB Drive at /dev/sda1 mounted to: /home/openchime/OpenChime/usb
USB Drive Initialization Successful
Play sound usb_connect
Playing sound: usb_connect
wav audio/usb_connect.wav
0
fetching calendar from url
0
Calendar retrieved successfully
0
IP Address = 10.100.100.72
IP Address = 10.100.100.72
IP Address = 10.100.100.72
IP Address = 10.100.100.72
IP Address = 10.100.100.72
...
IP Address = 10.100.100.72
IP Address = 10.100.100.72
Web UI - Manual bell (Bell)
IP Address = 10.100.100.72
Playing sound: Bell
wav /home/openchime/OpenChime/usb/Bell.wav
IP Address = 10.100.100.72
IP Address = 10.100.100.72
IP Address = 10.100.100.72
0
IP Address = 10.100.100.72
...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.