Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update SNMP location usage (coordinates) #9

Merged
merged 1 commit into from
Jan 2, 2022

Conversation

T0biii
Copy link
Member

@T0biii T0biii commented Jan 2, 2022

add option to uses coordinates directly

Some example strings that will work include:

41.5;-81.0
41.5,-81.0
41.5 -81.0
41.5 N -81.0 W
-41.5 S;81.0 E
23 26m 22s N 23 27m 30s E
23 26' 22" N 23 27' 30" E
UT: N 39°20' 0'' / W 74°35' 0''
Accesspoints(accesspoints=[Accesspoint(name='AP-Innenhof', mac='24:5a:4c:2c:2f:5a', snmp_location='48.19716559202241, 11.464076615390965', client_count=3, client_count24=1, client_count5=2, latitude=48.19716559202241, longitude=11.464076615390965, model='U7MSH', firmware='5.43.56.12784', uptime=308903, contact='chat @t0biii', load_avg=0.19, mem_used=85151744, mem_total=128557056, mem_buffer=0), Accesspoint(name='AP-StraßenSeite', mac='78:45:58:70:5e:50', snmp_location='Am Münchfeld 21, 80999 München', client_count=0, client_count24=0, client_count5=0, latitude=48.1971569, longitude=11.4640212, model='U7MSH', firmware='5.43.56.12784', uptime=1377258, contact='chat @t0biii', load_avg=0.09, mem_used=85700608, mem_total=128557056, mem_buffer=0)])

Copy link
Member

@awlx awlx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@awlx awlx merged commit 5a515f6 into freifunkMUC:main Jan 2, 2022
@T0biii T0biii deleted the update-koordinatencheck branch January 2, 2022 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants