code a 'Rainsensor ' for my garden sprinkler

Domotica gratuit Forums How can I …? Exemples Blocky code a 'Rainsensor ' for my garden sprinkler

Ce sujet a 0 réponse, 1 participant et a été mis à jour par  djandib, il y a 9 mois.

Affichage de 1 message (sur 1 au total)
  • Auteur
    Messages
  • #11871

    djandib
    Participant

    Hi there,
    summer is coming soon and it`s time to make some thoughts about a green garden.
    As I don`t want to spent a lot of money in a hardware watersensor, I solved it with blocky.
    Have fun:

    I devided the sensor in two parts:
    1) When was the last rainy day?
    2) Do I have to activate the garden sprinkler

    Here`s the 1)
    <img src=”https://snag.gy/WmQwfP.jpg”>
    Its simple explained: Pulse-station checks the Weather-ID every 15 minutes and ifs not a “sunny” ID, I write the variables ($weatherID) and ($LastRainDay)

    Here`s the 2)

    In the morning and the evening I check the temparature. If it`s to cold (<22) I set my virtual binary switch “Sonnentag” to “false”
    If it`s hotter, then I check when there was the last rainy day. If it was yesterday or a date before I set my Sonnentag” to “true”

    Finally I put 1) and 2) in one scene and voila: A cheap solution for a rainsensor.

    Greetings from Munich
    Andi

    PS: If you are interested in how to realize a pulse-station controlled garden sprinkler, contact me.

Affichage de 1 message (sur 1 au total)

Vous devez être connecté pour répondre à ce sujet.