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. [SOLVED] Wifi gateway / motion sensor / value 1107296256 instead of tripped ?

[SOLVED] Wifi gateway / motion sensor / value 1107296256 instead of tripped ?

Scheduled Pinned Locked Moved Troubleshooting
16 Posts 4 Posters 4.2k Views 3 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.
  • K Offline
    K Offline
    kr0815
    wrote on last edited by
    #7

    That´s really strange, because 2 hours earlier, the gateway worked with the old version, only the problem of receiving numbers instead of v_tripped

    I´m using an NRF24L01 with external Antenna, i saw somewhere in the Code there are settings for TX-Power or similar ? Maybe that´s different in dev version ?
    Or any other ideas ?

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #8

      Yes, you could try setting tx power to low. Add this before including MySensor.h in gateway.

      #define MY_RF24_PA_LEVEL RF24_PA_MIN

      Anything useful in the debug log?

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kr0815
        wrote on last edited by
        #9

        You mean the output when connected with putty ?
        There is nothing strange in it, i see the commands from my FHEM controller, but no errors

        With the old version i saw also the messages from my sensor nodes

        Is it possible to change debug level ?

        1 Reply Last reply
        0
        • hekH Offline
          hekH Offline
          hek
          Admin
          wrote on last edited by
          #10

          Debug is enabled by default.

          https://github.com/mysensors/Arduino/blob/development/libraries/MySensors/examples/GatewayESP8266/GatewayESP8266.ino#L72

          You could perhaps have the gateway connected to your computer/Arduino IDE and open the serial monitor to see that sensor readings is picked up correctly.

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kr0815
            wrote on last edited by
            #11

            Thats what i already did, that´s what i get after a diconnect / connect and then a inclusion-mode on / off in my controller software.

            0;255;3;0;14;Gateway startup complete.
            0;255;3;0;2;2.0.0-beta
            0;255;3;0;14;Gateway startup complete.
            0;255;3;0;2;2.0.0-beta
            0;255;3;0;5;1
            0;255;3;0;5;0
            

            But no messages from the sensors.
            Should there be additional messages when in debug mode ?

            So as there are no changes in Channel / ID, i see only the possibilities that i either damaged the NRF or that something is different with the Developer version

            I´ll try to flash the old software again this evening

            1 Reply Last reply
            0
            • K Offline
              K Offline
              kr0815
              wrote on last edited by
              #12

              Got it working now, replaced the ampflified NRF with a regular one
              Maybe i broke it, but can´t imagine how

              In one of the many examples i found the following comment for myConfig.h:

              #define RF24_PA_LEVEL_GW   RF24_PA_LOW  //Gateway PA Level, defaults to Sensor net PA Level.  Tune here if using an amplified nRF2401
              
              

              Is there anything special about the amplified version ? Do they have like a register i have to switch on/ off ? or is it just an additional transistor and the antenna connection ?

              N 1 Reply Last reply
              0
              • hekH Offline
                hekH Offline
                hek
                Admin
                wrote on last edited by
                #13

                It requires much more power. Do not feed it from the arduino directly. Especially if you turn up the transmit power level.

                1 Reply Last reply
                0
                • K kr0815

                  Got it working now, replaced the ampflified NRF with a regular one
                  Maybe i broke it, but can´t imagine how

                  In one of the many examples i found the following comment for myConfig.h:

                  #define RF24_PA_LEVEL_GW   RF24_PA_LOW  //Gateway PA Level, defaults to Sensor net PA Level.  Tune here if using an amplified nRF2401
                  
                  

                  Is there anything special about the amplified version ? Do they have like a register i have to switch on/ off ? or is it just an additional transistor and the antenna connection ?

                  N Offline
                  N Offline
                  netram
                  wrote on last edited by
                  #14

                  @kr0815 said:

                  Got it working now, replaced the ampflified NRF with a regular one

                  Now that you have the dev-branch WIFIgateway version up and running, did this solve the initial issue with the strange tripped-values?

                  1 Reply Last reply
                  0
                  • K Offline
                    K Offline
                    kr0815
                    wrote on last edited by
                    #15

                    Yes, the problem is solved now, no more strange values

                    1 Reply Last reply
                    0
                    • N Offline
                      N Offline
                      netram
                      wrote on last edited by
                      #16

                      :thumbsup:

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      20

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.0k

                      Posts


                      Copyright 2019 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