Updated README.md, host configuration section (#27)

* Updated README.md, host configuration section

Added a note to the configuration section, to clarify that the settings will take a hostname or the ip adress of the openHAB instance.
Suggested here: <https://community.openhab.org/t/visual-studio-code-openhab-extension/30205/56?u=confectrician>

Signed-off-by:  Jerome Luckenbach <github@luckenba.ch> (github: @Confectrician)

* Discussion spelling fix

Signed-off-by:  Jerome Luckenbach <github@luckenba.ch> (github: @Confectrician)

* Added IP adress in host config description

Signed-off-by:  Jerome Luckenbach <github@luckenba.ch> (github: @Confectrician)IP address
pull/30/head
Jerome L 2017-07-10 16:22:51 +02:00 committed by Kuba Wolanin
parent 7add8b5e40
commit c4ff46dd38
2 changed files with 4 additions and 2 deletions

View File

@ -23,6 +23,8 @@ You are able to configure the hostname and port for the Sitemap preview.
* openhab.host (mandatory), default: openhabianpi
* openhab.port (optional), default: 8080
*openhab.host* will also work with the IP address of your openHAB instance, instead of the hostname.
These settings should work fine on Windows machines and openHAB installations using the recommended [openHABian](http://docs.openhab.org/installation/openhabian.html) setup.
They should be edited if you use macOS or *NIX systems or manual openHAB installations.

View File

@ -122,7 +122,7 @@
"string"
],
"default": "openhabianpi",
"description": "Specifies the URL for the openHAB preview. (Use 'localhost' when developing locally)"
"description": "Specifies the URL or IP adress for the openHAB preview. (Use 'localhost' when developing locally)"
},
"openhab.port": {
"type": [
@ -197,4 +197,4 @@
"request": "^2.81.0",
"request-promise-native": "^1.0.4"
}
}
}