Recent content by mgandalf

  1. M

    Brultech ECM-1240 Software Development

    I've updated my brultech.pl script to 0.85. Fixes include: - Fixed large value calculated by client if it was started right after the server. - Added timeout on read of 5 second after which the connection will be reset. - Detect counter reset and react accordingly...
  2. M

    Brultech ECM-1240 Software Development

    I'll add support for wrapping counters in my next version of brultech.pl. - Mark.
  3. M

    Brultech ECM-1240 Software Development

    No, the only command I send is to clear counters. Of course, I could be completely mistaken on what that command does, but I don't think so. BTW, I just uploaded v0.84. I'm finding it challenging keeping up with a 1 second interval and making rrdtool happy at the same time. I believe I have it...
  4. M

    Brultech ECM-1240 Software Development

    I've uploaded an archive containing empty rrd files in that same directory which will give you a start. Keep in mind their interval is 1 second.
  5. M

    Brultech ECM-1240 Software Development

    I used Cacti to create mine. I simply setup all the data templates/sources/inputs for each rrd. I set the input to "Script/Command" and used something like "cat /var/spool/cacti/brultech_aux1watts.out" and added the parameter/value pair to each file by hand like "Aux1_Watts:0" for the above...
  6. M

    Brultech ECM-1240 Software Development

    I handle this by unit number - I'm not sure if that's the correct way. That could be easily changed to use the address field through. Running in server mode, the main process listens for new connections and will fork off a new process for each one. Keep in mind, I only have one unit, so this has...
  7. M

    Brultech ECM-1240 Software Development

    I have put together a perl script which listens to an EtherBee device connected to an ECM-1240. The script works in two modes, server and client. Server: Listens for EtherBee connections, decodes ECM-1240 packets and writes them to a shared memory segment. Client: Reads the shared memory...
Back
Top