1. 30 May, 2019 1 commit
  2. 29 Mar, 2019 1 commit
    • Eric - kg6wxc's avatar
      New Polling script! It will better catch all sysinfo.json values. · 5bf83196
      Eric - kg6wxc authored
      It will also be easier to add more values later.
      The new script does not yet find the LAN IP Address, with all the new devices there are several interfaces that could be the LAN interface.
      LAN IP info isn't really needed for mapping anyways.
      Added new stable firmware to the default user-settings.ini file, please update your file.
      Added a new setting in the ini file "errorsInCron" that will have the script send errors when it is running from cron.
      The system running the map script will have to have a local MTA (at least) setup, the messages will be received in the local mail of the user the script is running as (this is default behavior for cron).
      Fixes #19
      Fixes #12 (hopefully)
      Fixes #10 (hopefully)
  3. 09 Mar, 2019 1 commit
  4. 02 Feb, 2019 1 commit
  5. 26 Jan, 2019 1 commit
    • Eric - kg6wxc's avatar
      Changes to catch user created json file infomation · 0efa8188
      Eric - kg6wxc authored
      (looking at you N2MH :) )
      This will probably not work in all situations, but it should work in most.
      At the very least, it'll give the DB some info to work with.
      There were missing IP/MAC addresses before and links could not be built for those devices.
  6. 28 Dec, 2018 1 commit
    • Eric - kg6wxc's avatar
      bugfix: restore links for node when RF gets turned off · 058a3e7b
      Eric - kg6wxc authored
      When RF was turned off there was no longer a wlan_ip to go off to build the links.
      There is actually still a psuedo IP, the mapping script just wasn't looking for it.
      Now it will find this IP if it detects "meshrf = off" in the json file.
  7. 01 Dec, 2018 1 commit
  8. 30 Sep, 2018 1 commit
  9. 29 Sep, 2018 2 commits
  10. 27 Sep, 2018 1 commit
  11. 23 Sep, 2018 1 commit
  12. 20 Sep, 2018 1 commit
  13. 23 Jul, 2018 1 commit
    • Eric - kg6wxc's avatar
      Bugfixes/Changes · bd572f6c
      Eric - kg6wxc authored
      Removed an errant "echo" that would cause output in "silent" mode.
      When the polling script parsed through the interfaces looking for the
      wlan MAC address and ip (and the LAN ip) it always had issues with the
      different versions of the json file on different firmwares.
      I think this has finally been solved.
      The polling script should pull the proper info from even a node
      now and if those nodes have location info they should now appear on the
      map too.
      The admins of those devices should be strongly reminded to update!!
      I mistakenly removed the red and green dot from the status area of the
      admin page. They are restored now.
      Parallel node polling will work now, but it is not recommended on large
      networks, as there is still no control over how many scripts are
      spawned. Small networks of should be just fine.
      (this has been tested many times on a network of 20-30 (sometimes 100's)
      with no issues)
      Use at your own risk though.
      New warnings in "Test Mode" to alert when a nodes location has been
      "fixed" or not. It's very noticable now.
      Some general clean up/typo fixing and removal of things that were long
      due for removal.
      fixed some file attributes.
      Added some things to be used in the near future but are not done yet.
  14. 21 Jul, 2018 1 commit
    • Eric - kg6wxc's avatar
      BugFixs/Enhancements/Additions · 6e0fb623
      Eric - kg6wxc authored
      Can change the non mesh markers info without having to recreate now.
      The polling script can now find the info for some nodes that it could
      not before, such as firmware, this was a pleasant side effect
      of trying to remove some of the bunk entries i nthe database.
      The polling script will now also try to check and "fix" the database,
      this is due to changes in the newer AREDN firmwares (anything beyond
      Some of those changes were made by me, just for the map. :)
      These DB "fixes" also include removing some columns that were no longer
      and were making the DB much larger than it needs to be, this will also
      help cut down on the memory footprint when loading the webpage.
      The numbers at the bottom of the map reflecting nodes and link, should
      be more accurate now (I hope).
      The Map legend has been change to use pure HTML5/CSS, the only images
      are the small circle icons, this may cause issues with very old
      Removed some files that were no longer needed or forgetten about.
  15. 17 Jun, 2018 1 commit
    • Eric - kg6wxc's avatar
      BugFix get-map-info wxc_functions · e8947ee9
      Eric - kg6wxc authored
      Fixed the "ignored nodes" check. Nodes and devices that get ignored due
      to 404/no route to host/connection refused errors, will now be properly,
      and temporarily skipped over by the polling script.
  16. 24 May, 2018 2 commits
    • Eric - kg6wxc's avatar
      Bugfix get-map-info.php · 47b93eea
      Eric - kg6wxc authored
      (I knew I would miss something!!)
      Missed removing a deleted column from the sql query.
      Also changed some comments on a function in wxc_function file.
    • Eric - kg6wxc's avatar
      Bugfix/Update/Enhancement Admin pages · bfbf4570
      Eric - kg6wxc authored
      Finally finished a rough version of some admin pages that allow for
      maintenance of the DB, fixing node locations, removing nodes, etc...
      Username/Password is required to use the admin pages.
      You must create an intial user/password.
      When you first load the admin page it will ask you to create an initial
      This initial user is a "super user" and will be able to create other
      (more info is on the admin pages themselves)
      Fixed a stupid mistake in export2csv.php.
      Rearranged the columns in the node_info datebase which make the data
      more readable when exported as CSV file.
      Removed old DB columns that were now unused.
      Changed the *.css-default file(s) to *-default.css so that IE will use
      them without complaints.
      More than a few other little changes here and there...
  17. 04 May, 2018 2 commits
    • Eric - kg6wxc's avatar
      Bug Fix: get-map-info.php, map-display.php · c32015e7
      Eric - kg6wxc authored
      Due to commit before this I also noticed non-nodes were being put into
      the database.
      There were over a 100 in my database alone.
      These are most likely non-node devices and will never be able to be
      Initially, I opted for a "save and recheck" style of polling, in the
      hopes that something was just missed and it would get picked up later.
      This is not the case and over time I think can see what is happening.
      added a check in get-map-info.php to try and skip these devices if we
      reach one, and due to that change, the numbers of shown and not show
      node and links at the bottom right of the map is more accuate now (I
    • Eric - kg6wxc's avatar
      Bug fix: get-map-info.php · 8837d7fd
      Eric - kg6wxc authored
      Some nodes returned a blank lat,lon and grid_square differently than
      others that were also blank.
      This was causing issues when writing to the SQL database.
      get-map-info would throw this error when it would happen:
      "Could not send to SQL. Incorrect double value: '' for column 'lat' at
      row 1"
      Any blank lat || lon now get converted to a single "0".
      Any blank grid_square now gets converted to a NULL.
  18. 02 May, 2018 2 commits
    • Eric - kg6wxc's avatar
      whoops missed a quote in the right spot... · 58f8be72
      Eric - kg6wxc authored
    • Eric - kg6wxc's avatar
      Changed to use default ini and other user editable files. · 8fbe3dfe
      Eric - kg6wxc authored
      There is no longer a user-files.tar.gz file!
      The user must remove the "-default" from the file extension, save the
      file and then make their own changes. I have seen many other programs
      use this and it seems to make sense.
      The README has been updated to reflect this change.
      Other ideas are appreciated still! :)
      With the exception of user-settings.ini, the code will check for the
      existance of the non "-default" files and use those instead of the
      default ones.
      Also if the user does not create a user-settings.ini file of their own
      an error will be thrown telling them such.
      Fixed the Popup for "total number of link" in the attributon bar.
      Some new values were added to the meshmap.css file in order to make it
      easier for the user to make customizations to the page if they want.
      More of these will probably be added in the future.
  19. 20 Apr, 2018 2 commits
  20. 16 Apr, 2018 1 commit
    • Eric - kg6wxc's avatar
      get-map-info, map_display and map_functions updated. · 058c1f19
      Eric - kg6wxc authored
      Added "ini_set('memory_limit', '128M') to get-map-info and map_display.
      If you have a large network, you may need to increase the amount of
      memory needed. 128M should be more than enough in most cases, unless you
      have a "Mega Mesh" like N2MH does. :)
      Added "last_seen" info to the station popups (map_functions.inc)
      Also added (hopefully) a catch in get-map-info to find a "stalled" node
      polling run.
      Sometimes the node polling portion of the script never completes and it
      never gets a chance to unset the "currently_running" bit in the
      There is now a check so that if the "currently_running" bit is 1 and the
      time the script last polled the node is greater than 3 * the
      "node_polling_interval" (from the ini file), then the script will just
      go out and poll the nodes as normal.
      If it completes, it will unset the "currently_running" bit and will
      update the timestamp.
      These changes have all been suggested by N2MH. Thanks Mark! I finally
      got to it!
  21. 14 Apr, 2018 9 commits
  22. 07 Apr, 2018 5 commits
  23. 05 Apr, 2018 1 commit