Error message Openhab 3

Hi,

what should I do about this error message?

2020-12-24 22:55:15.695 [ERROR] [internal.handler.ScriptActionHandler] - Script execution of rule with UID 'sonne-18' failed: Script interpreter couldn't be obtain in sonne

This is the rule

rule "Lamellensteuerung wenn Fernsehen Modus ist"
when
    Time cron "15 */5 * * * ? *"
then
    var lamellen2 = 0 // 0 = nach außen unten voll geschlossen
    if (Fernseh_Modus.state == OFF) return;
    if (Lamellen_Automatik.state == OFF) return;
    if (Dark_Outside.state == ON) return;
    
    if ((EG_WZ_Raffstore_1.state<90) && (Math::abs(((EG_WZ_Raffstore_1_Lamellen.state as Number).floatValue - lamellen2))>5 )){ // Nur wenn runtergefahren
        EG_WZ_Raffstore_1_Lamellen.sendCommand(lamellen2)
        Thread::sleep(20000)
    }
    
    if ((EG_WZ_Raffstore_2.state<90) && (Math::abs(((EG_WZ_Raffstore_2_Lamellen.state as Number).floatValue - lamellen2))>5 )){ // Nur wenn runtergefahren
        EG_WZ_Raffstore_2_Lamellen.sendCommand(lamellen2)
        Thread::sleep(20000)
    }
    if ((EG_WZ_Raffstore_3.state<90) && (Math::abs(((EG_WZ_Raffstore_3_Lamellen.state as Number).floatValue - lamellen2))>5 )){ // Nur wenn runtergefahren
        EG_WZ_Raffstore_3_Lamellen.sendCommand(lamellen2)
        Thread::sleep(20000)
    }    
end

Thanks

Daniel

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.