{"library":"node-red-node-suncalc","title":"Node-RED node-suncalc","description":"A Node-RED node that triggers signals at sunrise and sunset using the suncalc library. Current version 1.2.0. It calculates times based on a specified location and provides configurable definitions of sunrise/sunset with minute offsets. Outputs day/night status every minute and emits transitions. Also supplies sun/moon position data. Differentiators: integrated into Node-RED ecosystem, simple setup, two outputs for continuous state and edge triggers.","language":"javascript","status":"active","last_verified":"Sat May 09","install":{"commands":["npm install node-red-node-suncalc"],"cli":null},"imports":["npm install node-red-node-suncalc"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// No code example for Node-RED flow - install the palette node and configure in editor.\n// Typical flow: inject -> suncalc node -> debug\n// Sets lat/lon in node config. Outputs msg.payload 1 (day) or 0 (night).","lang":"javascript","description":"Install the node via Node-RED palette manager, then drag into workspace, configure latitude/longitude, and connect to debug.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}