75 lines
2.0 KiB
ReStructuredText
75 lines
2.0 KiB
ReStructuredText
.. |yes| image:: ../../images/yes.png
|
|
.. |no| image:: ../../images/no.png
|
|
|
|
.. role:: underline
|
|
:class: underline
|
|
|
|
Screen
|
|
======
|
|
|
|
+------------------+-------------+
|
|
| **Feature** | **Support** |
|
|
+------------------+-------------+
|
|
| Sending | |yes| |
|
|
+------------------+-------------+
|
|
| Receiving | |no| |
|
|
+------------------+-------------+
|
|
| Config | |yes| |
|
|
+------------------+-------------+
|
|
|
|
.. rubric:: Supported Brands
|
|
|
|
*None*
|
|
|
|
.. rubric:: Sender Arguments
|
|
|
|
.. code-block:: console
|
|
|
|
-t --up send an up signal
|
|
-f --down send a down signal
|
|
-i --id=id control a device with this id
|
|
|
|
.. rubric:: Config
|
|
|
|
.. code-block:: json
|
|
:linenos:
|
|
|
|
{
|
|
"devices": {
|
|
"screen": {
|
|
"protocol": [ "generic_screen" ],
|
|
"id": [{
|
|
"id": 100
|
|
}],
|
|
"state": "down"
|
|
}
|
|
},
|
|
"gui": {
|
|
"screen": {
|
|
"name": "Screen",
|
|
"group": [ "Living" ],
|
|
"media": [ "all" ]
|
|
}
|
|
}
|
|
}
|
|
|
|
+------------------+-----------------+
|
|
| **Option** | **Value** |
|
|
+------------------+-----------------+
|
|
| id | 0 - 99999 |
|
|
+------------------+-----------------+
|
|
| state | up/down |
|
|
+------------------+-----------------+
|
|
|
|
.. rubric:: Optional Settings
|
|
|
|
:underline:`GUI Settings`
|
|
|
|
+------------------+-------------+------------+-----------------------------------------------+
|
|
| **Setting** | **Default** | **Format** | **Description** |
|
|
+------------------+-------------+------------+-----------------------------------------------+
|
|
| readonly | 0 | 1 or 0 | Disable controlling this device from the GUIs |
|
|
+------------------+-------------+------------+-----------------------------------------------+
|
|
| confirm | 0 | 1 or 0 | Ask for confirmation when switching device |
|
|
+------------------+-------------+------------+-----------------------------------------------+
|