-
Notifications
You must be signed in to change notification settings - Fork 5
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
Customize for SB8200 #4
Comments
I was able to customize handler.py to get most of the SB8200 stats. Its not perfect. For some reason, it only returns 1 upstream channel. Also the SB8200 web page is slower to load so you do get broken pipes in between lookups when it tries to read the page too fast. Here is the updated code, but again its not perfect.
output from port 9393 webserver |
Hey @cypherstream ! Funny story, I just upgraded my SB6184 to an SB8200 and said "oh, I need to dust the project off and fix it so it works with the SB8200". Come to find you've done the work already! If you're familiar with making a pull request (and want the dubious honor of being listed as a committer on the page) feel free to put a pull request in to update to SB8200; otherwise I'll update the repo in a few days with your updated code and credit. |
Cool, yeah I tried to do pull request but its greyed out. I have to read more about it. I've never "officially" contributed to a project on github before outside of maybe a discussion. I can tell you that my grafana instance is plotting all of the data polled from this, along with other aspects from my pfsense install and UniFi gear. Here's an example of my Cable Modem dashboard which is using the data from this project. You can correlate signal fluctuations with outside temperature as it affects signal attenuation. |
The URL for the SB8200 is http://192.168.100.1/cmconnectionstatus.html
I edited this in the handler.py and reinstalled it (pip3 install py_arris_exporter) and when I run it I get this about broken pipes. Can you help?
EBUG:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.100.1:80
DEBUG:urllib3.connectionpool:http://192.168.100.1:80 "GET /cmconnectionstatus.html HTTP/1.1" 200 None
DEBUG:dogpile.cache.region:Cache value generated in 17.178 seconds for key(s): 'py_arris_exporter.handler:process|'
DEBUG:dogpile.lock:Released creation lock
127.0.0.1 - - [28/Sep/2020 13:58:28] "GET / HTTP/1.1" 200 -
ERROR:main:Exception when trying to write to socket: [Errno 32] Broken pipe
127.0.0.1 - - [28/Sep/2020 13:58:28] "GET / HTTP/1.1" 200 -
DEBUG:dogpile.lock:value creation lock <dogpile.cache.region.CacheRegion._LockWrapper object at 0x7fb2b0b53130> acquired
DEBUG:dogpile.lock:Calling creation function for previously expired value
DEBUG:urllib3.connectionpool:Starting new HTTP connection (1): 192.168.100.1:80
DEBUG:urllib3.connectionpool:http://192.168.100.1:80 "GET /cmconnectionstatus.html HTTP/1.1" 200 None
DEBUG:dogpile.cache.region:Cache value generated in 16.948 seconds for key(s): 'py_arris_exporter.handler:process|'
DEBUG:dogpile.lock:Released creation lock
127.0.0.1 - - [28/Sep/2020 13:58:58] "GET / HTTP/1.1" 200 -
ERROR:main:Exception when trying to write to socket: [Errno 32] Broken pipe
127.0.0.1 - - [28/Sep/2020 13:58:58] "GET / HTTP/1.1" 200 -
The text was updated successfully, but these errors were encountered: