EKM Pull Perl Script

Forum is open to all questions, answers, and discussions related to electric meters, ours or others.
Post Reply
riv
Posts: 29
Joined: Mon Apr 15, 2013 3:55 am

EKM Pull Perl Script

Post 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 954 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
----
V. Rublyov
Jameson
Posts: 860
Joined: Fri Nov 04, 2011 7:42 pm
Location: Santa Cruz, CA
Contact:

Re: EKM Pull Perl Script

Post 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 25007 times
Again, thanks for posting, we really appreciate and encourage this kind of sharing.
Jameson
EKM METERING
http://www.ekmmetering.com
831.425.7371
riv
Posts: 29
Joined: Mon Apr 15, 2013 3:55 am

Re: EKM Pull Perl Script

Post 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.
----
V. Rublyov
Post Reply