Timeline picker to setup heating, light and so on

Is it correct that the new approach no longer requires a rules file because I cannot find it in the mentioned repository.

There are a rule file: RNTs-timelinepicker.js
You can follow the description in the Readme.md on Gitlab, there you can see all files and the corresponding folders.

Ah, I’m sorry. I haven’t worked with JSR223 rules yet. I’ll have to get used to it and see how it works
especially under OH3

hi @tose,

thanks for sharing this fantastic project. i use the “rules-version” since summer. now i see you have a java-version and want to switch to that.

i realize that some of my timelinepickers that i moved from rules version work, but one does not work in java-version.

the items for this not working timelinepicker is:

String TlpTi_FilterTimer     "[%s]"          (gTimepicker)
String iViPool_FilterTimer <pump>

and the sitemap is:

Webview icon="none" url="http://openhab:8080/static/time-line-picker-jsr/index.html?ip=openhab:8080&transferItem=TlpTi_FilterTimer&states=OFF,MIN,ON&yAxisLabel=17&lang=de&event=yes&dark=no&zoom=force&colorset=7b7b7b,ff0000,ffaa00,00ff00&deactivation=false" height=12

when i change times in sitemap and try to save i recieve an error like:

2020-11-25 20:21:26.689 [ERROR] [e.automation.internal.RuleEngineImpl] - Failed to execute rule '3afc65cb-5270-4600-9bb6-94e13163d123': Fail to execute action: 1

2020-11-25 20:21:26.696 [DEBUG] [e.automation.internal.RuleEngineImpl] - 

java.lang.RuntimeException: Fail to execute action: 1

	at org.openhab.core.automation.internal.RuleEngineImpl.executeActions(RuleEngineImpl.java:1197) ~[bundleFile:?]

	at org.openhab.core.automation.internal.RuleEngineImpl.runRule(RuleEngineImpl.java:993) [bundleFile:?]

	at org.openhab.core.automation.internal.TriggerHandlerCallbackImpl$TriggerData.run(TriggerHandlerCallbackImpl.java:91) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_272]

	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_272]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_272]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_272]

	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_272]

Caused by: jdk.nashorn.internal.runtime.ECMAException: TypeError: Cannot read property "81" from undefined

	at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57) ~[nashorn.jar:?]

	at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:213) ~[nashorn.jar:?]

	at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:185) ~[nashorn.jar:?]

	at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:172) ~[nashorn.jar:?]

	at jdk.nashorn.internal.runtime.Undefined.get(Undefined.java:157) ~[nashorn.jar:?]

	at jdk.nashorn.internal.scripts.Script$Recompilation$616$2022A$\^eval\_.execute#L:49(<eval>:65) ~[?:?]

	at jdk.nashorn.javaadapters.java.util.function.Consumer.accept(Unknown Source) ~[?:?]

	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_272]

	at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1082) ~[?:1.8.0_272]

	at jdk.nashorn.internal.scripts.Script$Recompilation$592$1022AA$\^eval\_.execute(<eval>:49) ~[?:?]

	at org.openhab.core.automation.module.script.rulesupport.shared.simple.SimpleRule$$NashornJavaAdapter.execute(Unknown Source) ~[?:?]

	at org.openhab.core.automation.module.script.rulesupport.shared.simple.SimpleRuleActionHandlerDelegate.execute(SimpleRuleActionHandlerDelegate.java:34) ~[?:?]

	at org.openhab.core.automation.module.script.rulesupport.internal.delegates.SimpleActionHandlerDelegate.execute(SimpleActionHandlerDelegate.java:59) ~[?:?]

	at org.openhab.core.automation.internal.RuleEngineImpl.executeActions(RuleEngineImpl.java:1189) ~[bundleFile:?]

	... 7 more

strange, but when i change the sitemap like this then i have no error:

Webview icon="none" url="http://openhab:8080/static/time-line-picker-jsr/index.html?ip=openhab:8080&transferItem=TlpTi_FilterTimer&states=OFF,MIN,ON&yAxisLabel=1,2,3,4,5,6,7&lang=de&event=yes&dark=no&zoom=force&colorset=7b7b7b,ff0000,ffaa00,00ff00&deactivation=false" height=12

(the only difference is “yAxisLabel”)
it seems as soon as i change the parameter “yAxisLabel” from 1-digit to a two-digit-value then i receive an error. (when changing back to 1-digit again no error)

i cannot imagine this could be the reason because partially it works, but i want to add that i did some changes: i couldnÂŽt get your code work when using the folders you recommended. i found newer versions of the files that you use in \automation\jsr223\jslib in the folder \automation\lib\javascript\core and so i edited the code to point to this files.

i would be glad if you could help me make it work.

Hi @bastler,

witch version of OH are you using?
You wrote the error occurs when saving a changed timeline. Then you can look into the developer console in your browser and post the output from this.

P.S. javascript not java :innocent:

thanks @tose!


 sorry, unfortunately i’m not a programmer, only a 
bastler :blush:

i use a raspberry pi4b with 4gb, running openhabian with oh 2.5.10-1

i opened the developer console in my firefox, when saving the values in timelinepicker i always get an 200 ok

is this what you wanted to see?

perhaps this may help:
i added some loginfos in your code:

    getItem("gTimepicker").getAllMembers().forEach(function(currSwitchPlan) {
      if ((currSwitchPlan.state !== NULL) && (timePicker[currSwitchPlan.name] != undefined)) {
        var switchPlan = JSON.parse(currSwitchPlan.state)
        if (switchPlan["config"]["active"]) {                                                               // check if timeline deactivated
          if (switchPlan["17"] != undefined) currDay = 17
          if ((switchPlan["15"] != undefined) && (currDay != "6") && (currDay != "7")) currDay = 15
          if ((switchPlan["67"] != undefined) && ((currDay == "6") || (currDay == "7"))) currDay = 67

          var switchPlanOfDay = switchPlan[currDay]
          var itemToSwitch = timePicker[currSwitchPlan.name].split(",")
          var switchStates = switchPlan["config"]["states"]
          var event = switchPlan["config"]["event"]
          var newState = switchStates[switchPlanOfDay[currTimeInterval]]
          logInfo("------------ jsr223 timeline picker ------------- switchPlanOfDay " + switchPlanOfDay)
          logInfo("------------ jsr223 timeline picker ------------- itemToSwitch " + itemToSwitch)
          logInfo("------------ jsr223 timeline picker ------------- switchStates " + switchStates)
          logInfo("------------ jsr223 timeline picker ------------- event " + event)
          logInfo("------------ jsr223 timeline picker ------------- newState " + newState)

          itemToSwitch.forEach(function(iTS) {
            logInfo("------------ aha5 jsr223 timeline picker -------------")
            if (event) {
              if (switchPlanOfDay[currTimeInterval] == -1) {

and the log file shows then:

2020-11-25 23:14:43.855 [DEBUG] [e.automation.internal.RuleEngineImpl] - The trigger '3a75bd35-6b70-4421-b5a1-7ea2cff5a7fe' of rule '50be1a51-3096-497a-a967-99ad65521415' is triggered.

2020-11-25 23:14:43.936 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlanOfDay 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0| 

2020-11-25 23:14:43.939 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- itemToSwitch itemEins,iEGFlur_Dekolampe| 

2020-11-25 23:14:43.941 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchStates OFF,ON| 

2020-11-25 23:14:43.944 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- event false| 

2020-11-25 23:14:43.947 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- newState OFF| 

2020-11-25 23:14:43.967 [INFO ] [jsr223.javascript                   ] - |------------ aha5 jsr223 timeline picker -------------| 

2020-11-25 23:14:43.981 [INFO ] [jsr223.javascript                   ] - |############# 000 JSR223 #############| 

2020-11-25 23:14:43.986 [INFO ] [jsr223.javascript                   ] - |------------ aha5 jsr223 timeline picker -------------| 

2020-11-25 23:14:43.989 [INFO ] [jsr223.javascript                   ] - |############# 000 JSR223 #############| 

2020-11-25 23:14:43.996 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlanOfDay -1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,1,1,1,1,1,1,-1,1,1,-1,1,1,-1,1,1,-1,-1,-1,-1,1,-1,-1,-1,-1,-1,1,-1,1,-1,1,-1,-1,-1,1,-1,-1,-1,1,-1,-1,1,1,1,1,1,1,1,-1,-1,-1,-1| 

2020-11-25 23:14:43.999 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- itemToSwitch iViPool_FilterTimer| 

2020-11-25 23:14:44.001 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchStates manuell,OFF,MIN,ON| 

2020-11-25 23:14:44.003 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- event true| 

2020-11-25 23:14:44.006 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- newState undefined| 

2020-11-25 23:14:44.009 [INFO ] [jsr223.javascript                   ] - |------------ aha5 jsr223 timeline picker -------------| 

2020-11-25 23:14:44.018 [ERROR] [e.automation.internal.RuleEngineImpl] - Failed to execute rule '50be1a51-3096-497a-a967-99ad65521415': Fail to execute action: 1

2020-11-25 23:14:44.020 [DEBUG] [e.automation.internal.RuleEngineImpl] - 

java.lang.RuntimeException: Fail to execute action: 1

	at org.openhab.core.automation.internal.RuleEngineImpl.executeActions(RuleEngineImpl.java:1197) ~[bundleFile:?]

	at org.openhab.core.automation.internal.RuleEngineImpl.runRule(RuleEngineImpl.java:993) [bundleFile:?]

	at org.openhab.core.automation.internal.TriggerHandlerCallbackImpl$TriggerData.run(TriggerHandlerCallbackImpl.java:91) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_272]

	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_272]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_272]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_272]

	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_272]

Caused by: jdk.nashorn.internal.runtime.ECMAException: TypeError: Cannot read property "92" from undefined

	at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57) ~[nashorn.jar:?]

	at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:213) ~[nashorn.jar:?]

	at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:185) ~[nashorn.jar:?]

	at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:172) ~[nashorn.jar:?]

	at jdk.nashorn.internal.runtime.Undefined.get(Undefined.java:157) ~[nashorn.jar:?]

	at jdk.nashorn.internal.scripts.Script$Recompilation$842$1750A$\^eval\_.execute#L:44(<eval>:56) ~[?:?]

	at jdk.nashorn.javaadapters.java.util.function.Consumer.accept(Unknown Source) ~[?:?]

	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_272]

	at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1082) ~[?:1.8.0_272]

	at jdk.nashorn.internal.scripts.Script$Recompilation$818$1022AA$\^eval\_.execute(<eval>:44) ~[?:?]

	at org.openhab.core.automation.module.script.rulesupport.shared.simple.SimpleRule$$NashornJavaAdapter.execute(Unknown Source) ~[?:?]

	at org.openhab.core.automation.module.script.rulesupport.shared.simple.SimpleRuleActionHandlerDelegate.execute(SimpleRuleActionHandlerDelegate.java:34) ~[?:?]

	at org.openhab.core.automation.module.script.rulesupport.internal.delegates.SimpleActionHandlerDelegate.execute(SimpleActionHandlerDelegate.java:59) ~[?:?]

	at org.openhab.core.automation.internal.RuleEngineImpl.executeActions(RuleEngineImpl.java:1189) ~[bundleFile:?]

	... 7 more

there you see the variable “newState” that is first OFF and then undefined

Please try to set the event parameter to false.
I thing this will work for now and i will solve the problem in the next days.
When solved i will post here.
btw: cool work with debug log for a ‘bastler’

thank you :blush:

i did, still errors. so i added more log infos:

   var updateTimeLineItem = function(state, iTS) {
      logInfo("------------ jsr223 timeline picker ------------- state " + state)
      logInfo("------------ jsr223 timeline picker ------------- iTS " + iTS)
      if ((state != undefined) && getItem(iTS).state != state) {
        previousStates[iTS] = getItem(iTS).state
        sendCommand(getItem(iTS), state)
      }
    }

    // calculate minutes since midnight & day of week
    var d0 = new Date(), d1 = new Date(d0)
    var msSinceMidnight = d1 - d0.setHours(0,0,0,0)
    var currTimeInterval = Math.floor(msSinceMidnight / 60000 / 15)
    var currDay = d0.getDay()
    if (currDay == 0) currDay = 7

    getItem("gTimepicker").getAllMembers().forEach(function(currSwitchPlan) {
      logInfo("------------ jsr223 timeline picker ------------- currSwitchPlan " + currSwitchPlan)
      if ((currSwitchPlan.state !== NULL) && (timePicker[currSwitchPlan.name] != undefined)) {
        var switchPlan = JSON.parse(currSwitchPlan.state)
        logInfo("------------ jsr223 timeline picker ------------- switchPlan[config][active] " + switchPlan["config"]["active"])
        if (switchPlan["config"]["active"]) {                                                               // check if timeline deactivated
          logInfo("------------ jsr223 timeline picker ------------- switchPlan[17] " + switchPlan["17"])
          logInfo("------------ jsr223 timeline picker ------------- switchPlan[15] " + switchPlan["15"])
          logInfo("------------ jsr223 timeline picker ------------- switchPlan[67] " + switchPlan["67"])
          logInfo("------------ jsr223 timeline picker ------------- currDay " + currDay)
          if (switchPlan["17"] != undefined) currDay = 17
          if ((switchPlan["15"] != undefined) && (currDay != "6") && (currDay != "7")) currDay = 15
          if ((switchPlan["67"] != undefined) && ((currDay == "6") || (currDay == "7"))) currDay = 67

          var switchPlanOfDay = switchPlan[currDay]
          logInfo("------------ jsr223 timeline picker ------------- switchPlanOfDay " + switchPlanOfDay)
          var itemToSwitch = timePicker[currSwitchPlan.name].split(",")
          logInfo("------------ jsr223 timeline picker ------------- itemToSwitch " + itemToSwitch)
          var switchStates = switchPlan["config"]["states"]
          logInfo("------------ jsr223 timeline picker ------------- switchStates " + switchStates)
          var event = switchPlan["config"]["event"]
          logInfo("------------ jsr223 timeline picker ------------- event " + event)
          logInfo("------------ jsr223 timeline picker ------------- currTimeInterval " + currTimeInterval)
          logInfo("------------ jsr223 timeline picker ------------- switchPlanOfDay[currTimeInterval] " + switchPlanOfDay[currTimeInterval])
          logInfo("------------ jsr223 timeline picker ------------- newState " + newState)
          var newState = switchStates[switchPlanOfDay[currTimeInterval]]

          itemToSwitch.forEach(function(iTS) {

and now this is the log-file:

2020-11-26 07:41:08.303 [DEBUG] [e.automation.internal.RuleEngineImpl] - The trigger '0c76d1d9-6659-400b-a39f-7d3b3f77dcd9' of rule 'c7a9de2a-5c50-47fc-b3b7-ae9d117001e2' is triggered.

2020-11-26 07:41:08.390 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- currSwitchPlan TlpTi_Eins (Type=StringItem, State={"1":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"2":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"3":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"4":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"5":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"6":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"7":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"config":{"mode":["1","2","3","4","5","6","7"],"states":["OFF","ON"],"event":false,"lastItemState":-1,"active":true}}, Label=, Category=null, Groups=[gTimepicker])| 

2020-11-26 07:41:08.417 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlan[config][active] true| 

2020-11-26 07:41:08.422 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlan[17] undefined| 

2020-11-26 07:41:08.424 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlan[15] undefined| 

2020-11-26 07:41:08.427 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlan[67] undefined| 

2020-11-26 07:41:08.430 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- currDay 4| 

2020-11-26 07:41:08.434 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlanOfDay 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0| 

2020-11-26 07:41:08.437 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- itemToSwitch itemEins,iEGFlur_Dekolampe| 

2020-11-26 07:41:08.442 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchStates OFF,ON| 

2020-11-26 07:41:08.446 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- event false| 

2020-11-26 07:41:08.449 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- currTimeInterval 30| 

2020-11-26 07:41:08.452 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlanOfDay[currTimeInterval] 0| 

2020-11-26 07:41:08.454 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- newState undefined| 

2020-11-26 07:41:08.458 [INFO ] [jsr223.javascript                   ] - |------------ aha5 jsr223 timeline picker -------------| 

2020-11-26 07:41:08.460 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- state OFF| 

2020-11-26 07:41:08.462 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- iTS itemEins| 

2020-11-26 07:41:08.466 [INFO ] [jsr223.javascript                   ] - |------------ aha5 jsr223 timeline picker -------------| 

2020-11-26 07:41:08.468 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- state OFF| 

2020-11-26 07:41:08.471 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- iTS iEGFlur_Dekolampe| 

2020-11-26 07:41:08.473 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- currSwitchPlan TlpTi_FilterTimer (Type=StringItem, State={"17":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,2,0,0,1,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"config":{"mode":["17"],"states":["OFF","MIN","ON"],"event":false,"lastItemState":-1,"active":true}}, Label=, Category=null, Groups=[gTimepicker])| 

2020-11-26 07:41:08.479 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlan[config][active] true| 

2020-11-26 07:41:08.483 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlan[17] 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,2,0,0,1,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0| 

2020-11-26 07:41:08.485 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlan[15] undefined| 

2020-11-26 07:41:08.488 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlan[67] undefined| 

2020-11-26 07:41:08.490 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- currDay 4| 

2020-11-26 07:41:08.495 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlanOfDay 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,2,0,0,1,1,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0| 

2020-11-26 07:41:08.498 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- itemToSwitch iViPool_FilterTimer| 

2020-11-26 07:41:08.501 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchStates OFF,MIN,ON| 

2020-11-26 07:41:08.504 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- event false| 

2020-11-26 07:41:08.507 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- currTimeInterval 30| 

2020-11-26 07:41:08.510 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlanOfDay[currTimeInterval] 0| 

2020-11-26 07:41:08.512 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- newState undefined| 

2020-11-26 07:41:08.515 [INFO ] [jsr223.javascript                   ] - |------------ aha5 jsr223 timeline picker -------------| 

2020-11-26 07:41:08.519 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- state OFF| 

2020-11-26 07:41:08.521 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- iTS iViPool_FilterTimer| 

2020-11-26 07:41:08.525 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- currSwitchPlan TlpTi_Zwei (Type=StringItem, State={"1":[0,0,0,0,0,0,0,0,0,0,0,0,0,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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"7":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"config":{"mode":["1","2","3","4","5","6","7"],"states":["OFF","ON"],"event":false,"lastItemState":-1,"active":true}}, Label=, Category=null, Groups=[gTimepicker])| 

2020-11-26 07:41:08.536 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlan[config][active] true| 

2020-11-26 07:41:08.539 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlan[17] undefined| 

2020-11-26 07:41:08.541 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlan[15] undefined| 

2020-11-26 07:41:08.544 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlan[67] undefined| 

2020-11-26 07:41:08.546 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- currDay 17| 

2020-11-26 07:41:08.549 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchPlanOfDay undefined| 

2020-11-26 07:41:08.552 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- itemToSwitch itemZwei| 

2020-11-26 07:41:08.555 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- switchStates OFF,ON| 

2020-11-26 07:41:08.557 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- event false| 

2020-11-26 07:41:08.560 [INFO ] [jsr223.javascript                   ] - |------------ jsr223 timeline picker ------------- currTimeInterval 30| 

2020-11-26 07:41:08.562 [ERROR] [e.automation.internal.RuleEngineImpl] - Failed to execute rule 'c7a9de2a-5c50-47fc-b3b7-ae9d117001e2': Fail to execute action: 1

2020-11-26 07:41:08.564 [DEBUG] [e.automation.internal.RuleEngineImpl] - 

java.lang.RuntimeException: Fail to execute action: 1

	at org.openhab.core.automation.internal.RuleEngineImpl.executeActions(RuleEngineImpl.java:1197) ~[bundleFile:?]

	at org.openhab.core.automation.internal.RuleEngineImpl.runRule(RuleEngineImpl.java:993) [bundleFile:?]

	at org.openhab.core.automation.internal.TriggerHandlerCallbackImpl$TriggerData.run(TriggerHandlerCallbackImpl.java:91) [bundleFile:?]

	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_272]

	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_272]

	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_272]

	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_272]

	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_272]

Caused by: jdk.nashorn.internal.runtime.ECMAException: TypeError: Cannot read property "30" from undefined

	at jdk.nashorn.internal.runtime.ECMAErrors.error(ECMAErrors.java:57) ~[nashorn.jar:?]

	at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:213) ~[nashorn.jar:?]

	at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:185) ~[nashorn.jar:?]

	at jdk.nashorn.internal.runtime.ECMAErrors.typeError(ECMAErrors.java:172) ~[nashorn.jar:?]

	at jdk.nashorn.internal.runtime.Undefined.get(Undefined.java:157) ~[nashorn.jar:?]

	at jdk.nashorn.internal.scripts.Script$Recompilation$1145$1853A$\^eval\_.execute#L:45(<eval>:68) ~[?:?]

	at jdk.nashorn.javaadapters.java.util.function.Consumer.accept(Unknown Source) ~[?:?]

	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_272]

	at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1082) ~[?:1.8.0_272]

	at jdk.nashorn.internal.scripts.Script$Recompilation$1144$1022AA$\^eval\_.execute(<eval>:45) ~[?:?]

	at org.openhab.core.automation.module.script.rulesupport.shared.simple.SimpleRule$$NashornJavaAdapter.execute(Unknown Source) ~[?:?]

	at org.openhab.core.automation.module.script.rulesupport.shared.simple.SimpleRuleActionHandlerDelegate.execute(SimpleRuleActionHandlerDelegate.java:34) ~[?:?]

	at org.openhab.core.automation.module.script.rulesupport.internal.delegates.SimpleActionHandlerDelegate.execute(SimpleActionHandlerDelegate.java:59) ~[?:?]

	at org.openhab.core.automation.internal.RuleEngineImpl.executeActions(RuleEngineImpl.java:1189) ~[bundleFile:?]

	... 7 more

==> /var/log/openhab2/events.log <==

2020-11-26 07:41:08.294 [ome.event.ItemCommandEvent] - Item 'TlpTi_Eins' received command {"1":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"2":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"3":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"4":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"5":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"6":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"7":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"config":{"mode":["1","2","3","4","5","6","7"],"states":["OFF","ON"],"event":false,"lastItemState":-1,"active":true}}

2020-11-26 07:41:08.307 [vent.ItemStateChangedEvent] - TlpTi_Eins changed from {"1":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"5":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"6":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"7":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],"config":{"mode":["1","2","3","4","5","6","7"],"states":["OFF","ON"],"event":false,"lastItemState":-1,"active":true}}

2020-11-26 07:41:08.310 [.event.RuleStatusInfoEvent] - c7a9de2a-5c50-47fc-b3b7-ae9d117001e2 updated: RUNNING

for me it seems it may be because the variable switchPlanOfDay is undefinded?

I need a little bit help to improve the timelinepicker.

There is a question on gitlab about expanding the language pool to include French and especially the missing words in the translation in the UI. So i’m not familiar with all the translated languages and hope on some help. @Lionello_Marrelli, @rjduraocosta and @chibald you have helped in the past. Can you please check the missing translations? But anyone is welcome to help!

Here is the English referenz and the existing translations. The best idea it would be to complete the objects and post the result here. Maybe there are words that fit better.

english:

      "yLabel" : ['mo - su','mo - fr','monday','tuesday','wednesday','thursday','friday','saturday','sunday','sa - su'],
      "inactive" : {
        "line1" : "inactive",
        "line2" : "last state",
        "line3" : "activate",
        "line4" : "deactivate",
        "line5" : "current",
        "line6" : "events",
        "line7" : "yes",
        "line8" : "no",
        "line9" : "save",
        "line10" : "sure",
        "line11" : "abort",
        "line12" : "You have changed the call parameter!",
        "line13" : "Switchmatrix will be erased.",
        "line14" : "Do you want to continue?",
        "line15" : "please contact your admin"
      }

deutsch:

      "yLabel" : ['Mo - So','Mo - Fr','Montag','Dienstag','Mittwoch','Donnerstag','Freitag','Samstag','Sonntag','Sa - So'],
      "inactive" : {
        "line1" : "inaktiv",
        "line2" : "letzter Zustand",
        "line3" : "aktivieren",
        "line4" : "deaktivieren",
        "line5" : "aktuell",
        "line6" : "Ereignis mode",
        "line7" : "ja",
        "line8" : "nein",
        "line9" : "speichern",
        "line10" : "sicher",
        "line11" : "abbrechen",
        "line12" : "Die Parameter der Timeline wurden geÀndert!",
        "line13" : "Alle Einstellungen werden gelöscht",
        "line14" : "Fortfahren?",
        "line15" : "Bitte kontaktiere den Admin"
      }

italian:

      "yLabel" : ['Lun - Dom','Lun - Ven','Lunedi','Martedi','Mercoledi','Giovedi','Venerdi','Sabato','Domenica','Sab-Dom'],
      "inactive" : {
        "line1" : "in modo inattivo",
        "line2" : "ultimo stato",
        "line3" : "attivarsi",
        "line4" : "disattivarsi",
        "line5" : "",
        "line6" : "",
        "line7" : "",
        "line8" : "",
        "line9" : "",
        "line10" : "",
        "line11" : "",
        "line12" : "",
        "line13" : "",
        "line14" : "",
        "line15" : ""
      }

portuguese:

      "yLabel" : ['Seg - Dom','Seg - Sex','Segunda','Ter\u00E7a','Quarta','Quinta','Sexta','S\u00E1bado','Domingo','S\u00E1b - Dom'],
      "inactive" : {
        "line1" : "inactivamente",
        "line2" : "\u00FAltimo estado",
        "line3" : "activar",
        "line4" : "desativar",
        "line5" : "",
        "line6" : "",
        "line7" : "",
        "line8" : "",
        "line9" : "",
        "line10" : "",
        "line11" : "",
        "line12" : "",
        "line13" : "",
        "line14" : "",
        "line15" : ""
      }

dutch:

      "yLabel" : ['ma - zo','ma - vr','maandag','dinsdag','woensdag','donderdag','vrijdag','zaterdag','zondag','za - zo'],
      "inactive" : {
        "line1" : "inactief",
        "line2" : "vorige staat",
        "line3" : "activeren",
        "line4" : "deactiveren",
        "line5" : "",
        "line6" : "",
        "line7" : "",
        "line8" : "",
        "line9" : "",
        "line10" : "",
        "line11" : "",
        "line12" : "",
        "line13" : "",
        "line14" : "",
        "line15" : ""
      }

french:

      "yLabel" : ['mo - su','mo - fr','Lundi','Mardi','Mercredi','Jeudi','Vendredi','Samedi','Dimanche','Sam - Dim'],
      "inactive" : {
        "line1" : "Inactif",
        "line2" : "Etat precedent",
        "line3" : "Activer",
        "line4" : "Desactiver",
        "line5" : "État actuel",
        "line6" : "ÉvĂ©nements",
        "line7" : "Oui",
        "line8" : "Non",
        "line9" : "Sauvegarder",
        "line10" : "Confirmer",
        "line11" : "Annuler",
        "line12" : "Vous avez modifié le paramÚtre d'appel!",
        "line13" : "La matrice de commutation va ĂȘtre effacĂ©e.",
        "line14" : "Voulez-vous continuer?",
        "line15" : "Veuillez contacter votre administrateur"
      }

Hello,
I have new install ther example code, but it is no store in the MapDB.
I use usually influx, but I have additional installed MapDB and have create the mapdb.persist:

Strategies {
  default = everyUpdate
}

Items {
  gTimepicker* : strategy = everyChange, restoreOnStartup
}

But if I refresh the example sitemap, all values are lost.
What could be the fault?

Thanks
Michael

Hi, perhaps the values will never be stored in the transferItem.
MapDB is only for persisst the values when rebooting or shutdown and restart.

You can open the developer console in your browser, change your timeline and press save and sure.
Then post the output from the console.

Hello, here the console output:

[Vue warn]: Error in created hook: "TypeError: this.$http is undefined"

(found in <Root>) vue.js:634:17
TypeError: this.$http is undefined
    created http://192.168.178.158:8080/static/time-line-picker/js/switchPointSet.js:241
    VueJS 4
    <anonymous> http://192.168.178.158:8080/static/time-line-picker/js/switchPointSet.js:96
vue.js:1897:15
[Vue warn]: Error in v-on handler: "TypeError: this.$http is undefined"

(found in <Root>) vue.js:634:17
TypeError: this.$http is undefined
    saveInterval http://192.168.178.158:8080/static/time-line-picker/js/switchPointSet.js:346
    VueJS 4
vue.js:1897:15
Unbekannte Eigenschaft 'orphans'.  Deklaration ignoriert. material.min.css:8:1330
Unbekannte Eigenschaft 'widows'.  Deklaration ignoriert. material.min.css:8:1339
Unbekannte Eigenschaft '-moz-osx-font-smoothing'.  Deklaration ignoriert. material.min.css:8:2463
Unbekannte Eigenschaft '-moz-osx-font-smoothing'.  Deklaration ignoriert. material.min.css:8:4386
Fehler beim Verarbeiten des Wertes fĂŒr '-webkit-box-pack'.  Deklaration ignoriert. material.min.css:8:46973
Unbekannte Pseudoklasse oder Pseudoelement '-ms-input-placeholder'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:86646
Unbekannte Pseudoklasse oder Pseudoelement '-moz-focus-outer'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:87135
Unbekannte Pseudoklasse oder Pseudoelement '-ms-tooltip'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:87186
Unbekannte Pseudoklasse oder Pseudoelement '-ms-track'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:87375
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-lower'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:87477
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-upper'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:87616
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:88924
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:89188
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:89394
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:90516
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:90710
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:90976
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-lower'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:91201
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-upper'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:91272
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-upper'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:91351
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:92864
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:93098
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-lower'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:93433
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-upper'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:93602
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-upper'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.min.css:8:93690
Fehler beim Verarbeiten des Wertes fĂŒr 'margin'.  Deklaration ignoriert. material.min.css:8:93796
Fehler beim Verarbeiten des Wertes fĂŒr 'padding'.  Deklaration ignoriert. material.min.css:8:93809
Unbekannte Eigenschaft '-moz-osx-font-smoothing'.  Deklaration ignoriert. material-icons.css:32:27
Unbekannte Eigenschaft '-moz-flex-shrink'.  Deklaration ignoriert. smarthome.css:1:337
Unbekannte Eigenschaft '-moz-align-items'.  Deklaration ignoriert. smarthome.css:1:1155
Unbekannte Eigenschaft 'flex-align'.  Deklaration ignoriert. smarthome.css:1:1237
Unbekannte Eigenschaft '-moz-flex-shrink'.  Deklaration ignoriert. smarthome.css:1:2337
Unbekannte Eigenschaft '-moz-flex-shrink'.  Deklaration ignoriert. smarthome.css:1:2870
Unbekannte Eigenschaft '-moz-flex-grow'.  Deklaration ignoriert. smarthome.css:1:2939
Unbekannte Eigenschaft '-moz-align-items'.  Deklaration ignoriert. smarthome.css:1:5674
Unbekannte Eigenschaft 'flex-align'.  Deklaration ignoriert. smarthome.css:1:5756
Unbekannte Pseudoklasse oder Pseudoelement '-ms-track'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. smarthome.css:1:8052
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. smarthome.css:1:9018
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-upper'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. smarthome.css:1:9282
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-lower'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. smarthome.css:1:9339
Unbekannte Pseudoklasse oder Pseudoelement '-ms-ticks'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. smarthome.css:1:9396
Unbekannte Eigenschaft '-moz-osx-font-smoothing'.  Deklaration ignoriert. css:246:27
Unbekannte Eigenschaft 'orphans'.  Deklaration ignoriert. material.indigo-pink.min.css:8:1310
Unbekannte Eigenschaft 'widows'.  Deklaration ignoriert. material.indigo-pink.min.css:8:1319
Unbekannte Eigenschaft '-moz-osx-font-smoothing'.  Deklaration ignoriert. material.indigo-pink.min.css:8:2443
Unbekannte Eigenschaft '-moz-osx-font-smoothing'.  Deklaration ignoriert. material.indigo-pink.min.css:8:4374
Unbekannte Pseudoklasse oder Pseudoelement '-ms-input-placeholder'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:94783
Unbekannte Pseudoklasse oder Pseudoelement '-moz-focus-outer'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:95320
Unbekannte Pseudoklasse oder Pseudoelement '-ms-tooltip'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:95371
Unbekannte Pseudoklasse oder Pseudoelement '-ms-track'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:95560
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-lower'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:95662
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-upper'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:95813
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:97180
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:97562
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:97757
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:98859
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:99053
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:99296
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-lower'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:99494
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-upper'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:99565
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-upper'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:99644
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:101157
Unbekannte Pseudoklasse oder Pseudoelement '-ms-thumb'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:101366
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-lower'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:101676
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-upper'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:101845
Unbekannte Pseudoklasse oder Pseudoelement '-ms-fill-upper'.  Regelsatz wegen ungĂŒltigem Selektor ignoriert. material.indigo-pink.min.css:8:101933
Fehler beim Verarbeiten des Wertes fĂŒr 'margin'.  Deklaration ignoriert. material.indigo-pink.min.css:8:102039
Fehler beim Verarbeiten des Wertes fĂŒr 'padding'.  Deklaration ignoriert. material.indigo-pink.min.css:8:102052

Please read the OP and the instructions to install the timelinepicker again. I’m pretty sure you dosn’t download and copy the vue.resource.js file.

Next download vue-resource.js under this link: https://github.com/pagekit/vue-resource
Extract the file vue-resource.js at this location: openhab-conf/html/time-line-picker/js/

Here’s the italian translation

"yLabel" : ['Lun - Dom','Lun - Ven','Lunedi','Martedi','Mercoledi','Giovedi','Venerdi','Sabato','Domenica','Sab-Dom'],
      "inactive" : {
        "line1" : "disattivo",
        "line2" : "stato precedente",
        "line3" : "attivare",
        "line4" : "disattivare",
        "line5" : "stato corrente",
        "line6" : "modalitĂ  evento",
        "line7" : "si",
        "line8" : "no",
        "line9" : "Salva",
        "line10" : "Conferma",
        "line11" : "Cancella",
        "line12" : "I parametri della Timeline sono stati cambiati!",
        "line13" : "Tutte le impostazioni saranno cancellate",
        "line14" : "Continuare?",
        "line15" : "Contattare l'amministratore."
      }

I’m not sure about line 2.
According to the english translation it is ‘last state’ while in the french translation is ‘previous state’. In my understanding, ‘last state’ may coincide with ‘current state’, while ‘previous state’ is the state that was valid before the current one.
I assume that the french translation is correct and therefore I adapted the italian one accordingly.

Hello,
you are right, I have put now the vue-resource.js in the js folder, but the behaivior was the same.

Then I have again installation step by step and found my mistake.

You have an example from items in this website:

 Group gTimepicker
 Group gTimepickerObserver
 String TimelineHelper "[%s]"
 String TransferItem1 "[%s]"      (gTimepicker)
 String TransferItem2 "[%s]"      (gTimepicker)

and in the openhab-timeline-picker-master in gitlab is for sitemap an example:

sitemap demo label="example of timeline picker" {
    Frame label="heating Example" {
        Webview url="http://ip-addr-openHAB:8080/static/time-line-picker/index.html?ip=xx.xx.xx.xx:8080&transferItem=TransferItem&yAxisLabel=1,2,3,4,5,6,7" height=14
}

}

I must change in the example sitemap from TransferItem to TransferItem1

After I see, you have on this website the example with TransferItem1, so perhaps you can change also the example.sitemap on gitlab to TransferItem1.

Thanks! It is a greate feature!!
Regards
Michael

Hi @bastler,
i have changed a lot of code. Now the optained error is solved. But there are some over changes (improvements) in the jsr version of timelinepicker.

  • obtained error solved
  • the upper x axis will only showed then more as 3 lines are displayed
  • there are more translated fileds

The best approach is to replace all files from the repository in your local installation:

Relevant folders are automation/jsr223 and html/time-line-picker-jsr and all files inside this folders.
After an update it’s important to clear the browser cache.

@Lionello_Marrelli Many thanks for your help.

Hello,
now my timepicker is running, and the log file see the changes from my timetable:

2020-12-02 22:07:54.076 [vent.ItemStateChangedEvent] - TransferItem1 changed from {"1":{"key":"1","value":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,0,0,3,0,0,3,3,0,0,0,3,0,0,0,3,0,0,3,3,3,3,0,0,0,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1,1,1,0,1,0,1,0,1,1,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"5":{"key":"5","value":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"6":{"key":"6","value":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"7":{"key":"7","value":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},"99":"14,18,20,22","100":{"event":false,"lastItemState":-1,"inactive":false}}

But also the log file is showing this (debug mode with 15s rule is on):

2020-12-02 22:07:54.186 [ERROR] [se.smarthome.model.script.timepicker] - error in transfer string
2020-12-02 22:08:00.137 [ERROR] [se.smarthome.model.script.timepicker] - error in transfer string
2020-12-02 22:08:15.077 [ERROR] [se.smarthome.model.script.timepicker] - error in transfer string
2020-12-02 22:08:30.107 [ERROR] [se.smarthome.model.script.timepicker] - error in transfer string
2020-12-02 22:08:45.113 [ERROR] [se.smarthome.model.script.timepicker] - error in transfer string
2020-12-02 22:09:00.112 [ERROR] [se.smarthome.model.script.timepicker] - error in transfer string
2020-12-02 22:09:15.109 [ERROR] [se.smarthome.model.script.timepicker] - error in transfer string
2020-12-02 22:09:30.117 [ERROR] [se.smarthome.model.script.timepicker] - error in transfer string
2020-12-02 22:09:45.114 [ERROR] [se.smarthome.model.script.timepicker] - error in transfer string

I think that’s why I can not access to the state from my Thermostat1 item.
I have see similar problem in this thread, but nothing works.
Thank you for your hint.

Wich version from gitlab are you using - Master?
The last change at this code is 10 months ago.
I’m not really sure what happens.