Hello,
I can’t use the new possibilities to create scripts under OH3 - none of the three possibilities start on my Raspberry Model B from 2013 with OPENHABIAN .
i remember during upgrade process out of the corner of my eye a message like “current JAVA version cannot be installed; remain on JAVA xxxx”.
Unfortunately, I don’t know where the upgrade message logs are stored, so I can’t name the specific message right now.
There are four supported languages (five if you count Blockly) and they can each be used either through the UI or by writing them in text files. So which language are you trying to use and how are you trying to use it.
A couple of notes, you have to install addons for Python or Groovy support. Rules DSL and JavaScript/Blockly are supported out of the box. The Helper Libraries don’t work yet unless you pull from one of the PRs that have been submitted but not yet approved to update them for OH 3 support.
If the Java version were not correct (i.e. Java 11) openHAB wouldn’t run at all. So it’s most likely the case that you’ve made a configuration error or you don’t understand how the rules work.
OK, so what’s the answer to the second question. How are you trying to write the scripts? If you can get to that page OH is up and running and fully functional. So the most likely case is there is something wrong with the way you are trying to write the scripts.
You never actually stated what is wrong. They don’t trigger? You see errors when they are supposed to trigger? How are you trying to make them run?
Are you trying to go through myopenhab.org to create these rules or are you doing it on your local LAN.
Try clicking on the bottom right corner of the page where your account it listed. Then “sign out of this session” and then re-log into the session. You session may have become stale and it is no longer authorized to create rules or something like that.
Just curious, did you specify a name for your rule/script? OH tries to save the rule/script before opening the editor. And saving fails if the name is empty.
i can’t create an new rule - when i press the “create script” Button, the nothing happens.
At the moment i think i see some mor (maybe contiguous) problems. I’ve started the “upgrade system” (sudo openhabian-config) and since 30min it stands at this stage:
I think this “Authentication fail” causes both the not working call of the scripting methods, as well as the failed “upgrade system” from the “openhabian-config”.
but I still do not really understand … i’m ssh-logged with this very “openhabian” - User, i’ve startet “sudo openhabian-config” … how can there be this “Authentication failed”?