The existing HABADMIN and PaperUI are either not working or too technical for normal user to use. Hence, i intend to write my own GUI to interact with openhab to create rules and schedulers. As such, I am wondering what is the best way of creating/deleting/editing rules apart from accessing the /var/lib/openhab2/jsondb/automation_rules.json directly?
Are the any REST API to handle this properly? Appreciate if you can point me to the document for this purpose. Otherwise, how would you approach this requirement?Thanks.