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
In my setup, the MySensor node ID is hardcoded, this node is node 50. This is set using the commands
intnode_id=50;
gw.begin(NULL,node_id);
If you want the node ID auto assigned, use
gw.begin();
instead.
However, if you use another node ID, or auto assign it, remember to change your OpenHAB item bindings accordingly.
Adjusting the thresholds.
The thresholds are set in the code as 'define' values, in the file PBMonitor.ino file. You may have to adjust these thresholds according to light conditions and/or photoresistors used.
The code defining the thresholds are: