Fakegps - Mraanderson/HBG3 GitHub Wiki

A manual setting for GPS can be stored using a console/Telnet connection

fakegps 50.012345 -2.012345

The format is Degrees Decimal and they can be obtained from https://www.findlatitudeandlongitude.com/l/mhs/3922079/

To use Fake GPS, first determine your GPS coordinates in degrees only. Eg. N45.35165 W76.04777 Ditch the N,W,S,E prefixes, replacing W and S with a minus sign: 45.35165 -76.04777 Google Maps and smartphones are among the ways to determine those coordinates.

If an Internet connection is established then the time will be obtained from an NTP server.

If no Time or Location is stored then the OLED will not display the GPS screen.

https://www.cloudynights.com/topic/854327-homebrew-gen3-pcb-wifibtgpsmusbrelay/page-42#entry13139022

If no GPS hardware is present then a "Fake GPS" or static set of location coordinates can be set.

From a terminal connection to the HBG3 use the setting:

fakegps xx.xxxxxx xx.xxxxxx

get all will then show the set variables.

I used set gps.location.lat and gps.location.lng individually but didn't see gps.location.force change so tried to populate it thinking the coordinates would be volatile. As the 'force' variable name changed since I first set it threw me.

Fakegps 50.000000 -2.000000 changes to N 49.99998 W 2.99998

Get all shows a dd.dddddd setting but the OLED shows dd.ddddd (less a digit, and different value).

Should the format be DD or DMS? https://www.gps-coordinates.net/