Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PHAL plugin - IPGeo

This plugin sets the default location for OpenVoiceOS based on the IP address of the device. It queries ip-api.com and stores the result in the local configuration.

The plugin does not overwrite a location that a user or a backend already set. It only fills in the location if the value is missing.

The City, regionName, and country fields are localized to the active language when possible. Supported languages are en, de, es, pt, fr, ja, zh, and ru.

Install

pip install ovos-phal-plugin-ipgeo

Usage

OVOS loads this plugin through the PHAL plugin manager. No manual setup is required.

The plugin geolocates the device on these bus messages:

  • mycroft.internet.connected: sent when the device gets an internet connection.
  • ovos.ipgeo.update: sent to request a location update. Send overwrite: true in the message data to replace an existing location.

License

Apache-2.0

Metadata

Release files for ovos-phal-plugin-ipgeo 0.1.9a4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ovos-phal-plugin-ipgeo 0.1.9a4
File Size Uploaded
ovos_phal_plugin_ipgeo-0.1.9a4.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ovos-phal-plugin-ipgeo 0.1.9a4
File Interpreter ABI Platform
ovos_phal_plugin_ipgeo-0.1.9a4-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 kB

Release files / ovos_phal_plugin_ipgeo-0.1.9a4.tar.gz

Download URL ovos_phal_plugin_ipgeo-0.1.9a4.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
22e665f9aa145f4b35a0b14706d190f60130542a2b2add1b51eab41e72620db3
BLAKE2b-256 checksum
How to use checksums
a0a23bcb54e1da9af48163266004fffefb5951c1e9074be2c0649d7f43333e76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / ovos_phal_plugin_ipgeo-0.1.9a4-py3-none-any.whl

Download URL ovos_phal_plugin_ipgeo-0.1.9a4-py3-none-any.whl
Size 8.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
735e1b4ac05adb27e064bb6e7e38aad9ee579bd3095ff36c9ac2e4ee1ae3cb26
BLAKE2b-256 checksum
How to use checksums
fbd03deaa6e4d634fd89a106c41a14aca2113558a6dccd77755a268dc37c775d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page