Announcement

Collapse
No announcement yet.

graph1090 - Range not showing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    graph1090 - Range not showing

    Hi peeps,

    Thanks again for the excellent advice, especially from wiedehopf

    My home setup is almost there, just one more issue. In the graphs1090 addon (I think that's your excellent code wiedehopf ) I'm not showing anything on the Range chart, just an empty chart. I've made sure my lat and lon are set in dump1090-mutability config, so not sure what else I need to do?

    Also, should I be running dump1090-mutability or dump1090-fa?

    Thanks in advance for the help - who knew sticking an antenna onto an old tin can could be such a powerful thing!
    Last edited by peterould; 2021-03-29, 11:31.

    #2
    Run readsb. (or dump1090-fa)

    https://github.com/wiedehopf/adsb-wi...ADS-B-receiver
    https://github.com/wiedehopf/adsb-sc...ion-for-readsb

    Might need to rerun the graphs1090 setup after changing the decoder.

    Comment


      #3
      More lovely software from you?

      Go on then!




      Oh dear - failed install

      -------

      dh build --with=systemd
      dh_update_autotools_config
      dh_autoreconf
      dh_auto_configure
      debian/rules override_dh_auto_build
      make[1]: Entering directory '/usr/local/share/adsb-wiki/readsb-install/git'
      make -j4 'RTLSDR=yes' 'AIRCRAFT_HASH_BITS=12' 'HISTORY=yes'
      make[2]: Entering directory '/usr/local/share/adsb-wiki/readsb-install/git'
      cc -Wdate-time -D_FORTIFY_SOURCE=2 -DSC16Q11_TABLE_BITS=8 -DMODES_READSB_VERSION=""wiedehopf git: aa70ba6 (fix calling flushClient after closing the client in modesReadFromClient, Mon Mar 29 13:54:56 2021 0200)"" -D_GNU_SOURCE -DALL_JSON=1 -DAIRCRAFT_HASH_BITS=12 -DENABLE_RTLSDR -std=c11 -g -W -D_DEFAULT_SOURCE -Wall -Werror -fno-common -O2 -g -O2 -fdebug-prefix-map=/usr/local/share/adsb-wiki/readsb-install/git=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-format-truncation -I/ -c anet.c -o anet.o
      cc -Wdate-time -D_FORTIFY_SOURCE=2 -DSC16Q11_TABLE_BITS=8 -DMODES_READSB_VERSION=""wiedehopf git: aa70ba6 (fix calling flushClient after closing the client in modesReadFromClient, Mon Mar 29 13:54:56 2021 0200)"" -D_GNU_SOURCE -DALL_JSON=1 -DAIRCRAFT_HASH_BITS=12 -DENABLE_RTLSDR -std=c11 -g -W -D_DEFAULT_SOURCE -Wall -Werror -fno-common -O2 -g -O2 -fdebug-prefix-map=/usr/local/share/adsb-wiki/readsb-install/git=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-format-truncation -I/ -c interactive.c -o interactive.o
      cc -Wdate-time -D_FORTIFY_SOURCE=2 -DSC16Q11_TABLE_BITS=8 -DMODES_READSB_VERSION=""wiedehopf git: aa70ba6 (fix calling flushClient after closing the client in modesReadFromClient, Mon Mar 29 13:54:56 2021 0200)"" -D_GNU_SOURCE -DALL_JSON=1 -DAIRCRAFT_HASH_BITS=12 -DENABLE_RTLSDR -std=c11 -g -W -D_DEFAULT_SOURCE -Wall -Werror -fno-common -O2 -g -O2 -fdebug-prefix-map=/usr/local/share/adsb-wiki/readsb-install/git=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-format-truncation -I/ -c mode_ac.c -o mode_ac.o
      cc -Wdate-time -D_FORTIFY_SOURCE=2 -DSC16Q11_TABLE_BITS=8 -DMODES_READSB_VERSION=""wiedehopf git: aa70ba6 (fix calling flushClient after closing the client in modesReadFromClient, Mon Mar 29 13:54:56 2021 0200)"" -D_GNU_SOURCE -DALL_JSON=1 -DAIRCRAFT_HASH_BITS=12 -DENABLE_RTLSDR -std=c11 -g -W -D_DEFAULT_SOURCE -Wall -Werror -fno-common -O2 -g -O2 -fdebug-prefix-map=/usr/local/share/adsb-wiki/readsb-install/git=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-format-truncation -I/ -c mode_s.c -o mode_s.o
      cc -Wdate-time -D_FORTIFY_SOURCE=2 -DSC16Q11_TABLE_BITS=8 -DMODES_READSB_VERSION=""wiedehopf git: aa70ba6 (fix calling flushClient after closing the client in modesReadFromClient, Mon Mar 29 13:54:56 2021 0200)"" -D_GNU_SOURCE -DALL_JSON=1 -DAIRCRAFT_HASH_BITS=12 -DENABLE_RTLSDR -std=c11 -g -W -D_DEFAULT_SOURCE -Wall -Werror -fno-common -O2 -g -O2 -fdebug-prefix-map=/usr/local/share/adsb-wiki/readsb-install/git=. -fstack-protector-strong -Wformat -Werror=format-security -Wno-format-truncation -I/ -c comm_b.c -o comm_b.o

      ----CUT MORE OF THE SAME----

      api.c: In function ‘send400’:
      api.c:228:5: error: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Werror=unused-result]
      write(fd, buf, strlen(buf));
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      cc1: all warnings being treated as errors
      make[2]: *** [Makefile:88: api.o] Error 1
      make[2]: *** Waiting for unfinished jobs....
      make[2]: Leaving directory '/usr/local/share/adsb-wiki/readsb-install/git'
      make[1]: *** [debian/rules:39: override_dh_auto_build] Error 2
      make[1]: Leaving directory '/usr/local/share/adsb-wiki/readsb-install/git'
      make: *** [debian/rules:54: build] Error 2
      dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
      Something went wrong building the debian package, exiting!

      Comment


        #4
        That's unfortunate, try again it should be fixed now.

        Comment


          #5
          Originally posted by wiedehopf View Post
          That's unfortunate, try again it should be fixed now.
          Your fork installed nicely that time.

          After a reboot etc, still not getting the range in the graphs module

          Comment


            #6
            Well did you set the location as described here:
            https://github.com/wiedehopf/adsb-sc...ion-for-readsb

            Also as mentioned graphs1090 will need another run of the install script due to the changed data source.

            Comment


              #7
              Originally posted by wiedehopf View Post
              Well did you set the location as described here:
              https://github.com/wiedehopf/adsb-sc...ion-for-readsb

              Also as mentioned graphs1090 will need another run of the install script due to the changed data source.
              I have now!!

              All working perfectly.

              Comment


                #8
                Originally posted by wiedehopf View Post
                Well did you set the location as described here:
                https://github.com/wiedehopf/adsb-sc...ion-for-readsb

                Also as mentioned graphs1090 will need another run of the install script due to the changed data source.
                One more question - I've run the Gain Tweak script from elsewhere. If, using your readsb, I want to change the gain in the config (/etc/default/readsb), is it as simple as amending this line?

                RECEIVER_OPTIONS="--device 0 --device-type rtlsdr --gain -10 --ppm 0"

                So, if I wanted a gain of 33.8 I change it to: --gain -33.8 ???

                Thanks

                Comment


                  #9
                  Yes. And restart the readsb service using systemctl restart

                  Or as you ran my install script, there is also a little helper that does exactly that: https://github.com/wiedehopf/adsb-sc...#changing-gain

                  Comment


                    #10
                    Originally posted by wiedehopf View Post
                    Yes. And restart the readsb service using systemctl restart

                    Or as you ran my install script, there is also a little helper that does exactly that: https://github.com/wiedehopf/adsb-sc...#changing-gain
                    Super - all makes sense. Thanks for all the help.

                    Comment


                      #11
                      Originally posted by peterould View Post
                      So, if I wanted a gain of 33.8 I change it to: --gain -33.8 ???
                      Not 100% sure but you wouldn't put the dashes in front of the gain setting would you?

                      Comment


                        #12
                        Originally posted by markr468 View Post

                        Not 100% sure but you wouldn't put the dashes in front of the gain setting would you?
                        Now I'm using wiedehopf 's automatic gain setting script, no!

                        Comment


                          #13
                          -33 would indeed make no sense.
                          -10 is a special value, see this explanation please:

                          Comment

                          Working...
                          X