mjrgh / PinballY

A table browser and launcher ("front end") for virtual pinball cabinets.
Other
47 stars 22 forks source link

HttpListener as interface #195

Open worksasdesigned opened 2 years ago

worksasdesigned commented 2 years ago

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:

worksasdesigned commented 11 months ago

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