PinballY icon indicating copy to clipboard operation
PinballY copied to clipboard

HttpListener as interface

Open worksasdesigned opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe. I would like to launch tables via Alexa trigger. Implementing Alexa, Apple, Google doesn't make sense, so it would be perfect if there would be a kind of webhook. http://IP_OF_PINBALLYPC:8081?table=ACDC&command=start

or simply trigger a js file and provide the given GET parameters.

Describe alternatives you've considered This is embarrasing - but somehow working :-) I say "Alexa start ACDC-table". Alexa calls smarthome (IObroker / Homeassistant) IOBroker (JS) triggers Apache+PHP on Pinball machine. a textfile gets written with "ACDC" content. Everytime when i switch tables a PinballY addon searches this text file and than jumps to the table. text file gets deleted. table gets started.

Additional context Providing an easy way to create webservices in PinballY would enable:

  • General Voice assist integration
  • Simple mobile Apps to control pinballY
  • exchange highscores to friends without complex server architecture (e.g. via telegram bot)
  • provide popups triggered by smarthome (e.g. doorbell is ringing)

worksasdesigned avatar Nov 16 '21 21:11 worksasdesigned

just to bring this idea up again. I still think this would open so many doors in PinballY integration, if we could have external triggers

worksasdesigned avatar Nov 19 '23 22:11 worksasdesigned