Sennevds / system_sensors

Logging of system sensor specific for the RPI and sending them to a MQTT broker
MIT License
367 stars 113 forks source link

Feature Request curl ipinfo.io result option #128

Open Ian-Zz opened 2 years ago

Ian-Zz commented 2 years ago

Loving this software and thanks for all your works. No bug today. Just a request... dream. I often run this command into my Pi's and other stuff to see the resulting geolocation data. That also helps me know for sure if my VPN is working... or not.

I would love to be able to get those lines of data via mqtt into HA. Particularly the city region and county.

pi@Pi-95:~ $ curl ipinfo.io { "ip": "104.254.90.58", "city": "Toronto", "region": "Ontario", "country": "CA", "loc": "43.6949,-79.5323", "org": "AS32489 Amanah Tech Inc.", "postal": "M9P", "timezone": "America/Toronto", "readme": "https://ipinfo.io/missingauth"