unpoller / unifi

Go Library (w/ structures) to grab data from a Ubitquiti UniFi Controller
https://golift.io/discord
MIT License
114 stars 22 forks source link

fixes data types https://github.com/unpoller/unpoller/issues/575 #81

Closed platinummonkey closed 1 year ago

platinummonkey commented 1 year ago

Looks like the new firmware is starting to return floats instead of ints.

See https://github.com/unpoller/unpoller/issues/575

lslamp commented 1 year ago

@platinummonkey I am very sorry but I am lost with how to fix this issue. Can you please explain what I need to do to fix this data type issue? I am running USG 3P | 4.4.57.5578372 I don't know how to check what unifi-poler I am running.

Thanks Lawrence

platinummonkey commented 1 year ago

depends on how you're running it. but unpoller -v for package based installs, or if you're using the container version, it's encoded in the container tag.

lslamp commented 1 year ago

This is what I have found, but it seems to be developed by someone called Travis.

image

I cannot find this related github repository.

Any advice would be much appreciated.

It seems that this stopped working because of something that has been changed on influxdb.

Lawrence

lslamp commented 1 year ago

After a little digging I found that the wiki is deprecated and moved to a new github.

https://unpoller.com/

Seems as thought I might have to re-install everything..... do you think that would be necessary.

Could I get away with re-installing the unpoller and influxdb. Any advice would be very much appreciated, Lawrence