Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. Send timer program to pool filter controller

Send timer program to pool filter controller

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 62 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Vasilis VlachoudisV Offline
    Vasilis VlachoudisV Offline
    Vasilis Vlachoudis
    wrote on last edited by
    #1

    Hi all,

    I want to replace the simple timer controller of the pool with an arduino based using a real time clock and communicating with home assistant using mysensors/mqtt.

    Right now I am able to control the filter relay with the arduino/mysensors like a simple switch. However I want to send a timer program, a list of times to turn on/off the filter per day, and then the arduino will work in autonomous mode.
    How can I perform such a communication with mysensors?

    thanks in advance

    E 1 Reply Last reply
    0
    • Vasilis VlachoudisV Vasilis Vlachoudis

      Hi all,

      I want to replace the simple timer controller of the pool with an arduino based using a real time clock and communicating with home assistant using mysensors/mqtt.

      Right now I am able to control the filter relay with the arduino/mysensors like a simple switch. However I want to send a timer program, a list of times to turn on/off the filter per day, and then the arduino will work in autonomous mode.
      How can I perform such a communication with mysensors?

      thanks in advance

      E Offline
      E Offline
      eiten
      wrote on last edited by
      #2

      @Vasilis-Vlachoudis well, normally, I would realize this by a timer in HA and just sending the ON and OFF commands to the switch.
      Alternatively, you could use a custom variable and use a format like this in your message: +0800-1000+1400-1900. On your arduino, you need to write an interpreter for this format and see if your output matches the requirement of the current time frame.
      If you want to controll it from the Arduino, be sure to often request time from the controller. I already got some cheep Arduino Nanos from Ali with a 1% clock accuracy... This may not sound like much but in worst case, this is a quarter of an hour per day!
      Regards, Edi

      1 Reply Last reply
      0
      • Vasilis VlachoudisV Offline
        Vasilis VlachoudisV Offline
        Vasilis Vlachoudis
        wrote on last edited by
        #3

        Thank you @eiten for you suggestion. I will try it.
        I wanted to be independent from HA, just as a fail safe in case of problems.
        I am not relying on the time keeping of the arduino, but on a real time clock module.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        19

        Online

        11.7k

        Users

        11.2k

        Topics

        113.1k

        Posts


        Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • MySensors
        • OpenHardware.io
        • Categories
        • Recent
        • Tags
        • Popular