code a 'Rainsensor ' for my garden sprinkler

Gratis domotica Forums How can I …? Blocky voorbeelden code a 'Rainsensor ' for my garden sprinkler

Dit onderwerp bevat 0 reacties, heeft 1 stem, en is het laatst gewijzigd door  djandib 7 maanden, 1 week geleden.

1 bericht aan het bekijken (van in totaal 1)
  • Auteur
    Berichten
  • #11871

    djandib
    Bijdrager

    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.

1 bericht aan het bekijken (van in totaal 1)

Je moet ingelogd zijn om een reactie op dit onderwerp te kunnen geven.