Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pwnagotchi/defaults.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ main.plugins.net-pos.api_key = "test"

main.plugins.gps.enabled = false
main.plugins.gps.speed = 19200
main.plugins.gps.device = "/dev/ttyUSB0"
main.plugins.gps.device = "/dev/ttyUSB0" # for GPSD: "localhost:2947"

main.plugins.webgpsmap.enabled = false

Expand Down
2 changes: 1 addition & 1 deletion pwnagotchi/plugins/default/gps.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def on_loaded(self):
logging.info(f"gps plugin loaded for {self.options['device']}")

def on_ready(self, agent):
if os.path.exists(self.options["device"]):
if os.path.exists(self.options["device"]) or ":" in self.options["device"]:
logging.info(
f"enabling bettercap's gps module for {self.options['device']}"
)
Expand Down