Comments (12)
You may need to play with the world map settings to get the right display. It uses the region code provided by the GeoIP2 DB.
Can you tell me which region_code
is being inserted into the influxdb?
We are using the .subdivisions
method for determining location on the map.
https://geoip2.readthedocs.io/en/latest/index.html?highlight=subdivisions#geoip2.records.Subdivisions
from varken.
Region_code "UT" is being inserted.
from varken.
I did a test with a generic IP in the Netherlands and it does seem to only work in the US. I will put some thought into how to expand this to the rest of the world. We will have to change the method in which we use to determine location to accomplish this.
from varken.
I think I figured out a good way to expand this without breaking current functionality.
Can you try this updated tautulli.py
?
You will need to install a new module pip3 install Geohash
Can you report back to let me know if these settings worked for you?
Also change grafana to these settings...
from varken.
Yes! With this config it works like a charm!
Had to install "pip install python-geohash"..
was getting this error:
"Traceback (most recent call last):
File "tautulli.py", line 8, in
import Geohash
File "/usr/local/lib/python3.6/dist-packages/Geohash/init.py", line 21, in
from geohash import decode_exactly, decode, encode
ModuleNotFoundError: No module named 'geohash'"
from varken.
Great. I will add that to the requirements.txt
file. I did notice that the number of clients in the circles seems a bit off. I will do some more tinkering before I push it. Thanks for the speedy testing.
from varken.
I thought about it some more and I think I am going to do it a little bit differently. I am going to use the Lat and Long instead of the geohash. That will remove the dependency.
I have updated the gist to reflect the changes.
from varken.
Hi guys, sorry for jumping into this issue but I do have the same problem where I can't see anything on the map. I'm based in Switzerland. The linked "Gists" are not available anymore as well.
Thanks
from varken.
@xunil75 It has been incorporated into the repo.
https://github.com/DirtyCajunRice/grafana-scripts/blob/nightly/dashboard/panel_row_worldmap.json
from varken.
@samwiseg00 then I must have a problem with the retrieved data from Taututtli since I'm not getting the Field "location". Can you please explain me how to include the panel_row_worldmap.json?
This is how my Dashboard looks like:
from varken.
Edit the panel json and paste in the json from the repo.
from varken.
@samwiseg00 you're the man!!
Thank you!
from varken.
Related Issues (20)
- ..
- Windows version to check on plex server local host HOT 1
- [BUG] Lidarr structure missing keyword argument 'TrackedDownloadState'
- [Feature Request] Emby support HOT 1
- [Question] What is the influx url supposed to be? My hostname is invalid HOT 1
- [BUG] TypeError creating SonarrEpisode structure with Sonarr v3.0.7.1477 ("tvdbId" added) HOT 2
- [BUG] OMBI 2022-03-14 16:54:32 : ERROR : ombi : TypeError has occurred : <lambda>() got an unexpected keyword argument 'is4kRequest' while creating OmbiMovieRequest structure for movie. data attempted is HOT 7
- [BUG] API for Sonarr and Radarr has changed. HOT 3
- [BUG] Radarr struct missing "originalLanguage"
- [Feature Request]Issue counter for overseerr HOT 1
- Security Vulnerabilities HOT 3
- [BUG]error thrown from sonarr queue
- [BUG] docker-compose.yml environment variables do not override ini requirements HOT 5
- [BUG] 404 on Installation Link in README HOT 2
- Wiki/FAQ unavailable HOT 1
- Install Guide is broken[BUG] HOT 2
- grandparent_title to be added to tags
- [BUG] Installation installation link is dead HOT 8
- Is this project dead ? HOT 6
- make it compatible with Sonarr/Radarr V4 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from varken.