Location of rules created in OH3 UI

  • Platform information:
    • Hardware: Raspberry
    • OS: Openhabian
    • openHAB version: 3.2

I’m just thinking about where rules created via the OH3 Ui (Setting → Rules → +) are stored? Are they stored as files, if yes where?

Sorry, i really tried to find some hint but all my searching doesn’t get me further.

Thanks in advance!

best regards

Flo

They are stored in $OH_USERDATA/jsondb/automation_rules.json .
Where $OH_USERDATA depends on the system and is /var/lib/openhab on installations done via deb packages.

1 Like

Thanks a lot! I’m i just looking wrong or is it really hard to find? :sweat_smile: