Page 1 of 1

Plugin: SabNZBD

Posted: Wednesday 17 May 2017 14:39
by mastair
sabnzbd2.PNG
sabnzbd2.PNG (15.81 KiB) Viewed 1383 times
sabnzbd.png
sabnzbd.png (32.13 KiB) Viewed 1383 times
Created another very small plugin for SabNZBD.

What you get:
  • Sensor with pause state (you can control SabNZBD with that as well)
  • Sensor with download speed MB/s
  • Sensor with time left to finish downloading
  • Sensor with data left to download
Prerequisites:
  • SabNZBD, really!?
  • urllib package (pip install urllib if you ain't have it)
Installation and configuration:
  • Put complete folder from zip in plugins folder
  • Add SabNZBD hardware device with the right configuration
Furthermore:
  • If for any reason people are actually interested in this, I will probably make the code a bit nicer (probably some bugs in there). Leave some feedback or feature requests if you'd like.
sabnzbd.png
sabnzbd.png (32.13 KiB) Viewed 1383 times

Re: Plugin: SabNZBD

Posted: Tuesday 30 May 2017 0:31
by Martijn85
Realy nice script, Thanks for sharing!

Re: Plugin: SabNZBD

Posted: Tuesday 30 May 2017 23:29
by remb0
nice!
I only use nzbget because of the lighter footprint :P

Re: Plugin: SabNZBD

Posted: Tuesday 20 February 2018 19:49
by Innovator
Thanks for this script. It is now running on latest domoticz beta version 8924 / Synology DS412+
Unfortunately I have 2 errors in Domoticz loggging.

(SabNZBD) 'onHeartbeat' failed 'KeyError'
(SabNZBD) ----> Line 60 in /usr/local/domoticz/var/plugins/SabNZBD/plugin.py, function onHeartbeat

I don't have any idea...
:(