FortrezZ Water Flow Meter

Me too, just now:

I wonder if it’s a platform issue. If not seen this before.

My highest usage is whacked out too.

I submitted it to smart things support.

I should also say when the water is actually running the screen shows flow and the correct amount. It also turns my light from white to blue (webcore). Then when water stops the light turns back to white. So that part is working

I believe your logging to Google sheets? If so when was your last log mine was today 8:13 am CST. Since then nothing but the IDE is showing about the correct number I would have used today.

Let me look into this. I can’t get into the IDE at the moment for some reason.

I’m not logging to Google anymore since I’m using FortrezZ’z new dashboard. It’s not right either.


Here’s the problem:


EDIT: Sending the data is OK. It’s timing out while waiting for FortrezZ to return the chart after the water stops running.

If you can get into the IDE and edit the dth, comment out line 439. It should look like this:


change it to this:

// take1()

Also, looks like nobody can get in to see their DTH/SmartApp code in the IDE either:

That worked!!! Fortrezz chart still wont load

Yep, I found that too but it still generates on FortrezZ’s back end.

Look at your live logging when you tap on one of the chart icons, and you’ll see something like this:

You can see your chart, but it takes a while to come up. It could be the timeout value ST expects is exceeded, and/or FortrezZ site hosting this data and chart is experiencing issues.

FYI. Change the last value in that url string from 2 to 1 or 3 to see your other charts. 2 is the 7 day chart.

EDIT: Seems like FortrezZ’s site is a lot slower than I can ever remember.

It’s all good. Google sheets is working again so that’s all I need. I just wanted to let you know the chart was problematic.

Thanks again!

1 Like

I appreciate the heads up. As soon as the starts working again I’ll update my Github source so this doesn’t happen again.

Same here no chart

Should i also change line 439 ?

Yup, you need to change yours too.

is a space here: // take1() or not: //take1() ?

It doesn’t matter. As long as the // is there.

//log.debug(“POST parameters: ${params}”)
try {
httpPostJson(params) { resp ->
resp.headers.each {
//log.debug “${} : ${it.value}”
//log.debug “query response: ${}”
} catch (e) {
log.debug “something went wrong: $e”
// take1()

def getTemperature(value) {
if(location.temperatureScale == “C”){
return value
} else {
return Math.round(celsiusToFahrenheit(value))
I changed here and is not working

‎1‎:‎31‎:‎55‎ ‎PM: error Read timed out @line 477 (doRequest)
c3da22df-f1e7-46cc-a101-0ba3fee118c6 ‎1‎:‎31‎:‎45‎ ‎PM: debug
c3da22df-f1e7-46cc-a101-0ba3fee118c6 ‎1‎:‎31‎:‎45‎ ‎PM: error Read timed out @line 477 (doRequest)
c3da22df-f1e7-46cc-a101-0ba3fee118c6 ‎1‎:‎31‎:‎35‎ ‎PM: debug
c3da22df-f1e7-46cc-a101-0ba3fee118c6 ‎1‎:‎31‎:‎38‎ ‎PM: error Read timed out @line 477 (doRequest)
c3da22df-f1e7-46cc-a101-0ba3fee118c6 ‎1‎:‎31‎:‎28‎ ‎PM: debug

Did you save AND publish?

Last Thursday garden hose was left on for about 20 hours and look like 10,000 gallons flow for nothing :frowning:
Should I receive some warning in email ?

yes i saved and publish


Changing that line fixes the DTH to make sure values are displayed properly in the mobile app - the main tile and all the value tiles:


It does not fix the issue with charts not showing up. That’s either an issue with ST and/or the FortrezZ site that’s hosting the chart and data. I think it’s FortrezZ’s site because those charts take much longer to come up than usual.

If a longer timeout value can be configured in the code, then that may fix the issue. I plan on looking into that this weekend.

Not directly from the DTH, but through FortrezZ’s SmartApps. Did you install and set that up? I use FortrezZ Leak Detector app, which can be found here: (the instructions can be found on their website)

Thank you I will try leak detector :slight_smile:

1 Like