Expected completion time of this lab:
. |
Connect a reed switch to drive pin DP2 high/low
What circuit do you use?
Create the following Node-RED flow to enable digital input pin DP2
The function node contains the following code:
|
Add the necessary nodes to create the following dashboard:
Add a "notification" dashboard node which appears when the state toggles. |