can't get Flukso to work with smart meter and correct values with 2 x 50a clamps

My config
Flukso connected
Port 1 Clamp 50a brown wire only aprox 40cm from fusebox, via dash visable only wrong numbers
Port 2 Clamp 50a brown wire nesar fuse aprox 3 cm, now also visable on graph but also not correct values
Port 6, smart meter via rj11, seen on site electricity and gas but not within graph. Get error about network....

Cable received for fluso was defective 1 outside wire did not work I beleave it was yellow. Found it out via a multimeter resistancetest.
Created with a telephone wire a new one.

I tried several firmware versions, its now on 223 I can not see releasenotes about firmware versions. What are correct pins for smart meter cable to flukso. A and b on flukso should connect to outside wires of smart meter? Which is a and wich is b??

Not much fun yet with Flukso..... or do I have a defective Flukso??

update:
brown/white 1=NC
brown 2=RTS ==> 6a
orange 3=GND ==> 5-
green 4=NC
blue 5=RxD ==> 6b
blue/white 6=NC

'smart' meter it only shows 5v at 3=GND/6a=RTS
3=GND/6b=RxD shows 0,06/0,07v

Still see message
×Error - The call for sensor smart-main experienced a timeout. You are probably not in the same local network as the FLM.

Grtz
Richard

voogt's picture

update Clamp1 and 2 are working bu I do not trust the numbers because during the night is reports KWH but for solarpanels this should not be the case....

My smart meter via RJ11 connection does not work

following https://www.flukso.net/content/fluksometer-v2b

Port 6 can now be used to read out the local data port, a.k.a. P1 port, of a Dutch smart meter.
Connect the Rj11 pins as follows:
pin 2 > 6a,
==>yellow??
pin 3 > 5-,
==>green??
pin 4 > free,
==> red ??
pin 5 > 6b,
==> black??
Pin numbering is from left to right when the RJ11 connector has its lip pointing upwards
Whats wrong ? We have a ISKRA ME382 smart Meter.

gebhardm's picture

For solar panels see https://www.flukso.net/content/phantom-loads or https://www.flukso.net/content/clamp-placement-pv-installation
So all trying to measure PV provisioning finally switched to a pulse DIN rail meter, I bet...
With respect to http://www.slimme-meter.info/handleidingen/iskra-algemeen/ I am not sure what actually is delivered from the RJ11-plug of your smart meter. The meter seems to have an optical I/O also... Hard to judge without proper spec.
Regards, Markus

icarus75's picture

Hello Richard,

1/ You will indeed see a phantom load when reading PV production with a current clamp. This is due to the consumption of apparent power by the inverter.
2/ An RJ11 has 6 pins. Most assemblies will only come with the inner 4 pins wired. So pin 2 is the 2nd RJ11 pin, not the 2nd wire. If in doubt, send a close-up picture of the RJ11 with the lip facing upwards to info@flukso.net.

Cheers
/Bart

tintar's picture

just to be pedantic (voip/telecomms designer here ;-)

rj11, rj14 and rj25 all have 6 pins and the exact same dimensions. but - rj11 has 2 wires, rj14 has 4, and rj25 has all 6 conductors.

sometimes the plug itself will have all 6 pins even if it only has 2 or 4 conductors, and sometimes it will only have the same number of pins as it has wires. depending on factors e.g. if it was mass produced or if someone hand crimped it (and what plugs they had on hand when they did)

to add to the confusion, most people most of the time just call it an rj11. I do that my ownself. (oh and hey! sometimes the plugs are NOT the same size, the manufacturer often saves money by using less plastic and you get a smaller plug but still fits well enough to seat the pins)

the flukso documentation seems clear enough that the wiring should make sense to anyone up to the task of hooking up a flukso - but maybe specify it as rj14 not rj11 just to be totally accurate? (again, pedantic, I know - apologies)

but then again, if you say rj14, many people will be all like "huh??!?" because, again, we all tend to just think of it as rj11.

gebhardm's picture

Another suggestion: Leave the US American RJ naming and just tell what's connected, for example 6P4C ;-)
Found another source, explaining what's going on on the smart meter's connector: http://www.foolwithatool.nl/ - it says "The P1 port is a half duplex serial port, with signals on TTL-level (0-5V) and with 4 pins connected. " (so 6P4C)

  1. 1=NC
  2. 2=RTS
  3. 3=GND
  4. 4=NC
  5. 5=RxD
  6. 6=NC

tintar's picture

gebhardm - very good point, that (e.g. xPyC) is definitely the much more intelligent way to classify it ;-)

I think that's why many serial connections end up on rj45 (which, ok, turns into confusion on a completely other level i.e. "looks like ethernet") - but, there are "always" 8 pins and "always" 8 conductors. (ok actually this is not true either. and then we get into things like rj48x. so, more confusion!)

and that's only the physical layer beneath protocol. the latest solar controller I bought, has an rj45 that works great if you also buy their rj45 LCD screen. but the company is very reluctant to tell me if it is doing rs232 or rs485 or some-ungodly-other thing, all they would say is "this will not share data with a computer" - well, possibly not, but I'm fairly sure I could slap an analyzer on there and figure it out.

((and, to be even more obtuse, this same company's higher end MPPT products *do* claim to be doing TTL rs232))

I'm quite jealous of you guys in europe, the water and gas meters I currently have in NA US, are entirely unsuitable to sensor monitoring.

voogt's picture

I changed my config because Smart meter does not work yet, for now 2 clamps;
1 for total and 1 for groups with high usagen washing machine, dryer , kitchen stuff....
and a KWH din meter with pulse output.

If I get smart meter working it would be great, Bart tried to help me but it can also be the issue tat the smart meter doesn't give correct output.

I will update this post later when I know more.
Iwill create a new cable with a cat5 cable and real rj11 6 pins connector

grtz Richard

voogt's picture

I now have a new cable setup with 6pin rj11 and use a cat 5 cable.

brown/white 1=NC
brown 2=RTS ==> 6a
orange 3=GND ==> 5-
green 4=NC
blue 5=RxD ==> 6b
blue/white 6=NC

'smart' meter it only shows 5v at 3=GND/6a=RTS
3=GND/6b=RxD shows 0,06/0,07v

Flukso still gives error and does not show smart meter.
×Error - The call for sensor smart-main experienced a timeout. You are probably not in the same local network as the FLM.

I wil contact Liander local company responsable for the grid and 'smart meter'

@bart still shure it is a 'smart meter' issue?

voogt's picture

Liander the company responsabele for smart meter is telling me they do not have to enable the P1 port. They think there is no error with the smart meter.

Flukso setting??

voogt's picture

I still do not see smart meter on fluso, same eror message.

After reading some rasberrpi Pi info I understand you have to get te Smart meter running via a direct connection. to sent telegrams. Now I see the voltage fuctuations on p1 ports 5-/6a constant 4,97v 5-/6b 0,04v and every 10sec 1,96v

How did I do this, read article http://www.embezon.nl/index.php/uitlezen-smart-meter-p1

Flukso is missing cu package so install this, # opkg install uucp
then do a cu to the smart meter, I guess /dev/ttyS0 is correct dev for smart meter.
But is this correct???

cu -l /dev/ttyS0 -s 9600 --parity=none
I now do see packages every 10 sec, but not in excpected format:

(
eTYfdR-rvVg/N=Vm6,lY4'4'mI/I6VvvvVvVVvv6VVR%N='i6,2mdZrm6VvV2mY'
!%N='i6,2mdZmv26V2-Y3$
!%N='i6l2mdZrmvvV66m6Rl%!E!%N='i6l2mdZmvVVlZ2%!E!%N=Vm6,l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Re-B3+9=m6r$II4'2e+9=V-2lr2mI4v-R%N=o9=(
eTYfdR-rvVg/N=Vm6,lY4'4'mI/I6VvvvVvVVvv6VVR%N='i6,2mdZrm6VvV2mYf
!%N='i6,2mdZmv26V2-Y3$
!%N='i6l2mdZrmvvV66m6Rl%!E!%N='i6l2mdZmvVVlZ2%!E!%N=Vm6,lY4'I4vmvvVR%N='i6,2-I4vmvvv6m2%!E%N='i6l2-I4vmvvv6mv6%!E%N=Vm6,2m6mvmV,,lZv6%!E%N=Vm6,lY4f4'v-R%N=Vm6,lY4'f4'-%N=Vm6,lY4'f4v-%N=V-2lr2-2mv-V%N=V-2,lY4'4v-6v$VvVVvVVvv6V,VV,VVR%N=V-2lr2-6mv-vrv6vvvvVemvVemYVe-RemV-2lr2m2-Re-B3+9=m6r$II4'2e+9=V-2lr2mI4v-R%N=o9=(
eTYfdR-rvVg/N=Vm6,lY4'4'mI/I6VvvvVvVVvv6VVR%N='i6,2mdZrm6VvV2mYI
!%N='i6,2mdZmv26V2-Y3$
!%N='i6l2mdZrmvvV66m6Rl%!E!%N='i6l2mdZmvVVlZ2%!E!%N=Vm6,lY4'I4vmvvVR%N='i6,2-I4vmvvv6m26%!E%N='i6l2-I4vmvvv6mv6%!E%N=Vm6,2m6mvmV,,lZv6%!E%N=Vm6,lY4f4'v-R%N=Vm6,lY4'f4'-%N=Vm6,lY4'f4v-%N=V-2lr2-2mv-V%N=V-2,lY4'4v-6v$VvVVvVVvv6V,VV,VVR%N=V-2lr2-6mv-vrv6vvvvVemvVemYVe-RemV-2lr2m2-Re-B3+9=m6r$II4'2e+9=V-2lr2mI4v-R%N=o9=o9=

Sombody a idea??

gebhardm's picture

Interestingly http://www.foolwithatool.nl/ tells that for a P1-port it should be only 7 databits, one stopbit and even parity - try these as the kryptic return indicates some issue with protocol settings...

  1. int baudRate = 9600;
  2. int dataBits = 7;
  3. var stopBits = StopBits.One;
  4. var parity = Parity.Even;

Rgds, Markus

voogt's picture

thanxs, installed cu version does not have the databit option. I will look into it to get other version or create a cable and start correct messaging from smart meter.

richard

gebhardm's picture

Try "cu -l /dev/ttyS0 -s 9600 -e" - the -e option according to the man-pages is what is required: "the remote system expects or sends 7-bits with even parity "
Rgds, Markus

voogt's picture

I tried that it complaints -e is not recognized. So I think it is a diff in version of cu.

icarus75's picture

The serial line parameters are configured during boot. There should be no need to alter these params for correctly reading out the P1 port of the Dutch smart meter. Just run these commands and you should see correct telegrams coming in, provided the physical connection is ok:

  1. root@flukso-87d245:~$ /etc/init.d/flukso restart
  2. root@flukso-87d245:~$ /etc/init.d/flukso stop  
  3. root@flukso-87d245:~$ cat /dev/ttyS0

If you can confirm this, then start the Flukso daemon again:

  1. root@flukso-87d245:~$ /etc/init.d/flukso start

You should now see 'pulses' being registered in the FLM's syslog.

voogt's picture

Still no success....

cat /dev/ttyS0
(
eTYfdR-rvVg/N=Vm6,lY4'4'mI/I6VvvvVvVVvv6VVR%N='i6,2mdZrm6VvV6m2r2%!E!%N='i6,2mdZmv2r2-Y2
!%N='i6l2mdZrmvvV66m6Rl%!E!%N='i6l2mdZmvVrR2-vd%!E!%N=Vm6,lY4'I4vmvv6R%N='i6,2-I4vmvvv6mI6%!E%N='i6l2-I4vmvvv6mv6%!E%N=Vm6,2m6mvmV,,lZv6%!E%N=Vm6,lY4f4'v-R%N=Vm6,lY4'f4'-%N=Vm6,lY4'f4v-%N=V-2lr2-2mv-V%N=V-2,lY4'4v-6v$VvVVvVVvv6V,VV,VVR%N=V-2lr2-6mv-vrvRRlvvvVemvVemYVe-RemV-2lr2m2-Re-B3+9=m6r$IY4$v$%N=V-2lr2mI4v-R%N=o9=(
eTYfdR-rvVg/N=Vm6,lY4'4'mI/I6VvvvVvVVvv6VVR%N='i6,2mdZrm6VvV6m2r2%!E!%N='i6,2mdZmv2r2-Y$
!%N='i6l2mdZrmvvV66m6Rl%!E!%N='i6l2mdZmvVrR2-vd%!E!%N=Vm6,lY4'I4vmvv6R%N='i6,2-I4vmvvv6mI6%!E%N='i6l2-I4vmvvv6mv6%!E%N=Vm6,2m6mvmV,,lZv6%!E%N=Vm6,lY4f4'v-R%N=Vm6,lY4'f4'-%N=Vm6,lY4'f4v-%N=V-2lr2-2mv-V%N=V-2,lY4'4v-6v$VvVVvVVvv6V,VV,VVR%N=V-2lr2-6mv-vrvRRlvvvVemvVeM2Ve-RemV-2lr2m2-Re-B3+9=m6r$IY4$v$%N=V-2lr2mI4v-R%N=o9=^C

I tried another terminal program , but no luck...
opkg install coreutils-stty

$ stty -F /dev/ttyS0 9600 -cstopb cs7 parenb -parodd

also cu -l /dev/ttyS0 -s 9600 -e did not give error but same output.....

icarus75's picture

I'll have a peek to see what's going on today/tomorrow. Leave the FLM config as is. I'll report back when finished.

icarus75's picture

You seem to have restored the device to factory settings causing some settings that are incompatible with proper P1 port read-out. This is now taken care of. Your FLM is happily reporting its smart meter readings as of now.

voogt's picture

Thanxs,

Maybe for knowledge sharing what configs are changed for smart meter reading? after a reset new firmware ect how do you backup/restore settings?
The smart meter only started to sent telegrams after a CU command. Or do you have other tools via automated via flukso to do so?

regards

richard

icarus75's picture

If you upgrade the firmware via flukso.net, your FLM's settings will be automatically preserved. Only when doing a factory reset, an FLM02B will need one additional command to configure 'virtual' smart meter sensors for P1 read-out:

  1. root@flukso-87d245:~$ fp1

This command is however not (yet) idempotent. Running it again will cause new sensors to be allocated. So do _not_ run this command a second time under any circumstances.

I very much doubt that the smart meter was triggered by a CU command. This is most likely a mere coincidence.

BertLeo's picture

I have the same problem but I don't think that I have reset the device to factory settings deliberately, if at all. Can I run fp1 or is there another way to go?