By the way, it doesn't work
**test.script**
```
logInfo("TEST", "SCRIPT")
```
`openhab> smarthome:script test.script`
```
___ test.script
The method or field test is undefined; line 1, column 0, length 4
```
* Update Logging article, log4j2
Closes https://github.com/openhab/openhab-docs/issues/476 (yes, 1 year later 👍 )
Signed-off-by: Angelos Fountoulakis agf@wired-net.gr (github: AngelosF)
* Further updates on logging.md
[!] Changed the introductory text in section `#defining-what-to-log`
[!] Split the text in section `#defining-what-to-log` to one line per sentence
[!] Minor cosmetic improvements
Signed-off-by: Angelos Fountoulakis agf@wired-net.gr (github: AngelosF)
* Removed unnecessary blank lines
Signed-off-by: Jerome Luckenbach <github@luckenba.ch>
* Serial configuration section
Discussed with Kai Kreuzer to have a central place explaining
serial port configuration in openHAB:
https://github.com/openhab/openhab2-addons/pull/2246#discussion_r206528746
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* Serial configuration section: some review changes
Signed-off-by: Sami Salonen <ssalonen@gmail.com>
* Replace 'config/' and 'conf/' with '$OPENHAB_CONF/'
Signed-off-by: Wouter Born <eclipse@maindrain.net>
* Replace ${openhab.home} with $OPENHAB_HOME in compatibilitylayer.md
Signed-off-by: Wouter Born <eclipse@maindrain.net>
* Added parameter to adjust the volume
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Added 'volume' parameter in the runtime section
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
* Removed volume parameter for 'stream()' methods
Signed-off-by: Christoph Weitkamp <github@christophweitkamp.de>
This command will remove the comma which makes the new password unusable so it needs put a "," in the replacement string as well.
For comparison look at the password change function which has the "," in both the search and replace.
https://github.com/openhab/openhabian/blob/master/functions/passwords.sh
sed -i "s/openhab = .*,/openhab = $passwordChange,/g" /var/lib/openhab2/etc/users.properties
* Update Linux instructions for 2.2.0
Signed-off-by: Ben Clark <ben@benjyc.uk>
* Correct console link
Signed-off-by: Ben Clark <ben@benjyc.uk>
* Add warning about known_hosts file using SSH
And suggest using the Karaf console script instead of SSH on localhost.
Signed-off-by: Ben Clark <ben@benjyc.uk>
* Add user/pass info at relevant point.
Signed-off-by: Ben Clark <ben@benjyc.uk>
* Update windows with client script note.
Signed-off-by: Ben Clark <ben@benjyc.uk>
* Update console page according to reviews
Signed-off-by: Ben Clark <ben@benjyc.uk>
* Update Linux page according to reviews
Signed-off-by: Ben Clark <ben@benjyc.uk>
* openhab-distro:#533: Change sshHost description
See https://github.com/openhab/openhab-distro/issues/533
However, I only changed this for the *"Bind Console to All Interfaces"* section, but other section are affected by the same issue.
Signed-off-by: Ian Hubbertz ian_web1@hubbertz.de
* Change directory references to $OPENHAB_CONF
- Addresses comments submitted by @ThomDietrich and @bgilmer77
Signed-off-by: Brad Gilmer <brad@gilmer.tv> (github:bgilmer77)
* Fix long sentence
Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)
* Add example for logging Item State
- Addresses #534
- Edited text to improve comprehension
- Changed "Demo" to "heating-control.rules" in text
- Changed "Demo" example to "heating-control.rules" example in #534
- Article needs more work, but this PR is limited to addressing this issue.
* Address various comments from ThomDietrich
- Numerous changes to address comments
Signed-off-by: Brad Gilmer <brad@gilmer.tv> (github: bgilmer77)
* Shorten package name/log example
- Shortened package to e.model.script.heating-control.rules
- Removed one of the temp entries from the logging example
Signed-off-by: Brad Gilmer <brad@gilmer.tv> (github: bgilmer77)
* Add improvements
Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)
* Change suggested by @bgilmer
Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)
* Linting update before improving the article.
Signed-off-by: Jerome Luckenbach github@luckenba.ch (github: @Confectrician)
* Added an article about the bundle naming convention.
Closes#165
Signed-off-by: Jerome Luckenbach github@luckenba.ch (github: @Confectrician)
* Changes according to the review from @bgilmer77
- Removed the "id" explanation
- Simplified the usage Example
Signed-off-by: Jerome Luckenbach github@luckenba.ch (github: @Confectrician)
* Edited all code blocks and changed them to "text" instead of "python".
Signed-off-by: Jerome Luckenbach github@luckenba.ch (github: @Confectrician)
* Review edits.
- Added package namespace
- Changed to a generic description for <prefix>
Signed-off-by: Jerome Luckenbach github@luckenba.ch (github: @Confectrician)
* Markdown conform list indention
Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)
Resolves#168Resolves#298Resolves#299Resolves#345
* Clarify console access via localhost (#168)
Also, minor editing for clarity and ease of use.
Signed-off-by: Shaun Currier <shaun.currier@gmail.com> (github: ShaunCurrier)
* Refresh successful console connection example
Make ssh command ordering more conventional
Signed-off-by: Shaun Currier shaun.currier@gmail.com (github: ShaunCurrier)
* Add detailed console password and port change (#345)
Also reorganized headers to accommodate new detail and for easier navigation.
* Link to bind to all interfaces header
* Add walkthrough for console connection.
Also, clean up wording about distinction of interactive vs. service mode console access.
* Minor cleanups from proofing
* Minor fixes from building and proofing
* Revise whole article
Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)
* Update console.md
Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)
* Replaced "Karaf console" by simply "console"
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* also changed menu entry
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* some missed changes...
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* moved sentences to single lines
Signed-off-by: Kai Kreuzer <kai@openhab.org>
* Fix the command to access the console
and add an advice in case the command fails.
* Replace warning and improve console interfaces
Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>
minor spelling and format inconsistencies
upper case headlines
deletes spaces and lines at the end
Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>