I cleared the caches, did a repair, opened a small piston etc.
Background pistons seem well but none of my buttons work anymore. They have events but the piston logs show no events arriving and don't subscibe to them on a Save or fail and default to this:
07/01/2022, 13:16:26 +37ms
+137ms ╔Subscribing to devices...
+139ms ║Attempting Attribute pushed value [1] subscription
+462ms ║Device missing from piston. Loading all from parent (321ms)
+467ms ║Subscribing to Master Bedroom Button.pushed.1...
+787ms ║Piston utilizes Mode Night...
+788ms ║Piston utilizes Master Bedroom Group...
+800ms ╚Finished subscribing (730ms)
+815ms ║Comparison (string) :7c76bcf13f4437d56396ddf04776b595: is_any_of (string) :32e164a2e42f34f83c6d5126248c9a8d: = false (1ms)
+821ms ╔Starting piston... (v0.3.113.20220105_HE)
+822ms ╚Piston successfully started (755ms)
I have changed the device, saved and returned to the button but that didn't help.
Removed the device from WC and re-added no change.
If I Pause and Resume I get the same log dump.
I get this in the WC logs: app:9632022-01-07 13:34:41.696 errororg.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '1' with class 'java.lang.String' to class 'java.util.Map' on line 1033 (method deviceHandler)
Thanks for the quick fix attempt
Still getting this after repair, did see it load new DB upon edit.
I cleared the cache and browser as before.
07/01/2022, 14:40:03 +802ms
+139ms ╔Subscribing to devices...
+142ms ║Attempting Attribute pushed value [1] subscription
+303ms ║Device missing from piston. Loading all from parent (160ms)
+309ms ║Subscribing to Master Bedroom Button.pushed.1... app:9632022-01-07 14:35:24.360 errororg.codehaus.groovy.runtime.typehandling.GroovyCastException: Cannot cast object '1' with class 'java.lang.String' to class 'java.util.Map' on line 1033 (method deviceHandler)
While I was able to validate the other user's witnessed behavior, I have unexpectedly abandoned HE and subsequently Webcore in the last week and I won't be able to further troubleshoot this. I have immensely enjoyed webcore for over 4 years; thank you for your hard work in keeping it running!
Hi @nh.schottfam
Just having a little play to try and make some pistons as efficient as possible.
While looking at the logs I see the following statement in all of the rules I have.
I don't suppose it is a problem but was just wondering if this is this expected or have I missed something.
Thanks for the prompt reply. I didn't think it was probably an issue but just thought if I could eliminate the '158ms' it would make the piston even quicker. Just how my mind works.
Thanks again.
I'm just now getting around to trying to use a Hub Variable, and I'm getting the "Invalid Variable" message when I try to set them. I've done multiple repairs, clearing of caches, rebooting the hub. Any ideas here? Thanks!