Code Monkey home page Code Monkey logo

escapemachine's Introduction

Contact me by Github issue if you have any questions regarding my projects

For work related subjects, please find me on linkedin:

This is a personalised gradient based on combining your and my browser signature. Does not work as planned on Github, as Github has an anonymizing and caching service for markdown images. This hides your request and does not allow me to see your IP & browser headers. The image is just some daily changing colors now.

escapemachine's People

Contributors

b0tting avatar jtuinman avatar mark-otting-student avatar stdsu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

jtuinman

escapemachine's Issues

Output pins are off

The Output pins (lamp, spot, magnet) don't correspond to what the web interface states. Next to that, the web interface doesn't allow for manual switching anymore. When you toggle one of the three buttons, the output doesn't change and the switch toggles back to its original state.
A small table (Lamp (L), Spot (S), Magnet (M) of results for what the Web Interface says (and should be the right state) and what the true output is (which is incorrect).
State Entree:
Web Interface: Lon/Soff/Mon, Output: Loff/Son/Moff
State Badkamer: Loff/Son/Moff. Output: Lon/Soff/Mon
State Eindspel: Lon/Soff/Moff. Output: Loff/Son/Mon

Can you fixe these two issues?

Feature request: Timer

Can you build a button in the web interface, which starts a timer (MM:SS)? Preferably with an adjustable end time (let's say: I want it to stop, buzz, or play an MP3 at 15 minutes).
Bonus points are for logging the state changes to the time of the timer at that time :).

Output pins are back to XIO, please use CSID again

Originally, we used XIO pins for output. LAter on, we decided that CSID's were more suited because of their greater power capacity. Can you change the code of escape.conf to the following again:
[Escape]
sounddir = ./static/sounds
volume = 85
logfile = ./escape.log
debug = False
bookbutton1pin = XIO-P2
bookbutton2pin = XIO-P4
keybuttonpin = XIO-P6
lamppin = CSID1
spotpin = CSID3
magnetpin = CSID5
bathroomeffect = vic.mp3

Interface change requests

  1. Can you place the clock somewhere where it's always visible (the tabs below that, we do love the tabs).
  2. Can you create some space between the Shutdown/Reboot buttons and the tabs? We use iPad and iPhone for control and when browsing through the tabs, they are a little too close for comfort.
  3. Can you swap the System and Hints tabs?

Clean up header

The header bar is not clean - wrong style on the time, it needs a logo and maybe I could display the current scene there as well.

Play effect at scene change clunky

The new feature where you play an effect (in addition to changing the background music) when you change scenes, is a bit off when it comes to timing. When you switch from Entree to Badkamer, there's a very short moment where you hear the background track of that scene, then it gets interrupted by the sound effect and then the background track plays on. My wish is to immediately after the scene switches, play the sound effect (really as soon as possible). After that, the timing of the background music is less important.
For now, I'm going back to integrating the sound effect in the background track (and making it longer, to prevent awkward loops :)).

Migrate to socketio

Right now the app sends a full state overview every so many seconds. Wasteful. I should migrate to websockets and send only changes in state, switches, etc.

Standard state to non-active

Upon/after boot time, the game state is set to Entree. Can you make a fourth state of AllesUit, on which all outputs are turned off and make that the default state after booting? It's something to try to stabalize the CHIP in combination with the relay board.

Volume control in web interface

Is it possible to create an option to adjust the volume of the sounds in the web interface?
Pushing my luck: would it be possible to have seperate volume controls for the background music and the hints?

Switch to seperate sound and music channels

We need to switch to separate sound and music channels:

  • in the config file, configure three background music tracks
  • play the first when getting to 1/2 of the time, the second when getting to 4/5 of the time and the final music track
  • when playing hints or sound effects, lower volume of the music until the effect is done

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.