Kaifa 304 P1 reading stopped

The P1 readout of my Kaifa 304 had worked for some time but a few months(?) ago it stopped. I read all kinds of similar problems on the forum but it is unclear to me what to do.

I logged in via ssh to test the connection to the Kaifa via:

  1. cat /dev/ttyS0
  2. Kh||||pOLbb|PsddddddrpDDDD!nph^C

so that is garbage. Then with different baud rate settings it works:

  1. cu -l /dev/ttyS0 -s 115200 -e
  2. Connected.
  3.  
  4. 1-0:2.7.0(00.000*kW)
  5. 0-0:17.0.0(999.9*kW)
  6. 0-0:96.3.10(1)
  7. 0-0:96.7.21(00032)
  8. 0-0:96.7.9(00011)
  9. .........
  10. 0-1:24.4.0(1)
  11. !FB23
  12. /KFM5KAIFA-METER

Thus, it is clear that the connections are allright, still the flukso software never gets the telegrams.
It seems he flukso progam always sets the baudrate back to 9600 and therefore does not reads the telegrams properly. What should I do in the configuration to make it work again? Can I do something or does it need firmware upgrade from flukso.net?

icarus75's picture

Could be that the gas company pushed a firmware upgrade to your smart meter, causing it to switch from 9600baud (DSMR2.2) to 115kbaud (DSMR4.0). I've scheduled your FLM to be upgraded from r232 to r244. The newer firmware has support for DSMR4.0. All you have to do after completion of the firmware upgrade (which should take place within the hour) is to launch the commands listed below in the FLM's shell.

Make sure to verify the upgrade has taken place first:

  1. root@flukso:~$ uci show system.@system[0].version

The output should read 244. Then:
  1. root@flukso:~$ uci set flukso.main.dsmr=4.0
  2. root@flukso:~$ uci commit
  3. root@flukso:~$ /etc/init.d/flukso restart

BertLeo's picture

Thanks, it works fine now.

icarus75's picture

Good to hear your setup is up-and-running again. Just for my info, could you confirm that your FLM could read out the P1 port readings with a r232 firmware? How long was this FLM logging these readings?

BertLeo's picture

I'm sorry but I can't find any of the old data back. The solar panels are only active for a year now so it can't have been that long. I know that getting the P1 readout to work was quite difficult and at some point I found that the cable connection inside the socket in the smart meter was not very stable. In the meantime I had tried things with the communication port settings as well so I might have made it to work at the DSMR 4 settings? The data were then actually visible in the flukso graphs for a few weeks for sure and later on I haven't really checked them, so I can't tell for how long it had worked and if in between the flukso might have restarted. It is a bit odd though that those old data don't show up in the graphs anymore. But anyhow it works now.