Does anyone know if the spark smart modem 2 has an API? or what the brand and make of the modem is before spark rebrands it?
I would love to extract some useful info from the modem and use it in my home assistant instance.
![]() ![]() ![]() |
API no, but there's a homeassistant integration suitable (upnp/IGP)
Cheers N
Please note all comments are from my own brain and don't necessarily represent the position or opinions of my employer, previous employers, colleagues, friends or pets.
Talkiet:
API no, but there's a homeassistant integration suitable (upnp/IGP)
Cheers N
Awesome, thank you - I note the bytes received are not accurate so I will use the packets to try and keep track of data used.
At first I thought its a daily reset but it happens at different times of the day
32 bit counter.
Spark Max Fibre using Mikrotik CCR1009-8G-1S-1S+, CRS125-24G-1S, Unifi UAP, U6-Pro, UAP-AC-M-Pro, Apple TV 4K (2022), Apple TV 4K (2017), iPad Air 1st gen, iPad Air 4th gen, iPhone 13, SkyNZ3151 (the white box). If it doesn't move then it's data cabled.
Yeah I was about to say that looks very much like a suspicious number in the area of 4.3 billion :-)
Cheers - N
Please note all comments are from my own brain and don't necessarily represent the position or opinions of my employer, previous employers, colleagues, friends or pets.
Talkiet:
Yeah I was about to say that looks very much like a suspicious number in the area of 4.3 billion :-)
Cheers - N
Just a little...haha
Ok, so got it all working nicely - but now I am wondering, do you know if this stat gets reset at the start of each month by the modem or would I need to reset it manually?
I have a TB plan so tracking my usage against that
![]() ![]() ![]() |