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. Sendoverwrite: truein the message data to replace an existing location.
Related projects
- OpenVoiceOS/PHAL: the plugin host that loads this plugin.
- OpenVoiceOS/ovos-PHAL-plugin-gpsd: sets the device location from a GPS receiver.
- OpenVoiceOS/ovos-PHAL-plugin-connectivity-events: reports network connectivity changes on the bus.
License
Apache-2.0
Metadata
Release files for ovos-phal-plugin-ipgeo 0.1.9a5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ovos_phal_plugin_ipgeo-0.1.9a5.tar.gz | 7.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ovos_phal_plugin_ipgeo-0.1.9a5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.3 kB
Release files / ovos_phal_plugin_ipgeo-0.1.9a5.tar.gz
| Download URL | ovos_phal_plugin_ipgeo-0.1.9a5.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0f9483857856fb3a25fa1eb08c8df20ae84c76c50dbdb98379ee0fb37741a63b
|
|
BLAKE2b-256 checksum How to use checksums |
79f826b03d93f97ed5ba3490a3da980c1d1c91c3a950e45e74d88370844b0529
|
| 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.9a5-py3-none-any.whl
| Download URL | ovos_phal_plugin_ipgeo-0.1.9a5-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e91f66f2a89c841fa73527fb1a58e41b6fef555193601f1bfa83db6a6f99f9e
|
|
BLAKE2b-256 checksum How to use checksums |
79b80390f51a24e91688e1104ae5906549ee0fc7a83e23d22119eb7e831fa9c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|