Navigation

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

    Gutz2001

    @Gutz2001

    0
    Reputation
    4
    Posts
    369
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    Gutz2001 Follow

    Best posts made by Gutz2001

    This user hasn't posted anything yet.

    Latest posts made by Gutz2001

    • Relay with MQTT gateway down?

      Hi Everyone,

      As you may know, the default setup with a relay with an MQTT gateway doesn't work if the MQTT GW is down. Now this might be okay for some, but i'm considering changing all my lights to run with the relays, so it's not acceptable to not be able to turn on or off my lights if for some reason my MQTT gateway is down. Does anyone have code that can help me turn on/off a relay while the MQTT is Down? and then wishfully update the MQTT gateway with the status once it's up Again?

      posted in General Discussion
      Gutz2001
      Gutz2001
    • RE: RelayWithButtonActuator Example(solved)

      Update:
      I've made another board with new components, and now it Works every time, i took the old board and added a Decoupling-Capacitor, now it Works about 6/10 times.

      Edit:
      I've resawdered the Wireless chip (FK 16.ONU) and now i got it to 8/10 times.

      Edit2:
      I added a Decoupling-Capacitor of 47UF insted of the 4,7 10/10 times.

      posted in Troubleshooting
      Gutz2001
      Gutz2001
    • RelayWithButtonActuator Example(solved)

      Hi,

      I'm trying to do the simple RelayWithbuttonActuator from this homepage that Works with an MQTT gateway, I've got it working 1/10 times, by using the default code from here(the RelayWithButtonActuator Example): http://www.mysensors.org/build/relay

      When i push the button, i see the TX light on the arduino light up for a split second, and then nothing happens, the relay does not switch, then i fiddle with the button 5-10 times, then it finaly switches.

      So i checked the log from the com port, and this is what the Arduino outputs:

      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=ok:1
      read: 0-0-56 s=1,c=1,t=2,pt=2,l=2:1
      This is an ack from gateway
      Incoming change for sensor:1, New status: 1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:0
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:0
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=ok:0
      read: 0-0-56 s=1,c=1,t=2,pt=2,l=2:0
      This is an ack from gateway
      Incoming change for sensor:1, New status: 0
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=ok:1
      read: 0-0-56 s=1,c=1,t=2,pt=2,l=2:1
      This is an ack from gateway
      Incoming change for sensor:1, New status: 1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=ok:0
      read: 0-0-56 s=1,c=1,t=2,pt=2,l=2:0
      This is an ack from gateway
      Incoming change for sensor:1, New status: 0
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=ok:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=ok:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=ok:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=ok:1
      send: 56-56-0-0 s=1,c=1,t=2,pt=2,l=2,st=fail:1
      read: 0-0-56 s=1,c=1,t=2,pt=2,l=2:1
      This is an ack from gateway
      Incoming change for sensor:1, New status: 1

      So now my questions:
      Am i doing something wrong to get this result?
      What does the error mean when it fails?
      Why does the OK status not do anything?
      Why is it not the primary funktion to turn on or off the relay insted of sending and reciving the info from the MQTT?

      posted in Troubleshooting
      Gutz2001
      Gutz2001
    • Multi lightluxsensors

      Hi,

      I'm very new to this, and just build a small setup which is working fine with a MQTT, and a single arduino with a lightluxsensor, now i'd like to make a build with 2 lightluxsensors on the same board, but i can't figure out where to find the information on how to define a second sensor of the same type.

      Regards CartoonDragon

      posted in Troubleshooting
      Gutz2001
      Gutz2001