Page 1 of 1

EKM Pull Perl Script

Posted: Mon Jan 29, 2018 3:56 am
by riv
ekm-1.02a.zip
Ver. 1.02a of EKM pull script, DB schema creation script and sample of configuration
(18.53 KiB) Downloaded 956 times
In case if anyone else need locally handling of the meters and value storage in the local PostgreSQL database.
Please publish back if you decide to enhance this script.

Thanks

Re: EKM Pull Perl Script

Posted: Mon Jan 29, 2018 11:30 am
by Jameson
This is VERY cool, thank you so much for posting.

Im seeing the ability to read an Omnimeter Pulse v.4, make meter settings, clear resettable values, generate reports, etc. This is sweet!

I am not a coder, so I cant tell, but does this allow you to read your meter via USB Converter or EKM iSerial?

Just out of curiosity what hardware are you running this on?

Screenshot of some of the code:
Screenshot 2018-01-29 19.27.18.png
Screenshot 2018-01-29 19.27.18.png (181.89 KiB) Viewed 25039 times
Again, thanks for posting, we really appreciate and encourage this kind of sharing.

Re: EKM Pull Perl Script

Posted: Mon Jan 29, 2018 11:38 pm
by riv
It was designed for EKM iSerial, but easily can be converted USB Converter if needed. Just make the change for the $socket configuration to the serial port.

We are running this script on variety of Linuxes - CentOS on x86/x64 platforms, home run I have on EdgeRouter PRO ERPro-8 (http://ubnt.com/) and during development - on Windows PC with Cygwin or Padre IDE (with perl) installed.