Page 1 of 1
Meter Counter domoticz
Posted: 30 Aug 2015, 10:03
by Insane84
Hallo, thanks for this nice project.
I have a esp8266 on a smartmeter with 1000imp/kWh . The Problem is, that domoticz only count the actual consumption like 4 Counts, but dont add it to overall consumption. In the esp Web Interface it counts correct. Whats wrong with domoticz?
Sorry for my bad english, i'm from Germany
Re: Meter Counter domoticz
Posted: 30 Aug 2015, 12:00
by Martinus
I guess you're using the standard "counter" in Domoticz instead of "Counter incremental" ?
The ESP will only send delta counts between messages to Domoticz.
Re: Meter Counter domoticz
Posted: 30 Aug 2015, 13:51
by Insane84
yes you are right.
But when I add a virtual sensor, i can only choose counter, and it's Type RFXMeter RFXMeter counter
I can't choose like
general and counter incremental
Re: Meter Counter domoticz
Posted: 30 Aug 2015, 14:31
by Martinus
Maybe you're using an older Domoticz version. The incremental counter is a recent add-on. I'm not sure which version has it.
Re: Meter Counter domoticz
Posted: 30 Aug 2015, 14:50
by Insane84
it works! thanks
domoticz showed me version 2.255 and no updates available.
Manual update, an now its 2.2877
Re: Meter Counter domoticz
Posted: 02 Sep 2015, 12:15
by maluko
it is any possibility to connect a esp8266 direct to a optical sensor like pulse counter, if yes are any schematic or photo?
thanks
Re: Meter Counter domoticz
Posted: 02 Sep 2015, 13:08
by chrille
maluko wrote:it is any possibility to connect a esp8266 direct to a optical sensor like pulse counter, if yes are any schematic or photo?
If you have a meter with a flashing LED and wants to connect that to the ESP8266, you can use a module like
http://www.aliexpress.com/item/1x-NEW-S ... 6,201409_2 - it comes with a photo diode and both analog and digital output. The digital output connect directly to a GPIO of the ESP8266. I have this used this exact module on my power meter for months
Re: Meter Counter domoticz
Posted: 02 Sep 2015, 16:54
by maluko
chrille wrote:maluko wrote:it is any possibility to connect a esp8266 direct to a optical sensor like pulse counter, if yes are any schematic or photo?
If you have a meter with a flashing LED and wants to connect that to the ESP8266, you can use a module like
http://www.aliexpress.com/item/1x-NEW-S ... 6,201409_2 - it comes with a photo diode and both analog and digital output. The digital output connect directly to a GPIO of the ESP8266. I have this used this exact module on my power meter for months
I have one of that module, but yesterday cant start working, can i connect to the same vcc/gnd that ESP8266?
Re: Meter Counter domoticz
Posted: 02 Sep 2015, 18:07
by rtenklooster
Yes. You have tot adjust The resistor untill The control led starts flashing.
I use The same PCB but i replaced The photodiode with a ldr.
Of course u should use The digital output pin.
Excuse my capital T.. Android seems tot like The.
Re: Meter Counter domoticz
Posted: 02 Sep 2015, 22:52
by maluko
sorry, but still not get worked, if i have all wire connect and turn on the esp, this dont get the ip so cant acess to web interface.