{"id":1023,"date":"2024-04-29T16:57:43","date_gmt":"2024-04-29T14:57:43","guid":{"rendered":"https:\/\/www.homeserver.lu\/?p=1023"},"modified":"2024-04-29T16:57:43","modified_gmt":"2024-04-29T14:57:43","slug":"openhab-command-line-interface-commands","status":"publish","type":"post","link":"https:\/\/www.homeserver.lu\/?p=1023","title":{"rendered":"openHAB Command Line Interface commands"},"content":{"rendered":"\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>  backup [--full] [filename]   -- Stores the current configuration of openHAB.\n  clean-cache                  -- Cleans the openHAB temporary folders.\n  console                      -- Opens the openHAB console.\n  info                         -- Displays distribution information.\n  reset-ownership              -- Gives openHAB control of its own directories.\n  restore [--textconfig] [--uiconfig] filename\n                               -- Restores openHAB configuration from a backup.\n  showlogs                     -- Displays the log messages of openHAB.\n  start [--debug]              -- Starts openHAB in the terminal.\n  status                       -- Checks to see if openHAB is running.\n  stop                         -- Stops any running instance of openHAB.<\/code><\/pre><\/div>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-1023","post","type-post","status-publish","format-standard","hentry","category-openhab"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=\/wp\/v2\/posts\/1023","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1023"}],"version-history":[{"count":1,"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=\/wp\/v2\/posts\/1023\/revisions"}],"predecessor-version":[{"id":1024,"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=\/wp\/v2\/posts\/1023\/revisions\/1024"}],"wp:attachment":[{"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1023"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1023"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.homeserver.lu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1023"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}