Monday at 02:57 PM1 day Hi All,I did a big upgrade on my EISY to latest everything about two weeks ago. I had to do a flash upgrade and forgot to backup PG3 separately. No big deal, just reinstalled and configured the nodes. Everything seems to be working OK except on one specific set of programs. These programs use the TimeData Minute to trigger them because they run several times an hour at a specific minute of the hour.These programs no longer run the "THEN" statement but only runs the ELSE statement. I created a fresh, new program, kept it simple, and it doesn't trigger THEN either. Is anyone else experiencing anything similar or any suggestions?IoX: 6.0.5PG3: 3.4.18TimeData: 3.4.0I have gone through multiple hardware reboots of the EISY. All the plugins were reinstalled in the same slot. There are no reported errors in the TimeData logs.Test program: (if I run "Then" directly, I get the notice, so that is working) Edited Monday at 03:26 PM1 day by LFMc clarity
Monday at 07:05 PM1 day If not, there is an alternate way of doing this using a couple of programs, without requiring a plugin.
Monday at 07:54 PM1 day Author 1 hour ago, glarsen said:It seems to work OK for me with \your program.Thanks for the verification. I guess this means it is probably a simple answer. Maybe remove and reinstall Timedata. BTW, are you upgraded to the same versions as I am?Also an unusual issue with it is I have a program using the Month name and it seems to be working fine. Edited Monday at 07:55 PM1 day by LFMc
Monday at 08:46 PM1 day Author I reinstalled Timedata from the Purchase store and nothing changed. I decided to test other data components of this plugin and got some interesting results:The following data points work and trigger the THEN statement: Month, Days of Week, Week of Year, Odd/Even Day, Minutes YTD, Season and DST. The following data points do not work and go to the ELSE path: Minute, Day, Year, Day of Year, Time Zone, Hours YTD, Days since Unix Epoch, Logging Level. I noticed the test program icon color would immediately show me which data set worked and which didn't. @glarsen ?
Monday at 09:11 PM1 day Perhaps post the programs you're testing with. I would expect 'else' to be triggered any time the IF statement is not true, which of course is any time the minute statement in the IF isn't true. It will trigger false on every poll, except for when the value in the statement is true.
Monday at 09:27 PM1 day Author I simplified it to this one program. Is this what you are asking for? <?xml version="1.0" ?><triggers><d2d><trigger><id>280</id><name>Test TimeData Min on EISY Month Copy Copy</name><parent>200</parent><if><and /><status id="GV4" node="n010_controller" op="IS"><val uom="77" prec="0">2026</val></status></if><then><notify>1</notify></then><else><cmd id="DON" node="40 6E 7D 1"></cmd><wait><seconds>5</seconds></wait><cmd id="DOF" node="40 6E 7D 1"></cmd></else><comment></comment></trigger></d2d></triggers>
Monday at 10:22 PM1 day @LFMc the best way to share a program in the forums is to right click on the program and select "Copy to Clipboard". Then paste as text in your topic. This will give an easy to read format and make it easy for anybody helping to edit the program without too much typing.Looks like the post above you used "export". Be sure you select the last option of "COPY to clipboard". Screenshots aren't much help because people will have to retype a lot of stuff or try to describe what to do based on the picture. Also, the text becomes searchable on the forums if you should ever need to refresh your memory or have a similar issue you can find the "old" post based on the program information.
Monday at 10:53 PM1 day Author 30 minutes ago, Geddy said:Looks like the post above you used "export". Be sure you select the last option of "COPY to clipboard".My bad, I did export to clipboard. Here is the copy version:Test TimeData Min on EISY Month Copy - [ID 0117][Parent 00C8]If 'B Nodeservers / TimeData' Year is 2026 Then Send Notification to 'Leon' Else Set 'Active Devices / Study Track Lights' On Wait 5 seconds Set 'Active Devices / Study Track Lights' Off Edited Monday at 10:54 PM1 day by LFMc
Yesterday at 01:10 AM1 day If you reinstalled the plugin from scratch (vs an upgrade) then nodes can get created with different references. Have you tried editing each program line by clicking on it and then re-selecting the same options from the select list? Do that for each program line referencing a value from the plugin, save it, and test it again.
12 hours ago12 hr Author 15 hours ago, Guy Lavoie said:If you reinstalled the plugin from scratch (vs an upgrade) then nodes can get created with different references. Have you tried editing each program line by clicking on it and then re-selecting the same options from the select list? Do that for each program line referencing a value from the plugin, save it, and test it again.Thanks for the reply. By creating a new test program and updating the Timedata IF statement about 20 times (testing all the nodes in Timedata), doesn't this do what you are asking? I don't see the point of changing all other programs if a simple, new program doesn't work for half the nodes in Timedata. The test program I sent you was a brand new created program and it shows the program is FALSE for Year = 2026. Any other suggestions? I could not find a way to totally remove and then reinstall the Timedata plugin from scratch. I just reinstalled it from the "Purchased" store. Do you have a better way to install it from scratch so all the nodes get recreated in IoX? Thanks!
11 hours ago11 hr Ah, I missed your mention that you had created a new, test program. I then thought I'd check out exactly what this plugin does and thought I'd test it, but it's the first time I see a plugin with no free trial period. In reading up on it, it seems to be doing several things that I've been doing myself as I learn plugin development, though mine is mostly about dates up until now.You might try contacting the developer directly.
11 hours ago11 hr Author 1 minute ago, Guy Lavoie said:Ah, I missed your mention that you had created a new, test program. I then thought I'd check out exactly what this plugin does and thought I'd test it, but it's the first time I see a plugin with no free trial period. In reading up on it, it seems to be doing several things that I've been doing myself as I learn plugin development, though mine is mostly about dates up until now.You might try contacting the developer directly.I think if you click "purchase", a 30 day trial will be offered. Great plugin, saves a lot of programming lines of code otherwise.FYI, the developer is GLarsen and he is involved in this discussion.BTW, your emoji is identical to GLarsen's emoji and I keep confusing you two. lol. Edited 11 hours ago11 hr by LFMc
10 hours ago10 hr 1 hour ago, LFMc said:I think if you click "purchase", a 30 day trial will be offered. Great plugin, saves a lot of programming lines of code otherwise.FYI, the developer is GLarsen and he is involved in this discussion.BTW, your emoji is identical to GLarsen's emoji and I keep confusing you two. lol.Ah there you go, if the creator is involved, then this should get figured out quickly enough.
8 hours ago8 hr Author Solution 3 hours ago, LFMc said:I could not find a way to totally remove and then reinstall the Timedata plugin from scratch. I just reinstalled it from the "Purchased" store. Do you have a better way to install it from scratch so all the nodes get recreated in IoX?Thanks!I figured out how to totally delete the program from my PG3 server, rebooted everything and installed it from scratch. Now the nodes are working as they should and triggering the THEN statement. So this fixed the problem I was having.Thanks for the help.
Create an account or sign in to comment