How can I code a dummy switch that turns off only after I pressed it a determined number of times?

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • - Download’s Tech Salary Report
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Truly a developer’s best friend
  • homebridge-index-counter

    Simple counter for Homebridge:

    Homebridge Index Counter

  • Node RED

    Low-code programming for event-driven applications

    There are some ways to do programming through Homebridge but they can get complicated. The best way is probably to install something like Node-RED, integrate it with HomeKit, install a counter module, and do the logic in there. Like I said, it can get complicated.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts