From 6ec7ee14b0b7603ed9bea70e60de251504f45967 Mon Sep 17 00:00:00 2001 From: Johannes Date: Fri, 7 Jan 2022 14:47:08 +0100 Subject: [PATCH] Update README.md --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9e92b80c..246700fe 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ This is a replacement for the stock ui on nspanel, it can be controlled via cust # Custom Protocol ``` -55 BB [payload length] [payload] [crc] +55 BB [payload length] [payload] [crc] [crc] ``` Payload length contains the number of bytes of the payload. @@ -20,5 +20,11 @@ Instead the commands are plain text commands with parameters. ## Example for valid Message This message has to be generated for the Message "1337" (1337 is not a valid command, this is just an example) ``` -55 BB 04 31 33 33 37 AB F1 00 +55 BB 04 31 33 33 37 AB F1 ``` +## Message to Nextion Display + +| Payload | Example | Parameters | Description | +|---|---|---|---| +| widget | widget b0 shutter 1 name | of the Button to be enabled - Type of the Button / Page - Disable or Enable (0/1) - Name below the Button | | +| | | | |