Pulse counter on Tipping bucket reed switch no graphics on Domoticz

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
arjenw
Normal user
Posts: 10
Joined: 17 Jun 2016, 22:34

Pulse counter on Tipping bucket reed switch no graphics on Domoticz

#1 Post by arjenw » 28 Jul 2016, 19:24

Hello all.

I'm using ESP Easy 108 and Domoticz version v3.5382
My Wemos D1 mini is connectect with a tipping bucket rain gauge. This gauge uses a reed switch for counting the tippings.
on ESP Easy i configured a pulse counter
on Domoticz i created a virtual device of the type rain, subtype TFA.
After creating the virtual device/switch on Domoticz, Domoticz is showing the Graphs icon on the device list.
After receiving the first data from ESP on Domoticz the Graphs icon disappears.

Question: Is ESP Easy sending an unexpected format off data which is not understood by Domoticz??

Thanks for reading, questions and advices in advance.

Regards.
Arjen
ESP Easy device settings
ESP Easy device settings
ESPEasy_Device.PNG (35.69 KiB) Viewed 10077 times
Domoticz virtual sensor
Domoticz virtual sensor
Domoticz_Device.PNG (49.55 KiB) Viewed 10077 times
Domoticz dashboard
Domoticz dashboard
Domoticz_Dashboard.PNG (60.19 KiB) Viewed 10077 times

Drum
Normal user
Posts: 300
Joined: 07 Feb 2016, 11:56

Re: Pulse counter on Tipping bucket reed switch no graphics on Domoticz

#2 Post by Drum » 31 Jul 2016, 10:40

That is very possible. You can check to see what the ESP is sending in the log and you should be able to find what domoticz wants to receive from them. Please post your results, as I want to do the same thing, I just haven't made it that far. I also know others are working with tipping buckets, but I do not know if they are using Domoticz.

arjenw
Normal user
Posts: 10
Joined: 17 Jun 2016, 22:34

Re: Pulse counter on Tipping bucket reed switch no graphics on Domoticz

#3 Post by arjenw » 31 Jul 2016, 11:38

@Drum: Thanks for this additional information.
It would be helpfull if there is someone who can tell me how to generate/retrieve this logging information so i can post that into this thread.

Drum
Normal user
Posts: 300
Joined: 07 Feb 2016, 11:56

Re: Pulse counter on Tipping bucket reed switch no graphics on Domoticz

#4 Post by Drum » 31 Jul 2016, 22:40

It is in the tools, settings for logging level (1 to 4 I think) is probably under advancsd. See the main page esp8266.nu, under firmware, ESPeasy. There is a lot of good information in those pages... It is also discussed in the forum several times, searching helps. The weblog works great, have not figured out how set up a server to log yet, but working on it...

arjenw
Normal user
Posts: 10
Joined: 17 Jun 2016, 22:34

Re: Pulse counter on Tipping bucket reed switch no graphics on Domoticz

#5 Post by arjenw » 01 Aug 2016, 17:08

Thanks for mentioning this ability.
But log level 4 is not giving any usefull information.

Drum
Normal user
Posts: 300
Joined: 07 Feb 2016, 11:56

Re: Pulse counter on Tipping bucket reed switch no graphics on Domoticz

#6 Post by Drum » 18 Aug 2016, 18:38

Level 2 should give you the information send, it will have IDX 29 in it. Are you using http or MQTT?

ayasystems
Normal user
Posts: 39
Joined: 09 Aug 2016, 09:45

Re: Pulse counter on Tipping bucket reed switch no graphics on Domoticz

#7 Post by ayasystems » 20 Nov 2016, 13:11

Hi

I have the same problem...

I think that the pulse is not valid to use with rain.

The ESP send this:

/json.htm?type=command&param=udevice&idx=88&svalue=0.00

And domoticz wants:

/json.htm?type=command&param=udevice&idx=IDX&nvalue=0&svalue=RAINRATE;RAINCOUNTER

RAINRATE = amount of rain in last hour
RAINCOUNTER = continues counter of fallen Rain in mm

Any idea?

ayasystems
Normal user
Posts: 39
Joined: 09 Aug 2016, 09:45

Re: Pulse counter on Tipping bucket reed switch no graphics on Domoticz

#8 Post by ayasystems » 20 Nov 2016, 15:47

May be could be fixed with this modification.


I'm testing it

https://github.com/ESP8266nu/ESPEasy/pu ... 251bcd5c18

It is the second fix that i send but seems like no body check it

Post Reply

Who is online

Users browsing this forum: No registered users and 36 guests