The background is that I have had problems with my workflows and suspec bugs somewhere, so I have disabled workflows in AltUI and is going through all of them.
Tonight I have gone through 11 of them but the last two had similar problems with saving. Somehow I managed to get them saved, and I did that by editing everything in the workflow to the same settings again. I tried that with the last workflow but that didn’t help.
I edit a workflow and save. On workflow pages I save… no errors, green lights say everything is saved. Controller is responding and all looks well. Then I reload the browser and go back into workflows, and the old version is still there!
I made a video of this because I don’t know how to explain it in words.
[EDIT] Sigh As always I try something new after postin a question… I did a debug “Fix device states” and after that I could save the workflow I had problems with.
I keep the post if you want to see what happend and if there is a way to fix it without the fix.
thx a lot for the video. Very useful !
potentially several issues.
a) you are the biggest user I know and maybe there is a size pb
b) i am convinced we have a VERA issue with saving variables when inside a device handler, there seem to be some conflict with VERA owns way to saving variables in user_data every 6mn, so potentially we are hit by that
c) there is a JS error visible in your video ( see screen shot ), and that, in all cases is bad news. depending when it happens it would interupt the processing and therefore interrupt the save for instance. can you try to pinpoint exactly when that happens and open it so we see the stack trace ?
Maybe I should use scenes for some actions and workflows for the one where I need logical conditions and see if that helps?
Today I’m trying to figure out why my house mode workflow is getting stuck at the selector and refuse to read the data from the house mode plugin. Feels like something get worse the more workflows I have active.
Ill try to sort out what I want and start another reconfiguration later today. I can go back to be using the Countdown Timer and several scenes to manage the motion activated lights for example.
Btw, is there a way to see how much time is left on a AltUI timer?
lodash.min.js:13 Uncaught TypeError: Expected a function
it @ lodash.min.js:13
(anonymous function) @ lodash.min.js:58
(anonymous function) @ lodash.min.js:47
(anonymous function) @ J_ALTUI_uimgr.js:8473
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3
[quote=“vitmar, post:3, topic:192840”]Maybe I should use scenes for some actions and workflows for the one where I need logical conditions and see if that helps?
Today I’m trying to figure out why my house mode workflow is getting stuck at the selector and refuse to read the data from the house mode plugin. Feels like something get worse the more workflows I have active.
Ill try to sort out what I want and start another reconfiguration later today. I can go back to be using the Countdown Timer and several scenes to manage the motion activated lights for example.
Btw, is there a way to see how much time is left on a AltUI timer?
lodash.min.js:13 Uncaught TypeError: Expected a function
it @ lodash.min.js:13
(anonymous function) @ lodash.min.js:58
(anonymous function) @ lodash.min.js:47
(anonymous function) @ J_ALTUI_uimgr.js:8473
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3
[/quote]
ok try this version to remove this JS issue , to at least , eliminate this problem
Thanks!
Ill install that and now Ill begin to separate what I can do with regular scenes and what must have more than one logical condition.
(Ive been using the Countdown timer as logical condition since it has a “mute” option. Its more than time for Vera to implement “AND OR NOT” conditions to scene triggers.)
Let me know if there are something you want me to test in future AltUI releases. It seems that I am good at triggering bugs
Finally I’m finished with my makeover (took some hours). I had ca 20 workflows before, now Im left with 2 workflows (that have more than one logical condition) and the rest was converted to 57 scenes.
Since there is no good way to do “and not” conditions with vanilla Vera, I use the Countdown Timer app and scenes that mute/unmute the timer. Then something triggers the timer to start and then something happens depending on if the timer is muted or not.
Gonna make a backup now…
Best Home Automation shopping experience. Shop at Ezlo!