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
Copy file name to clipboardExpand all lines: docs/TELEGRAM.rst
+19-9Lines changed: 19 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,20 +19,30 @@ Configure RTOC for Telegram
19
19
+++++++++++++++++++++++++++++
20
20
You can eather configure it in the settings of the RTOC GUI or edit the :ref:`config.json` file by yourself. Enter your Bot-Token there and activate it (``active=True``).
21
21
22
+
User permissions
23
+
+++++++++++++++++++++++++++++
24
+
By default any new client connected to this bot will have no permissions. You can change the default behavior in :ref:`config.json`.
25
+
26
+
The first client connected to the bot will automatically be admin. The admin has the permission to change the permissions of all users.
27
+
28
+
- **blocked**: No permissions at all
29
+
- **read**: Can receive event-notifications and plot signals
30
+
- **write**: Can create global Events/Actions, send Events/Signals, access devices
31
+
- **admin**: Full permissions. Can delete signals, access settings menu
22
32
23
33
.. image:: ../screenshots/telegramBot.png
24
34
25
35
Mainmenu
26
36
------------
27
37
28
38
- <USER_ACTIONS>
29
-
- Set Event Notification
30
-
- Latest values
31
-
- Signals
32
-
- Devices
33
-
- Send event/signal
34
-
- Automation
35
-
- Settings (**only admin**)
39
+
- Set Event Notification [**read**,**write**,**admin**]
40
+
- Latest values [**read**,**write**,**admin**]
41
+
- Signals [**read**,**write**,**admin**]
42
+
- Devices [**write**,**admin**]
43
+
- Send event/signal [**write**,**admin**]
44
+
- Automation [**write**,**admin**]
45
+
- Settings [**admin**]
36
46
37
47
Set Event Notification
38
48
++++++++++++++++++++++++
@@ -51,9 +61,9 @@ Contains a list of all signals. Clicking on a signal will select this signal. Yo
51
61
52
62
``Show/Hide events`` will show/hide events in the plot. Events are displayed as vertical lines with the event-text
53
63
54
-
``Delete signals`` (**only admin**) will delete all selected data (signals and time-period).
64
+
``Delete signals`` [**admin**] will delete all selected data (signals and time-period).
55
65
56
-
``Delete events`` (**only admin**) will delete all selected events (time-period).
66
+
``Delete events`` [**admin**] will delete all selected events (time-period).
0 commit comments