Home Forum Software Update Lat/Lon From Front-End

This topic contains 16 replies, has 4 voices, and was last updated by  Radu 3 years, 1 month ago.

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #2459

    RobHeffo
    Participant

    Hi Radhoo,

    Could you add the ability to link a user’s login credentials with any uRadMonitor units they may own for the purpose of updating the LAT/LON of the unit via the front-end.

    I am moving house soon so will need to update the coordinates of my unit.

    Thanks!
    RobHeffo

    #2460

    Radu
    Keymaster

    Intriguing coincidence, I was just thinking about the best way to add this feature!

    #2474

    RobHeffo
    Participant

    As an extra idea… perhaps allow this in future firmware..

    Allow configuration of the LAN/LON on the uRadMonitor itself and return it to the network as part of the update… also add the ability for the uRadMonitor to poll a GPSD service running on the LAN to automatically update the LAT/LON.

    #3098

    Mads Barnkob
    Moderator

    Is there a dead detector time-out? So if a detector has been offline for a certain amount of time, it is no longer showed on the map with a black X.

    Maybe a setup mode on the detector itself, like the KIT1 that has a screen and button, there could be a function to reset the automatic location setting based on ISP so that it was easy to reset when the detector have been moved.

    For the KIT1 detector I would like to be able to move it around between different places and have it run there for X amount of days/weeks/months.

    Just ideas 🙂

    #3272

    Radu
    Keymaster

    Some very good ideas. The units can be flagged as mobile, for instance the A3 is a fixed unit, yet the first 10 units installed on buses in Cluj Napoca function as mobile units. The busses also provide real time GPS coordinates via separate HTTP Posts. So this would be possible for the KIT1 as well.
    Also I’m working on a new frontend, that will show mobile units separately. There there is also a switch to toggle offline units off.
    Finally, we’ll slowly move to dynamic IDs, and that implies the need for an expiration time before an unused ID can be re-assigned, taking the unused stations off the map automatically.
    Lots of lines of code for all this, but getting there.

    #3330

    Radu
    Keymaster

    Dynamic IDs are already in place. The dashboard is being shaped as we speak, and we’ll have it functional today (not all the features, but setting the coordinates and adding units to the user’s account, later to be used for email notifications: alerts, offline status, etc).

    #3346

    Radu
    Keymaster

    The backend core functionality for the dashboard unit location configuration is in place.

    This functionality is achieved via a similar RESTful API like for the frontend, but in this case, these is an authorisation mechanism in place (so only the owner of a given unit can edit it’s location and details).

    The next few days, testing should be complete, and we’ll have this up and running in the dashboard section on http://www.uradmonitor.com/dashboard

    #3398

    I’m not sure where to report this, but the Dashboard editing is not working in Mozilla Firefox (48.0.1) and IE11.
    In Chrome I can edit the fields but after I press the ‘Save’ button and refresh the page (F5) the values are still unchanged.

    #3399

    Mads Barnkob
    Moderator

    Firefox 47.0.1:

    I can not edit any fields, I could only add my two monitors and pressing save just shows a red line through altitude field, monitors does however remain in my “control” after reload of page, so something is saved 🙂

    #3411

    In Chrome I can edit the fields, but there’s a rounding that takes place (see video).

    #3427

    Radu
    Keymaster

    Thanks for the feedback!

    The fields are implemented using contenteditable. Here’s the situation for Firefox: https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Editable_content
    I’ll check if it is possible to use an alternative, like having a standard input field. I’ll also look into the rounding issue, thanks for the video, nox!

    #3429

    Radu
    Keymaster

    Nox, the rounding has been fixed as well! Please confirm it works ok.

    #3430

    Mads Barnkob
    Moderator

    Can confirm it works in Google Chrome Version 52.0.2743.116 m

    #3431

    Radu
    Keymaster

    Perfect. Now it should also work in Firefox and any other browsers, as the previous contenteditable divs where changed to standard input fields.

    #3432

    Radu
    Keymaster

    Units running firmware v110 or older experienced a bug when trying to configure them via the dashboard: the interface would report that no current units are found, despite having the uRADMonitors properly connected in the same network.

    This problem is now fixed, so you all should be able to see your units in the dashboard https://www.uradmonitor.com/dashboard

Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.