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. Troubleshooting
  3. Intermittent issue

Intermittent issue

Scheduled Pinned Locked Moved Troubleshooting
6 Posts 2 Posters 1.7k 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.
  • J Offline
    J Offline
    joshdinsdale
    wrote on last edited by
    #1

    Hey guys

    First a bit of background, I've been getting into my sensors slowly over the past few months, i dont have great deal of time to code and build sensors. Up until now I've been successfully running a serial gateway on an uno connected to a server running domoticz plus two remote temperature nodes. These have been running perfectly.
    I've recently been working on a new project to build a dimmer based on the rotary dimmer sketch. The dimmer unit performs perfectly locally, i.e controller via the rotary knob. However control via domoticz has been a little sketchy.
    One way communication from the dimmer node to Domoticz seems to work well, i.e. when i turn the rotary knob on the dimmer, domoticz displays the dimmer level and on/off state accordingly. However controlling the dimmer from Domoticz is very sketchy, sometimes it works, sometimes it doesnt and i get an error from domoticz saying it couldnt send the command.

    I've performed some debugging by accessing the serial console on the gateway and the dimmer node and noticed that i was getting st=fails on both devices. Both nodes have been decoupled and seem to have stable power supplies.

    The following is a screengrab of the serial consoles, the gateway on the left, dimmer on the right. This shows me turning the rotary knob. As you can see, sometimes it works, and sometimes i get st=fail.

    Any ideas people?!

    Regards

    Josh

    0_1457557989646_screengrab.jpg

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #2

      Hi @joshdinsdale

      st:fail and domoticz "could not send command" is the same thing: ack is not recieved back.
      it means the receiving node or gateway has problems sending ack back to the sending node.

      Its probably a hardware issue (power and/or range). Try adding a capacitor (http://www.mysensors.org/build/connect_radio#connecting-a-decoupling-capacitor) to the receiving radio, change powersource, move receiver/sender closer to eachother or build a repeater. If you think its a software issue you can try to clear the eeprom (http://www.mysensors.org/build/debug#clearing-eeprom) and reupload your sketch.

      What kind of radio do you use on the gateway? PA/LNA version?
      Temp nodes are very low power and not much noise but when you start working with dimmer lever its a new dimension...

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • J Offline
        J Offline
        joshdinsdale
        wrote on last edited by
        #3

        hi @sundberg84 thanks for the reply

        Firstly, all myNRF24L01+ have a capacitor installed. The gateway is just a standard NRF24L01+ no pa/lna version, I guess i could put a pa/lna radio on it? The distance is already pretty close (within about a 5m radius). I guess i need to check the quality of my NRF24L01+'s in case they are nasty clones? Another factor is that my WiFi access-point is directly next to my mysensors gateway (its all in my server cupboard). I imagine this could be causing interference?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by
          #4

          @joshdinsdale About the wifi, i have the wifi-router and gateway 30cm from eachother without problems.
          I would try another power supply and see what happens.

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

          1 Reply Last reply
          0
          • J Offline
            J Offline
            joshdinsdale
            wrote on last edited by
            #5

            @sundberg84 I have tried a number of power suppliers which dont seem to make a noticeable difference. I have just ordered a pa/lna nrf to use on my gateway, so when it arrives i will see if that makes a difference. Has anyone got any tips for testing performance of nrf modules to help determine if they are fakes/clones and if that might be affecting performance? I buy them from ebay, but try and use UK only sellers but i guess thats no guarantee that they are good modules!

            1 Reply Last reply
            0
            • S Offline
              S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by
              #6

              @joshdinsdale

              Some reading regarding + and not + Nrf modules.
              http://forum.mysensors.org/topic/1153/we-are-mostly-using-fake-nrf24l01-s-but-worse-fakes-are-emerging/4
              http://forum.mysensors.org/topic/1664/which-are-the-best-nrf24l01-modules/2

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              1 Reply Last reply
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              15

              Online

              12.0k

              Users

              11.2k

              Topics

              113.4k

              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