Edimaxd – a daemon that collects data from your Edimax device and writes it to an RRD file

This is my first attempt at a daemon to collect data from the SP-2101W and write a rrd file from it. It’s in C source and is tested to compile on Ubuntu and Fedora.

Warning: the daemon will query your device once per second, which makes the device become unresponsive after 2 days. I assume the web server fills up the log file system which causes something to crash. Use with caution, or change the default query interval to something like 5 minutes.

 

3 thoughts on “Edimaxd – a daemon that collects data from your Edimax device and writes it to an RRD file

  1. Tony Pugliese

    I am not able to compile Edimaxd on Ubuntu 14.3. I get several undefined reference errors from function: initcurl , process , exitcurl, parseCallback, initrrd and updaterrd. Any suggestions.

    The code I compiled for finding the sp-2101w smart plugs works perfectly…
    Thanks,

    Reply
    1. gbl Post author

      Sounds like you aren’t linking with all neccesary libraries?

      cc -o edimaxd edimaxd.c -lrrd -lcurl -lxml2 -lexpat

      works for me. Of course, the devel packages of these libraries need to be installed.

      Reply
  2. Tony Pugliese

    Thank you,
    with cc -o edimaxd edimaxd.c -lrrd -lcurl -lxml2 -lexpat
    I compiled successfully

    Reply

Leave a Reply to gbl Cancel reply

Your email address will not be published. Required fields are marked *