Skip to content

simonccc/btsmarthub-utils

Repository files navigation

btsmarthub-utils

  • scrape the logs displayed in the normal gui and tail -f them in the console or send to syslog

  • poll the internet usage for devices connected and send the metrics to graphite

  • other random stuff

setup

copy example-config.py to config.py and edit it

'hub' is the smarthub name eg smarthub.home or IP address
'logger' syslog server name/IP:port
'colors' to change or disable colors in the tail like output
'cookies' urn is a random string used in requests
'graphite' graphite server and prefix for the smarthub data ( only tested on port 2003 )