WebCore anomaly and question

@nh.schottfam

First, I noticed this in the trace logs, what is the oldpiston referring to?

+562ms ║Subscribing to HomeC8.pistonID...(:f2bda236e293c6e1e2ba01839a80e08b:)
+568ms ║Subscribing to HomeC8.oldpistonID...(:491a8989b77e4016a7095ff9e92fa9ce:)

Second.
I had to debug a piston as it failed the test of "If (@Globalvar) changes then".
An event does occur but the answer is always false when tested so the piston just exits the If statement. The var is defined as boolean and set in another piston dynamically.
I had to change it to an explicit "changes to false .... else ...."

Just the way the globals are designed perhaps?

If you can give me a small piston that reproduces the issue, I can try to reproduce.

The extra subscription is dealing with old and new piston ids.

If I recall you can restore from the picture code?
I had to recreate it as it wasn't in my daily backups.

So what app is changing that webCoRE global variable?

How quickly is that variable cycling? ie how long does the app wait after changing it, to change it again?

You have seen:

And specifically the section on webCoRE Global?

So far my tests show it working, but I'm changing the variable via the IDE vs. an application changing the webcore global

It's triggered by a humidity piston which sets the var to T or F but at a very slow rate; humidty change. The var is not pre-initialized but is set eveytime the conditions change in the humidty piston to either T or F.
I have read the Using Vars, I have it in my bookmarks for reference. :wink:
I just tested it again and now it works. :frowning: Sorry
Maybe deleting and recreating it for your use fixed some subscription issue up?