w3c / sensors

Generic Sensor API
https://www.w3.org/TR/generic-sensor/
Other
127 stars 59 forks source link

IR sender/receiver #409

Open jimmywarting opened 3 years ago

jimmywarting commented 3 years ago

Hi, I don't know if this is the right place for this but i would like to have some API for working together with my remote IR controller to control a media player on my website.

The web has nfc, bluetooth, and other cool feature... but i think it's missing IR My pc has a IR receiver. My old Samsung phone had a sender as well so i don't see why we could not add a api for both a IR sender & receiver api

Imagine building a custom ChromeCast receiver or something with the Presentation API and be able to understand every single button on a remote control like menu/play/pause/stop/record/up, down, right, left/mute/guide/forward/backwards/numbers/volume/power on & off etc

tomayac commented 3 years ago

I remember having built my own IR receiver for the serial port based on LIRC in the mid-90ies to control my TV tuner PCI card. The use case you describe resonates with me, even today. I haven’t looked into this in ages, but how far would the Serial API get you with sensors one can get today?

jimmywarting commented 3 years ago

but how far would the Serial API get you with sensors one can get today?

No idea, have never worked with the serial api before.