SENSBLUE ATLAS/Node-RED: Difference between revisions
Appearance
No edit summary |
|||
| (11 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:Node-RED}} | {{DISPLAYTITLE:Node-RED}} | ||
[[File:Node-RED Logo.png|frameless|150x150px]] | |||
== Node-RED Simplified Flows == | == Node-RED Simplified Flows == | ||
'''Flow Node-RED''' | '''Flow Node-RED''' | ||
| Line 14: | Line 16: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
[[File:Node-RED Simplified Flows img 1.png|center|frameless|1037x1037px]] | [[File:Node-RED Simplified Flows img 1.png|center|frameless|1037x1037px]] | ||
[[Media:Simplified Flows.zip|Simplified Flows | |||
<table style="border: none; background: transparent; margin: 15px 0; border-collapse: collapse;"> | |||
<td style="padding: 0 0 0 10px; border: none; background: transparent;"> | |||
<span class="atlas-btn">[[Media:Simplified Flows.zip|Simplified Flows]]</span> | |||
</td> | |||
</table> | |||
'''Analog Inputs''' | '''Analog Inputs''' | ||
| Line 250: | Line 257: | ||
It is composed of two main subflows: | It is composed of two main subflows: | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Component | !Component | ||
!Function | !Function | ||
| Line 281: | Line 288: | ||
=== 10. MQTT topics === | === 10. MQTT topics === | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Topic | !Topic | ||
!Usage | !Usage | ||
| Line 316: | Line 323: | ||
The parser converts the states to booleans: | The parser converts the states to booleans: | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!State received | !State received | ||
!Value sent to UI | !Value sent to UI | ||
| Line 335: | Line 342: | ||
Each switch sends: | Each switch sends: | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Switch | !Switch | ||
!msg.topic | !msg.topic | ||
| Line 362: | Line 369: | ||
|} | |} | ||
The '''set digital outputs''' function converts the values into physical states: | The '''set digital outputs''' function converts the values into physical states: | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Logical value | !Logical value | ||
!State sent | !State sent | ||
| Line 375: | Line 382: | ||
=== 13. ENV variables of the Digital Outputs === | === 13. ENV variables of the Digital Outputs === | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Variable | !Variable | ||
!Default value | !Default value | ||
| Line 399: | Line 406: | ||
=== 14. Dashboard === | === 14. Dashboard === | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Field | !Field | ||
!Value | !Value | ||
| Line 415: | Line 422: | ||
|grid | |grid | ||
|}Groups on the page: | |}Groups on the page: | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Group | !Group | ||
!Content | !Content | ||
| Line 426: | Line 433: | ||
|} | |} | ||
Input LEDs: | Input LEDs: | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Value | !Value | ||
!Color | !Color | ||
| Line 437: | Line 444: | ||
|} | |} | ||
Output LEDs: | Output LEDs: | ||
{| class="wikitable" | {| class="wikitable mix-table" | ||
!Value | !Value | ||
!Color | !Color | ||