Navigation

    • Register
    • Login
    • OpenHardware.io
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. anonymouslemming
    • Profile
    • Following
    • Followers
    • Topics
    • Posts
    • Best
    • Groups

    anonymouslemming

    @anonymouslemming

    0
    Reputation
    24
    Posts
    434
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    anonymouslemming Follow

    Best posts made by anonymouslemming

    This user hasn't posted anything yet.

    Latest posts made by anonymouslemming

    • RE: How to build an overridable MySensors relay based device (e.g. lamp with manual switch)

      @dbemowsk

      Hmm - that's interesting. I've been looking at the Sonoff stuff since you posted this, thanks!

      One of my goals is to have no Internet connectivity to my devices, and it looks like there are some firmware options that would let me achieve that. So that's a plus.

      The minus so far is that I can't find anything about range extenders / relay (signal, not power) for these. Two of my early use cases are out of WiFi range, so I'd like to be able to have something between the shed and the controller that acts as a relay. One of the things that attracted me to MySensors is that nodes can act as relays for other nodes.

      Do you know if that's possible with Sonoff ?

      posted in Hardware
      anonymouslemming
      anonymouslemming
    • RE: How to build an overridable MySensors relay based device (e.g. lamp with manual switch)

      @doctor64
      Hey - that does look really really good! I think I looked at it early in the project as inspiration.

      The lamps I'm using (http://www.ikea.com/gb/en/products/lighting/table-lamps/fado-table-lamp-white-art-10096375/) have in-line switches and there's no sensible space in the body to mount anything, so I need something that controls power at the plug socket end.

      I also want them at the plug socket end just for more flexibility in the longer term so that they can drive things other than just lamps.

      posted in Hardware
      anonymouslemming
      anonymouslemming
    • RE: How to build an overridable MySensors relay based device (e.g. lamp with manual switch)

      @ghiglie
      It's stalled a bit due to work commitments. Prototype does everything EXCEPT keep the OpenHAB status in sync. I can control from openhab or from a separate node (that's just a switch).

      I need to update the code on the light node to keep openhab in sync and it'll be done. Then on to trying to build hardware that'll suit.

      posted in Hardware
      anonymouslemming
      anonymouslemming
    • RE: How to build an overridable MySensors relay based device (e.g. lamp with manual switch)

      @Boots33 said in [How to build an overridable MySensors relay based device

      You can still notify the controller of the change but use node to node to activate the light. This is usually the simplest way to go. It also has the advantage that even if the controller is not available the light will still switch.

      Ok - I'll look into that.

      Like i said having the switch connected to the node that controls the light is the most reliable way, but not always the most convenient.

      The node is going to be in a plug socket type device instead of in the lamp in some way. The lamp will plug into this socket. So I can't work out a way to conveniently have the local switch attached to that without being quite ugly and ungainly.

      Where is the node that will control the light going to be. Are you fitting it inside the lamp or is it to be external?

      It'll be external - built into a plug socket. I figured that gives me more space to work, much like the X10 equipment I'm replacing.

      You may get some ideas from these posts

      AC-DC double solid state relay module

      Synchronising Light switch

      AC Power controller with node to node remotes

      Outdoors Touch Switch light controller

      Thanks - I'll have a look over those !

      posted in Hardware
      anonymouslemming
      anonymouslemming
    • RE: How to build an overridable MySensors relay based device (e.g. lamp with manual switch)

      @Boots33 said in How to build an overridable MySensors relay based device (e.g. lamp with manual switch):

      Do you need this to go through your controller? Usually the best way to treat a remote switch is to use direct node to node communication.

      The reason I was considering going via the controller is so that the controller stays in sync. My worry with communicating directly with the node is that then the controller will think that the light is on, when it's off, or vice versa.

      Perhaps you can give us a better idea of the physical layout of your setup, this may help us to suggest a more specific solution.

      For the initial prototype, it's a lamp that sits in the far corner of the lounge. Control is currently the in-line switch on the lamp cable. I'd like to place the local control switch somewhere near it, if not on the cable, then on the bookcase that the lamp sits on.

      The ethernet gateway is about 5m away from this switch and plug socket, with the controller running on a VM on the same ethernet network.

      posted in Hardware
      anonymouslemming
      anonymouslemming
    • RE: How to build an overridable MySensors relay based device (e.g. lamp with manual switch)

      @mfalkvidd Ok, that's great then - sounds like Option 2 is the way to go.

      Now to try and work out how to have a press event on one node trigger the on/off on another node via OpenHAB.

      Are you aware of any examples like that ?

      posted in Hardware
      anonymouslemming
      anonymouslemming
    • RE: Lost beginner - nodes, parent nodes and changes needed to sketches ?

      @gohan I'm almost 100% sure they're clones, yeah. But they've been going for 2 days now across the range of my house (while in low power mode - no capacitor in place yet), so they'll do for prototyping.

      Once I get to designing and printing boards, then I'll be a lot fussier 🙂

      posted in OpenHAB
      anonymouslemming
      anonymouslemming
    • How to build an overridable MySensors relay based device (e.g. lamp with manual switch)

      Hi all,

      I finally got my first MySensors lamp working, controlled via OpenHab2.

      My goal is to replace a couple of timers that we use either on vacation or when we have Christmas lights up with MySensors devices in the longer run.

      In order to get wife approval factor, lamps need to be able to be manually switchable too. She doesn't want to have to get her phone out to turn the lamp on at odd times of day.

      So far I have 2 ideas for indoor lights, and I'd like to know which one of these seems more sensible.

      1. Have a switch attached to the lamp cord (replacing the existing switch) with 2 wires running to the smart plug I'm building. This would change the state of the relay and send a message to OpenHab reflecting this change.
      2. Have a completely separate switch, battery powered, attached somewhere near the lamp being controlled. This would include an RF24 radio and act as a control for the lamp.

      Option 1 would be cheaper, but have ugly wires running along the lamp wires.

      Option 2 seems like it would be harder to miniaturize and power for longer periods of time.

      Are there other options that I'm missing ?

      What would you do ?

      posted in Hardware
      anonymouslemming
      anonymouslemming
    • RE: Lost beginner - nodes, parent nodes and changes needed to sketches ?

      @gohan I have SOOO many spare RF24's now - I bought a batch of 10 off of Amazon while debugging this.

      😄

      posted in OpenHAB
      anonymouslemming
      anonymouslemming
    • RE: Lost beginner - nodes, parent nodes and changes needed to sketches ?

      I finally got this working. My problem was my radio's were not communicating. I went back to basics with an RF24 example sketch and found one of my radio's to be dead. After replacing it, I simply set
      MY_NODE_ID in my sketch and everything is now working.

      posted in OpenHAB
      anonymouslemming
      anonymouslemming