node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



A simple timeout by Peter Scargill ( After setting the topic and both safe and unsafe messages, for, for example MQTT (or simply puttting 1 and 0 into the two messages) the node is triggered by any input and will send the SAFE message out. If continually triggered nothing more will happen but if allowed to timeout, the UNSAFE message will be sent. Hence this can be used as a watchdog.

For more IOT, visit