diff service/rdf_to_mqtt/index.html @ 761:78f699077ff5

more theater output controls Ignore-this: 34e105c3760b9df22d63eb0035aca19d
author drewp@bigasterisk.com
date Fri, 14 Feb 2020 10:21:24 -0800
parents 1f8abec7f687
children b15bc47b97a0
line wrap: on
line diff
--- a/service/rdf_to_mqtt/index.html	Fri Feb 14 00:33:31 2020 -0800
+++ b/service/rdf_to_mqtt/index.html	Fri Feb 14 10:21:24 2020 -0800
@@ -30,6 +30,13 @@
     <div><button data-post="output?s=:livingLamp4&p=:brightness" data-body="0.0">Send (:livingLamp4 :brightness 0.0)</button></div>
     <div><button data-post="output?s=:livingLamp4&p=:brightness" data-body="1.0">Send (:livingLamp4 :brightness 1.0)</button></div>
 
+    <div><button data-post="output?s=:theater&p=:inputSelector" data-body="bd">Theater to chromecast</button></div>
+    <div><button data-post="output?s=:theater&p=:inputSelector" data-body="game">Theater to PS4</button></div>
+    <div><button data-post="output?s=:theater&p=:inputSelector" data-body="pc">Theater to VR</button></div>
+    <div><button data-post="output?s=:theater&p=:inputSelector" data-body="cbl">Theater to PS3</button></div>
+    <div><button data-post="output?s=:theater&p=:volumeChange" data-body="3">Theater volume up</button></div>
+    <div><button data-post="output?s=:theater&p=:volumeChange" data-body="-3">Theater volume down</button></div>
+
     <script>
      Array.from(document.querySelectorAll("button")).forEach((el) => {
        el.addEventListener("click", (ev) => {