diff --git a/README.md b/README.md index 87ee83c7..31a382f2 100644 --- a/README.md +++ b/README.md @@ -56,43 +56,8 @@ event,1,tHeading,tEntityName,1,stop # Design Guidelines for Nextion HMI Project Background Color is -- RGB565: 4226 (HEX: #101010, RGB: 16,16,16) +- RGB565: 6371 [18e3] (HEX: #1C1C1C, RGB: 28,28,28) -Source for Images: -https://materialdesignicons.com/ +Source for Icons is the Material Design Font, used by HASPone +https://github.com/HASwitchPlate/HASPone -Settings for Advanced Export (Big Images): -- Background: #101010 -- Opacity: 1 -- Size: 72 -- Padding: 12 - - - - - - -# OLD STUFF -# Widget Page - -| Payload | Example | Parameter 1 | Parameter 2 | Parameter 3 | Parameter 4 | Description | -|---|---|---|---|---|---|---| -| widget,*id*,*type*,*status*,*name* | widget,b0,shutter,1,name | *id* of widget Possible values: - b[0-7] | type of the action the widget should do Possible values: - shutter - opens shutter page | enable or disable Possible values: - 0 - disbale/hide - 1 - enable/show | name of the widget, will be displayed below the widget | Modify Widgets on Page | -| widget,debug,dc,*status* | widget,debug,dc,1 | debug | don't care | enable or disable Possible values: - 0 - disbale/hide - 1 - enable/show | don't care | Enables/Disables text fields at the bottom of the widget page to see the parsed command's | -| | | | | | | | - -## Messages from Nextion Display - -# Widget Page - -| Payload | Example | Parameters | Description | -|---|---|---|---| -| event,widgetPage,*page* | event,widgetPage,0 | ** is the number of the current page, there is currently only page 0 | Is fired, after switching to widgetPage, has to be answered with widget message | -| event,widgetButton,*page*,*buttonId* | event,widgetButton,0,b0 | *page* is the number of the current page, there is currently only page 0 *buttonId* is the id of the button b[0-7] | Is fired, after pressing a button on the widget page | - -# Shutter Page - -| Payload | Example | Parameters | Description | -|---|---|---|---| -| event,shutterPage,*buttonname* | event,shutterPage,bOpenShutter | *buttonname* is the name of the clicked button | | -| event,shutterPage,*buttonname*,*value* | event,shutterPage,bSlider,50 | *buttonname* is the name of the clicked button | |