EnergyCount 3000/ BSEM4

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
NdyGen
Posts: 5
Joined: Tuesday 17 January 2017 9:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

EnergyCount 3000/ BSEM4

Post 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
NdyGen
Posts: 5
Joined: Tuesday 17 January 2017 9:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: EnergyCount 3000/ BSEM4

Post by NdyGen »

really nobody? not even the one that put the code in there?

:(
matzeb74
Posts: 49
Joined: Sunday 07 January 2018 19:23
Target OS: Raspberry Pi / ODroid
Domoticz version: newest
Location: Stuttgart
Contact:

Re: EnergyCount 3000/ BSEM4

Post 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.
candymirror
Posts: 5
Joined: Thursday 18 January 2018 15:32
Target OS: Linux
Domoticz version:
Contact:

Re: EnergyCount 3000/ BSEM4

Post 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.
candymirror
Posts: 5
Joined: Thursday 18 January 2018 15:32
Target OS: Linux
Domoticz version:
Contact:

Re: EnergyCount 3000/ BSEM4

Post 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
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest