Page 1 of 1

EnergyCount 3000/ BSEM4

Posted: Tuesday 17 January 2017 9:30
by NdyGen
I have a couple of energycount plugs at home, and I've managed to read their data using the EC3k python script and gnuradio.

In Domotics there is an entry for these devices under the hardware tab. The setting requires an ip address.

I was wondering how to get these units data into Domoticz but can not find a tutorial/ hints how to do this.

Anyone here that can shed some light on this?

thnx

Re: EnergyCount 3000/ BSEM4

Posted: Tuesday 28 February 2017 10:33
by NdyGen
really nobody? not even the one that put the code in there?

:(

Re: EnergyCount 3000/ BSEM4

Posted: Wednesday 10 January 2018 17:31
by matzeb74
Ok, nearly a Year old Thread. But why open a new one.

I also have seen this Entry in Domoticz and wondered How it should work. So i used google and found the following:

https://www.google.de/url?sa=t&rct=j&q= ... SaosKvEREg


So the Power Plugs must be Connected with an Arduino or any other like this.

Re: EnergyCount 3000/ BSEM4

Posted: Thursday 18 January 2018 15:52
by candymirror
You just need to know where to look. Browsing domoticz source code on github and specific reading the sourcecode of domoticz/hardware/Ec3kMeterTCP.cpp show in the comment that you'll need to run a server application based on the python rtl-sdr ec3ks module.

Quote::
/*
Extract readings from the json messages posted by the
Energy count 3000/ NETPBSEM4 / La crosse energy meters
collected by the EC3K software originally from
https://github.com/avian2/ec3k
The required server is added to the fork at:
https://github.com/llagendijk/ec3k
The server version of this software sends json messages
with the following contents:


For this to work you'll need to setup Gnu-radio and RTL-SDR using a cheap usb dvb-t receiver. Combining this with the avian2/ec3k module and the ec3k server from llagendijk.

It isn't necessary to modify the original wallplugs or receiver. the dvb-t receiver will receive the actual data from the wallpugs.

I found this thread and the above result, because i'm interested in creating a server side implementation of this client in an esp8266 with an attached rfm69.
Currently I'm using an esp8266 (and rfm69) loaded with the FHEM LaCrosseGateway firmware. A python script with an open tcpconnection to the esp8266 reads out any of the Ec3k messages and sends the decoded values through domoticz http api to an virtual device.

Re: EnergyCount 3000/ BSEM4

Posted: Monday 22 January 2024 21:17
by candymirror
Kicking this topic in case one might be in need of this.
I've been using these devices for many years now in combination with a homemade fhem LaCrosseGateway and a python script to retrieve data from a specific ec3k device and send it to domoticz.
Recently I tried to put this into a domoticz plugin, and though I'm nobody's Coder, I thought it wasn't half bad. But far from complete. Still have a lot to add and change but for now it does what I wanted it to do: add new ec3k devices in domoticz on discovery and update the values.

code can be found on github: domoticz-LaCrosseGateway-EC3k-Plugin