this post was submitted on 24 Oct 2024
34 points (97.2% liked)

Smart Homes

648 readers
1 users here now

For the discussion of smart homes, home automation and the like. Because of the instance it will tend to have a more UK flavour but everyone is welcome.

Elsewhere in the Fediverse:

Rules:

NB: looking for moderators.

founded 1 year ago
MODERATORS
 

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.

top 4 comments
sorted by: hot top controversial new old
[–] blindbunny@lemmy.ml 4 points 4 weeks ago (1 children)

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

[–] bistdunarrisch@lemmy.world 5 points 4 weeks 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.

[–] JohnSmith 4 points 4 weeks ago (1 children)

Nice one. What software did you put on the ESP32?

[–] bistdunarrisch@lemmy.world 3 points 4 weeks 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.