As I don‘t have a water outlet on my balcony I use a water tank and a pump for watering my strawberries. I developed a controller for the pump which runs natively on Apple Homekit but I‘d like to change it to Matter and Threads in the future.

  • blindbunny
    link
    fedilink
    English
    arrow-up
    4
    ·
    28 days ago

    This is cool, does it basically run the pump at certain times laid out by apple home kit?

    • bistdunarrisch@lemmy.worldOP
      link
      fedilink
      arrow-up
      5
      ·
      28 days ago

      Yes exactly. It checks the weather forecast however so it doesn’t water when it‘s raining. This way I don’t have to refill the canister too often. A better way would be to attach moisture sensors to the plants, but I don’t like having to change batteries constantly. This is a very simple solution but it works for me.

    • bistdunarrisch@lemmy.worldOP
      link
      fedilink
      arrow-up
      3
      ·
      28 days ago

      I used this code as the base and changed it slightly so the pump has a safety time out and can be controlled via PWM.

      In newer projects I use code from Espressif however because it works with Matter and Threads.