Programmatic modification of items, rules and sitemaps

openhab2
ui
extend
Tags: #<Tag:0x00007f18276bf580> #<Tag:0x00007f18276bf418> #<Tag:0x00007f18276bf2d8>

(Anjana) #1

Hi

Im building a front end to allow end-users modify items, rules and sitemaps (mainly the names and types etc.) Is there a way to parse and modify contents in items, rules and sitemap files through a program without manually editing the file?

Any help of this would be much appreciated!


(Rich Koshak) #2

Items can be created and modified through the REST API.

Rules and sitemaps can only be edited by changing the .rules and .sitemaps files.


(Anjana) #3

For some reason, I thought APIs were just read only. Looks like they are not after all. Thank you very much for your reply!!!