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
Updated docs according to upcomming v2.0 BETA (#42)
* Updated docs according to upcomming v2.0 BETA
* Fixed syntax of labels and also added more colors to Label-component
* Fixed more syntax errors
* Escaped < and > tags
* Added missed tags from previous commit
* Added missing MQTT topic
* Added instructions on how to reorder entities/scenes
* added information about how to manually upload and choose between the 4 different tft files.
* Updated flashing tool page to say beta 2.0. Changed picture in manual with one with more installed panels.
* Added support page with buy me a coffee and payed affiliate links.
---------
Co-authored-by: cablesandcoffee <erikbergstroom@gmail.com>
| nspanel/entities/\<type\>/\<id\>/state\_\<attribute\>| The value of the attribute | An update of entity state value sent out by MQTTManager. Example:nspanel/entities/light/42/state_kelvin |
33
+
| nspanel/status/time | Time as a string | Current time sent by MQTTManager. |
34
+
| nspanel/status/weather | JSON | A JSON representation of the current weather and weather forecast. |
35
+
| nspanel/\<panel_name\>/status_report | JSON | JSON payload with current state of the panel. |
36
+
| nspanel/\<panel_name\>/status | JSON | JSON payload with current online/offline state of the panel. |
37
+
| nspanel/\<panel_name\>/command | JSON | JSON payload with a command for the panel to execute. |
38
+
| nspanel/mqttmanager/command | JSON | JSON payload from panel with a command for MQTTManager to perform. |
39
+
40
+
# MQTT Topics <Labelvalue="beta"/>
41
+
42
+
Below table is a description of all MQTT topics that might be of use by a user. Replace `<mac>` with the MAC-address of your NSPanel:
| nspanel/\<mac\>/screen_cmd | 1 or 0 | Send a 1 or 0 to turn on/off the display. |
47
+
| nspanel/\<mac\>/screen_state | 1 or 0 | Current state of the screen. |
48
+
| nspanel/\<mac\>/brightness_cmd | 1 to 100 | Control the brightness of the screen. |
49
+
| nspanel/\<mac\>/brightness_state | 1 to 100 | Current state of the brightness of the screen. |
50
+
| nspanel/\<mac\>/brightness_screensaver_cmd | 0 to 100 | Control the brightness of the screensaver. |
51
+
| nspanel/\<mac\>/brightness_screensaver_state | 0 to 100 | State of the brightness of the screensaver. |
52
+
| nspanel/\<mac\>/relay1_cmd | 1 or 0 | Send a 1 or 0 to turn on/off relay 1. |
53
+
| nspanel/\<mac\>/relay1_state | 1 or 0 | The current state of relay 1. |
54
+
| nspanel/\<mac\>/relay2_cmd | 1 or 0 | Send a 1 or 0 to turn on/off relay 2. |
55
+
| nspanel/\<mac\>/relay2_state | 1 or 0 | The current state of relay 2. |
56
+
| nspanel/\<mac\>/temperature | Current temperature | The current temperature reading. |
57
+
| nspanel/\<mac\>/screensaver_mode_cmd | screensaver mode | Select what screensaver to display <br/> Choose from the following: <br/>- with_background<br/>-without_background<br/>-datetime_with_background<br/>-datetime_without_background<br/>or no_screensaver |
58
+
| nspanel/\<mac\>/screensaver_mode_state | screensaver mode | The currently selected screensaver mode |
59
+
| nspanel/\<mac\>/log | Log message | The panel will send live logs on this topic. |
| nspanel/entities/\<type\>/\<id\>/state_\<attribute\>| The value of the attribute | An update of entity state value sent out by MQTTManager. Example:nspanel/entities/light/42/state_kelvin |
32
-
| nspanel/status/time | Time as a string | Current time sent by MQTTManager. |
33
-
| nspanel/status/weather | JSON | A JSON representation of the current weather and weather forecast. |
34
-
| nspanel/\<panel_name\>/status_report | JSON | JSON payload with current state of the panel. |
35
-
| nspanel/\<panel_name\>/status | JSON | JSON payload with current online/offline state of the panel. |
36
-
| nspanel/\<panel_name\>/command | JSON | JSON payload with a command for the panel to execute. |
37
-
| nspanel/mqttmanager/command | JSON | JSON payload from panel with a command for MQTTManager to perform. |
61
+
Below are more topics that are used internally. Replace `<manager_address>` with the IP address of the manager container.
| nspanel/mqttmanager\_\<manager_address\>/status/time | Time as a string | Current time sent by MQTTManager. |
66
+
| nspanel/mqttmanager\_\<manager_address\>/status/date | Date as a string | Current date sent by MQTTManager. |
67
+
| nspanel/mqttmanager\_\<manager_address\>/status/weather | Protobuf | A protobuf representation of the current weather and weather forecast. |
68
+
| nspanel/\<mac\>/status_report | Protobuf | Protobuf payload with current state of the panel. |
69
+
| nspanel/\<mac\>/status | JSON | JSON payload with current online/offline state of the panel. |
70
+
| nspanel/\<mac\>/command | JSON | JSON payload with a command for the panel to execute. |
71
+
| nspanel/mqttmanager\_\<manager_address\>/command | Protobuf | Protobuf payload from panel with a command for MQTTManager to perform. |
72
+
| nspanel/mqttmanager\_\<manager_address\>/room/\<room_id\>/state | Protobuf | Protobuf payload from the manager that represents the "Home page" state to display on the NSPanel for the given room. |
73
+
| nspanel/mqttmanager\_\<manager_address\>/all_rooms_state | Protobuf | Protobuf payload from the manager that represents the "Home page" state to display on the NSPanel when in "All rooms" mode. |
74
+
| nspanel/mqttmanager\_\<manager_address\>/all_rooms_state | Protobuf | Protobuf payload from the manager that represents the "Home page" state to display on the NSPanel when in "All rooms" mode. |
75
+
| nspanel/mqttmanager\_\<manager_address\>/entity_pages/\<page_id\>/state | Protobuf | Protobuf payload from the manager that represents the "Entities"/"Scenes" state to display on the NSPanel when. |
76
+
| nspanel/mqttmanager\_\<manager_address\>/relay_groups/\<group_id\>/state | 1 or 0 | Current state of the relay group binding 1 for "ON" and 0 for "OFF". |
77
+
| nspanel/mqttmanager\_\<manager_address\>/entities/lights/\<light_id\>/state | Protobuf | Current state of the light. |
0 commit comments