webCoRE - Variable gets set to null?

So I’m setting up a good morning greeting, and it does, among other things, say things like how much precipitation in the last 24 hours via my weather station. However, if there hasn’t been any rain my weather station sets the variable to (not set) which when read as text is blank or null, and I would much prefer it either say 0, or different text. So I’ve setup on my variable updating piston a command that says ‘if variable is equal to (not set) then set variable to this’, but that doesn’t work. I’ve also tried null which didn’t work, etc. How can I get a piston to trigger off the state of a variable being (not set) ?

Post webCoRE queries in the new webCoRE forum.
It’s dedicated to all things webCoRE.

1 Like