Search found 7 matches

by aquarat
Fri Feb 01, 2013 9:25 am
Forum: Developers Sandbox - Meter Data
Topic: iSerial emulation
Replies: 0
Views: 24562

iSerial emulation

Hi If you happen to have an EKM meter attached to a remote Linux machine via a serial port and you'd like to configure the meter using EKM Dash, you can use the following command to share the serial port as if it were attached to an iSerial : socat TCP-LISTEN:50000,fork /dev/ttyUSB0,raw,b9600,csize=...
by aquarat
Tue Jan 08, 2013 2:34 pm
Forum: Developers Sandbox - Meter Data
Topic: Very odd readings
Replies: 3
Views: 4362

Re: Very odd readings

I've just tried reading meter data using EKM Dash and it's refusing to read anything other than the "General" and "Advanced" tabs (it complains when I click on rates and Data). The brown-out scenario makes sense; a complete power cut would have caused the 3G router to have rebooted... but a low volt...
by aquarat
Tue Jan 08, 2013 11:35 am
Forum: Developers Sandbox - Meter Data
Topic: Very odd readings
Replies: 3
Views: 4362

Very odd readings

Hi One of my EKM Omnimeters (V3) is behaving very strangely. It sits in a box at a client's premises. My application reads values from it at intervals of 2 minutes. On the 5th of January the network connection went down and it didn't come back up until today, the 8th when I logged into the router lo...
by aquarat
Fri Jan 04, 2013 2:47 pm
Forum: Developers Sandbox - Meter Data
Topic: CRC16 help
Replies: 8
Views: 12735

Re: CRC16 help

Hi Ianf I managed to get it working (with code that I've quoted below). I just roughly translated EKM's C code. I thought I had gotten the translation wrong, but in actual fact I was passing 1 byte too many to the method (which is what you suggested in your post). Thanks for trying to help me. It's ...
by aquarat
Thu Sep 27, 2012 6:31 am
Forum: Developers Sandbox - Meter Data
Topic: CRC16 help
Replies: 8
Views: 12735

Re: CRC16 help

Hey Jameson I've finished installing one of your company's meters in one of our tenant's premises... I'll upload some photos at some point. Getting a cellphone signal was a mission, but it's all working now. It's quite cool being able to see voltage differences between home and the first field meter...
by aquarat
Tue Sep 25, 2012 1:44 am
Forum: Developers Sandbox - Meter Data
Topic: CRC16 help
Replies: 8
Views: 12735

Re: CRC16 help

Hey Jameson I must admit I don't understand the issues associated with 7-bit serial, I'll try and research it a bit more today. I've written an application which loads an array of meters from a config file and then communicates with them over VPNs attached to EKM iSerials at certain intervals... I'm...
by aquarat
Mon Sep 24, 2012 3:17 pm
Forum: Developers Sandbox - Meter Data
Topic: CRC16 help
Replies: 8
Views: 12735

CRC16 help

Hi I'm trying to get the CRC16 algorithm going in Java... but I must admit bitwise operations aren't my strong point. This is what I've done with the EKM-provided CRC16 C-code (an attempt to translate it to Java) : public void tryMe(byte[] responseFromDevice) { byte[] c = new byte[2]; c[0] = a[253];...