• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login

Detect change of state on switch

Scheduled Pinned Locked Moved General Discussion
6 Posts 2 Posters 1.6k Views 2 Watching
Loading More Posts
  • 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.
  • Z Offline
    zachflem
    last edited by 9 Feb 2018, 02:36

    Hi Folks,
    This might very well be a question more suited to the MySensors forums, but I figured I'd ask here as well, just in case anyone else has already found a solution.

    I have a steel frame house, and dragging new cabled through the wall is a nightmare. Because of this I was hoping to re-use my existing rocker switches used for my lights etc.

    Rather than having a set action for open and short (which would limit the use if a light was turned on via a phone or automated process) I was hoping to detect a change in state and use that to trigger an operation.

    If anyone has any info on this and might be able to point me in the right direction, I'd be greatly appreciative.

    Cheers!

    Z

    1 Reply Last reply Reply Quote 0
    • T Offline
      Tag MOD
      last edited by 9 Feb 2018, 06:54

      Hi!

      Why not use remote controlled outlets? In Europe we got the 433mhz rc outlets,
      Simply make a node which is able to controll the outlets and have mycontroller operate them.

      Another solution might be using an LDR per lamp (or part of the room) to measure the light intensity.

      Measure you power usage on your electricity meter....

      Hope this helps!

      Kind regards,

      Tag

      1 Reply Last reply Reply Quote 1
      • Z Offline
        zachflem
        last edited by 10 Feb 2018, 22:49

        the lights I want to control don't have an outlet! I might end up having to create a connection point, and it might be possible to use a 433mHz controller relay at that point, worth looking into.

        I'd still need to detect the change of state at the switch on the wall, so I could retain the original usability of the light switches, rather than having to carry around a 20ch remote when in the house!

        T 1 Reply Last reply 11 Feb 2018, 10:04 Reply Quote 0
        • T Offline
          Tag MOD @zachflem
          last edited by 11 Feb 2018, 10:04

          @zachflem

          Not sure which lights or switches you use, maybe you are able to request the state of the light. If this is not possible, the only way to see if the light is on of off is using an LDR, or Lux sensor..

          Z 1 Reply Last reply 12 Feb 2018, 02:12 Reply Quote 0
          • Z Offline
            zachflem @Tag
            last edited by 12 Feb 2018, 02:12

            @tag said in Detect change of state on switch:

            @zachflem

            Not sure which lights or switches you use, maybe you are able to request the state of the light. If this is not possible, the only way to see if the light is on of off is using an LDR, or Lux sensor..

            I don't think I'm explaining myself very well. I don't want the state of the light, I want to detect when someone alters the state of the SWITCH, so that I can convert my existing switches, into smart input, and assign them to different things via rules.

            The switch should have no defined ON or OFF state, only a trigger that says "hey the switch changed"

            I hope that makes a little more sense.

            T 1 Reply Last reply 12 Feb 2018, 05:57 Reply Quote 0
            • T Offline
              Tag MOD @zachflem
              last edited by Tag 2 Dec 2018, 11:28 12 Feb 2018, 05:57

              @zachflem

              Ah... so if i understand correctly, you basically need a scipt that monitors the switch variables in mycontroller?

              1 Reply Last reply Reply Quote 0
              4 out of 6
              • First post
                4/6
                Last post

              0

              Online

              628

              Users

              532

              Topics

              3.4k

              Posts
              Copyright © 2015-2025 MyController.org | Contributors | Localization