Absoluter Neuling mit openHAB-Regeln

rules
openhab2
Tags: #<Tag:0x00007f1e5ccc1bc8> #<Tag:0x00007f1e5ccc1920>
(Daniel Burger) #1

Hallo.
Ich bin mit openHAB absoluter Neuling. Ich habe mein Rasp mit openhabian mit Z-WAVE-USB-STICK und einigen Devolo-Sensoren laufen. - Soweit wird mir auch alles angezeigt.

Aber:
Ich habe mir jetzt mal eine rules-Datei erstellt (raum-temperatur.rules). Jedoch wird diese gar nicht erst angefasst. In den Logs finde ich keinen Eintrag.

Muss ich ein Addon dafür noch installieren oder habe ich das Prinzip nicht ganz verstanden? Über eine nette und hilfreiche Antwort wäre ich schon dankbar.

Schöne Grüße
Daniel

0 Likes

(Pälzer Bu) #2

Hello Daniel,
first of all welcome to openHAB.
Please post in English as this is an English speaking community - even if many of us may be German you will have a better chance to get help posting in English as many very experienced users are from other locations and do not understand German.

As for your problem:
Please give more detailed information about your rule, first see How to ask as good question
What is the release you are using, what is the content of your file, how does the log file look like (-> Frontail) when saving the rule file?
How are you editing it ? I´d strongly suggest to use VSCode as editor, it supports syntax checking and auto completion.
Maybe you simply have a typo or a syntax error in your file.
Without more information it is hard to help you.

2 Likes

(Tobias) #3

Hi,

maybe you start by simply posting your rules and the log files…

You can use the logInfo command to create entries in the log files which simplifies debugging.

If you have doubts whether a rule is envoked, put a logInfo command on entering the rule.

0 Likes

(FreddyM) #4

Hallo Daniel
es gibt ein sehr gutes deutsches Openhab Forum.
https://knx-user-forum.de/forum/supportforen/openhab

0 Likes

(Elias H.) #5

Quick hint, if you don’t want to write the rules use node-red for rules :slight_smile:
imho it’s easier to use for people with no coding experience.

0 Likes