ruuvi / ruuvitag_fw

RuuviTag firmware projects
121 stars 76 forks source link

V1-backports RuuviFW 1.2.5: URL Beacon ID is NAN on ruu.vi site #93

Closed ojousima closed 6 years ago

ojousima commented 6 years ago

This is caused by addition of "/" to ruu.vi URL, which bumps the ID char away. the "/" is required for some browsers.

Possible solutions:

@laurijamsa

Scrin commented 6 years ago

Another possible solution is to remove the # from the url to save one character, though doing this will actually send the measurement to the server too as part of the request (the fragment identifier is not sent by the browser), and thus the page cannot be cached for changing measurements.

DG12 commented 6 years ago

@Scrin I previously proposed a complete solution which handles the removal of the fragment identifier at weather-station-serverside