Navigation

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

    Topics created by Eme

    • Eme

      [SOLVED] MySensors Raspberry Pi Gateway + Domotics Controller
      Domoticz • • Eme  

      22
      0
      Votes
      22
      Posts
      122
      Views

      zookazim

      @Eme Thanks for letting us know how you solved the problem - helps us all to learn. I've recently upgraded my Raspberry Pi 1b to 4 and just got it working as an ethernet gateway with standard NRF24 radio. I'm curious about a few things as I've been trying to also use a PA LNA radio but without success; Any reason you have set up your gateway as serial and not ethernet? What did you mean by "Don't rely on GPIO pins to power it, use a regulator". By regulator did you mean the capacitor, did you use another regulator component - I can't see from your image Did you change the power setting of you configuration file MyConfig.h -lowering the power to "RF24_PA_LOW'?
    • Eme

      Pls Help: Sensor value shows in Domoticz Hardware TAB, but wont show on Switches
      Domoticz • • Eme  

      5
      0
      Votes
      5
      Posts
      526
      Views

      FlyingDomotic

      In addition to the remark on declaring sensor to Domoticz, the sketch itself seems to me a bit confusing. Normally, you should do setup into setup function (stuff like pin mode, even eventually reading saved config and setting relay in correct state), presentation should contain only sendsketchinfo() & present(), loop should do the repetitive job. You should avoid blocking the loop, especially if you want to receive messages (as you did). You're using relay from pin 2 to 6 but sensor 1 to 5, but when receiving an order to set sensor x, you set pin x (instead of x+1). Result may not exactly be what you want/imagine. You're turning pump off only when receiving a message (as the test is done here), instead in the loop. You're using digitalWrite() on some analog pin (A1) You're sending udpdates every 2 seconds, while sending either changes or data at larger interval may fit better. In addition, you may also want to simplify: send(msgNEPA.set(sensorState?"0":"0")) by send(msgNEPA.set(0)) (in addition, this will send numeric value instead of string, don't think that sending a string is what you want) and send(msgNEPA.set(sensorState?"1":"1")) by send(msgNEPA.set(1)) May I suggest you explain what you have, and what you want to do, for us to guide you setting the sensors properly?
    • Eme

      Error sending switch command at Gateway
      Domoticz • • Eme  

      3
      0
      Votes
      3
      Posts
      601
      Views

      dbemowsk

      @eme If you are talking on the side of the nRF24 radio module then yes, the 4.7uf or above AFAIK is recommended in here as a minimum. I could see this happening if there were occasional packet collisions with the gateway because the radio cannot refresh fast enough due to of the quick draw of power on the radio.