You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unify behaviour regarding virtual remotes and add query parameter (#11)
Previously devicelist.cgi and statelist.cgi handled virtual remotes differently. devicelist.cgi ommited these channels based on the type of the device, statelist.cgi used the name of the device to achieve the same, which yielded inconsitent behaviour. Now the device type is used in both scripts. This breaks the possiblity to receive the workaround to receive the virtual remote in statelist.cgi by renaming the device.
Therefore this also adds a query parameter show_remote to both scripts to reliably receive the virtual remote channels.
Co-authored-by: Jens Maus <[email protected]>
<tr><td><a href=./devicelist.cgi?sid=$sid>devicelist.cgi</a></td><td><b>Lists all devices with channels. Contain names, serial number, device type and ids.</b><br/>
34
34
<i>sid=string</i> - security access token id<br/>
35
-
<i>show_internal=0/1</i> - adds internal channels also (default=0)
35
+
<i>show_internal=0/1</i> - adds internal channels also (default=0)<br/>
36
+
<i>show_remote=0/1</i> - adds output of virtual remote channels (default=0)
36
37
</td></tr>
37
38
<tr><td><a href=./devicetypelist.cgi?sid=$sid>devicetypelist.cgi</a></td><td><b>Lists all possible device types with their possible meta data.</b><br/>
0 commit comments