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
79 update docs to reflect new stable v2 release (#80)
* Cleanup of "beta"-tags in web interface and removed old V1 stable specific chapters
* Renamed 1.0 to "stable" in the online flashing tool
* Update flash-nspanel.md
fixed broken link to merged_flash.bin
---------
Co-authored-by: cablesandcoffee <63468500+cablesandcoffee@users.noreply.github.com>
| nspanel/\<panel_name\>/screen_cmd | 1 or 0 | Send a 1 or 0 to turn on/off the display. |
17
-
| nspanel/\<panel_name\>/screen_state | 1 or 0 | Current state of the screen. |
18
-
| nspanel/\<panel_name\>/brightness | 1 to 100 | Control the brightness of the screen. |
19
-
| nspanel/\<panel_name\>/brightness_screensaver | 0 to 100 | Control the brightness of the screensaver. |
20
-
| nspanel/\<panel_name\>/r1_cmd | 1 or 0 | Send a 1 or 0 to turn on/off relay 1. |
21
-
| nspanel/\<panel_name\>/r1_state | 1 or 0 | The current state of relay 1. |
22
-
| nspanel/\<panel_name\>/r2_cmd | 1 or 0 | Send a 1 or 0 to turn on/off relay 2. |
23
-
| nspanel/\<panel_name\>/r2_state | 1 or 0 | The current state of relay 2. |
24
-
| nspanel/\<panel_name\>/temperature_state | Current temperature | The current temperature reading. |
25
-
| nspanel/\<panel_name\>/screensaver_mode | 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 |
26
-
| nspanel/\<panel_name\>/log | Log message | The panel will send live logs on this topic. |
27
-
28
-
There are more topics that are used internally, these are:
| 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
9
# MQTT Topics <Labelvalue="beta"/>
41
10
42
11
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:
Copy file name to clipboardExpand all lines: docs/advanced/stomp-topics.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,15 +6,15 @@ sidebar_position: 15
6
6
import Centered from '@site/src/components/Centered';
7
7
import Label from '@site/src/components/Label';
8
8
9
-
# STOMP Topics <Labelvalue="beta"/>
9
+
# STOMP Topics
10
10
11
-
The web interface makes use of the STOMP protocol to communicate with the MQTTManager in the background. STOMP is being used over **websocket** and can be connected to via http://\<manager_address\>:\<manager_port\>/websocket/stomp.
11
+
The web interface makes use of the STOMP protocol to communicate with the MQTTManager in the background. STOMP is being used over **websocket** and can be connected to via http://\<manager_address\>:\<manager_port\>/websocket/stomp.
12
12
13
13
When a stomp connection has been established the following topics can be used:
| nspanel/\<mac_address\>/command |`reboot`, `firmware_update` or `gui_update`| Reboot, update firmware or update the GUI of the NSPanel. |
18
-
| nspanel/\<mac_address\>/status | JSON-encoded status object. | The MQTTManager will send out a JSON-encoded status object when it changes for the specified NSPanel. NSPanel. |
19
-
| nspanel/\<mac_address\>/log | Stream of JSON-encoded log messages from the NSPanel. | When a log message is received from the NSPanel it will be decoded and sent out to this topic as a JSON-encoded object. |
18
+
| nspanel/\<mac_address\>/status | JSON-encoded status object. | The MQTTManager will send out a JSON-encoded status object when it changes for the specified NSPanel. NSPanel. |
19
+
| nspanel/\<mac_address\>/log | Stream of JSON-encoded log messages from the NSPanel. | When a log message is received from the NSPanel it will be decoded and sent out to this topic as a JSON-encoded object. |
20
20
| nspanel/\<mac_address\>/log_backlog | Stream of JSON-encoded log messages from the NSPanel log buffer backlog. | The MQTTManager will buffer a given amount of logs in memory. When connecting to this topic the MQTTManager will send out all buffered logs as a JSON-encoded object. This topic is only ment to be subscribed to, get the log backlog, then unsubscribe and get new logs from the 'nspanel/\<mac_address\>/log' topic. |
Copy file name to clipboardExpand all lines: docs/getting-started/configure-flashed-nspanel.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,10 +42,10 @@ Let's setup the minimal configuration, the rest can be configured from NSPanel M
42
42
After that the device will reboot and connect to your Wifi
43
43
(it will no longer host a WiFi named `NSPMPanel` nor be reachable to the previous url).
44
44
45
-
<Labelvalue="beta" />In case you need to access the setup page again it is possible to reset the device by pressing the reset/reboot button via the bottom hole quickly 5 times in a row. This will start the WiFi access point again and let you configure it.
45
+
In case you need to access the setup page again it is possible to reset the device by pressing the reset/reboot button via the bottom hole quickly 5 times in a row. This will start the WiFi access point again and let you configure it.
46
46
47
-
If needed, you will still be able to connect to it via it's new IP from your own Wifi network.
48
-
(Check in your Router to retrieve its IP)
47
+
If needed, you will still be able to connect to it via it's new IP from your own Wifi network
48
+
(check in your router to retrieve its new IP).
49
49
50
50
At this stage, if your device could connect to your WiFi and to MQTT you can jump into
51
51
the [installation of NSPanel Manager](./install/installation-guide-docker.md)
Copy file name to clipboardExpand all lines: docs/getting-started/flash-nspanel.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -102,7 +102,7 @@ Notice that RX and TX pins have to be inverted between the devices: it is not TX
102
102
103
103
### Flash NSPanel with NSPanelManager custom firmware
104
104
105
-
First, download the latest firmware `merged-flash.bin` from [here](https://github.com/NSPManager/NSPanelManager/raw/refs/heads/main/firmware/NSPanelManagerFirmware/merged-flash.bin).
105
+
First, download the latest firmware `merged-flash.bin` from [here](https://github.com/NSPManager/NSPanelManager/blob/main/docker/web/nspanelmanager/merged_flash.bin).
106
106
107
107
Then, flash the firmware with your tool of choice:
0 commit comments