Giter VIP home page Giter VIP logo

qnappy's Introduction

QNAPPY
======

qnappy is a Python-based control script for the QNAP line of low-end NAS
products. Before using it, here's a few tidbits:

- It is being developed on a TS-219; if your hardware is different, YMMV
- It may or may not keep my NAS from running hot.  But much like defragging
  and Apple's Time Machine, it juts feels good to use it.

Requirements
============

- A compatible NAS

- A normal Linux variant that provides TTY's and evdev support (not sure if
  the stock firmware is any good for this)

- The [evdev python module][evdev]

- The [serial python module][serial], available on debian and ubuntu as
  python-serial

Usage
=====

To test qnappy, go to the directory where it is stored run it as root:

[user@host qnappy]$ sudo ./qnappy 

You should see output like this:

  $ sudo ./qnappy 

2011-05-24 14:53:49,871 - qnappy.qcontrol.QNAP TS-219 - INFO - Temp: 42 [low] => fan silence
2011-05-24 14:53:49,873 - qnappy.qcontrol.QNAP TS-219 - INFO - Setting status to fan_silence
2011-05-24 15:03:17,301 - qnappy.qcontrol.QNAP TS-219 - INFO - Temp: 45 [med] => fan low
2011-05-24 15:03:17,302 - qnappy.qcontrol.QNAP TS-219 - INFO - Setting status to fan_low

Most of which is a lot of debug crap.

Notes
=====

I don't really know what the optimal temperatures should be for these
devices. I made some wild guesses as to how the fans should spin on which
readings from the PIC.

Also, the evdev code seems to be a bit buggy.  Don't expect this to run
very long if you've got a mouse on the port and you're monkeying around with
it.


Acknowledgements
================

Getting Debian on your QNAP NAS is easy and fun.  A million thanks to
[Martin Michlmayr][cyrius] for his wonderful site:

  http://www.cyrius.com/debian/kirkwood/

Instrumental!

Also, the author of the [original qcontrol program][qcontrol], Byron
Bradley.

[serial]:http://pyserial.sourceforge.net/
[evdev]:http://svn.navi.cx/misc/
[cyrius]:http://www.cyrius.com/debian/kirkwood/
[qcontrol]:http://code.google.com/p/qcontrol/

qnappy's People

Contributors

rubeon avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.