TCR5000 not counting
Moderators: grovkillen, Stuntteam, TD-er
-
- New user
- Posts: 1
- Joined: 15 Sep 2015, 22:14
TCR5000 not counting
First of all very nice project. Thanks....
I have hooked up a TCR5000. I see in the ESP log its connecting with Domoticz.
In the Domoticz log i dont see any messages. The counter is updating the time with 20 seconds just like i configured.
I rebooted the ESP after the setup.
But the counter is not counting up in Domoticz.
EDIT:
Found the issue. Need to set Incremental counter.
But you can't see what's the actual power. Does it needs to be implented on the ESP side or Domoticz?
I have hooked up a TCR5000. I see in the ESP log its connecting with Domoticz.
In the Domoticz log i dont see any messages. The counter is updating the time with 20 seconds just like i configured.
I rebooted the ESP after the setup.
But the counter is not counting up in Domoticz.
EDIT:
Found the issue. Need to set Incremental counter.
But you can't see what's the actual power. Does it needs to be implented on the ESP side or Domoticz?
Re: TCR5000 not counting
strange I have the same issue.
running v25.
the TCR5000 connected on d3
in easy esp: 6 Pulse Counter Water 603 GPIO-0 Count:0/Total:24
in domoticz 0 m3. don't understand.
the switches and temp/hum also working from domoticz/easyESP.
I have rebooted, checked incremental and normal counter but the same. couting in homeESP but nog in domoticz.
running v25.
the TCR5000 connected on d3
in easy esp: 6 Pulse Counter Water 603 GPIO-0 Count:0/Total:24
in domoticz 0 m3. don't understand.
the switches and temp/hum also working from domoticz/easyESP.
I have rebooted, checked incremental and normal counter but the same. couting in homeESP but nog in domoticz.
Re: TCR5000 not counting
Also after a reboot values are all 0 is that Normal?
Re: TCR5000 not counting
You have to use an incremental counter anyway because the ESP will only send delta counts.remb0 wrote:strange I have the same issue.
running v25.
the TCR5000 connected on d3
in easy esp: 6 Pulse Counter Water 603 GPIO-0 Count:0/Total:24
in domoticz 0 m3. don't understand.
the switches and temp/hum also working from domoticz/easyESP.
I have rebooted, checked incremental and normal counter but the same. couting in homeESP but nog in domoticz.
Can you set the debug level on serial output to 4 and check the log?
In my testlab this looks like this after pushing the GPIO-0 button 17 times:
Code: Select all
HTTP : connecting to 192.168.0.8
/json.htm?type=command¶m=udevice&idx=242&svalue=17.00
HTTP/1.1 200 OK
HTTP : Succes!
Content-Length: 53
Content-Type: application/json;charset=UTF-8
Cache-Control: no-cache
Pragma: no-cache
Access-Control-Allow-Origin: *
{
"status" : "OK",
"title" : "Update Device"
}
HTTP : closing connection
Re: TCR5000 not counting
This is the expected behavior for ESP Easy. I guess you refer to the counters in particular?remb0 wrote:Also after a reboot values are all 0 is that Normal?
I think that the only way the ESP could save data that withstands power loss situations is to save it to flash memory. But that will wear out flash in a very short time. I don't know about the chips used on the ESP modules but with the Arduino boards we had only 100.000 write cycles for a given cell.
So if you save the countervalue each second, it will last only a few days...
Re: TCR5000 not counting
Couting in esp goes well (i think)
but still not in domoticz. So i checked the logs.
But strange is the log is doing something with idx84 and 94 but they don't exist is mij domoticz
the buttons are working well.
but still not in domoticz. So i checked the logs.
But strange is the log is doing something with idx84 and 94 but they don't exist is mij domoticz
the buttons are working well.
Re: TCR5000 not counting
You've hit a bug introduced in R22. The idx value can not exceed 255. I will fix it and upload to github...
Re: TCR5000 not counting
R29 is available, could you please verify that the issue with idx values is solved?
Re: TCR5000 not counting
gonna test it right now!
and it works!!
and it works!!
Who is online
Users browsing this forum: Ahrefs [Bot] and 3 guests