Added language to clarify that sendCommand can trigger rules with received update trigger
Signed-off-by: Markus Lipp lipp_markus@gmail.com (github: LightIsLife)
* Updated Section DateTime Item
The program code suggested in the documentation in section "// Convert DateTimeType to Joda DateTime" did not work for me.
@rkoshak proposed two options in this post:
https://community.openhab.org/t/error-timeinmillis-is-not-a-member-of-java-time-zoneddatetime/53079/3
Both worked for me.
I have therefore replaced the existing code with rlkoshak's two options.
* Update rules-dsl.md
Signed-off-by: Rudolf Allgaier <meinpcpostfach@yahoo.de>
* 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>
This applies to OH 2.3, not sure how to back port it.
While I was here, I also added a warning that if one uses received command, one cannot use ItemName.state and should instead use receivedCommand.
Signed off by Richard Koshak <rlkoshak@gmail.com>
Addresses #758
* Textual Rules -> Rule Name Uniqueness
Add information on requirement for uniqueness of rule names.
Signed-off-by: Garry Mitchell garrymitchell@my105e.com (github: ConfusedTA)
* Textual Rules -> Rule Name Uniqueness
Amended per suggestions to include rule details as a list, tweak of wording, and amendment of sample rules to follow suggestion of wrapping quotes around rule names.
Signed-off-by: Garry Mitchell garrymitchell@my105e.com (github: ConfusedTA)
* Textual Rules -> Rule Name Uniqueness
Amend rule syntax, make syntax sections into a list.
Signed-off-by: Garry Mitchell garrymitchell@my105e.com (github: ConfusedTA)
* Textual Rules -> Rule Name Uniqueness
Updated based upon suggestions to further clarify points.
Signed-off-by: Garry Mitchell garrymitchell@my105e.com (github: ConfusedTA)
* Update rules-dsl.md
The change of the code is at https://github.com/eclipse/smarthome/pull/3001
After this commit, the end user can find the documentation about how to react
to thing status change in the rule.
Bug: #517
Incorporate more pull request feedback.
Signed-off-by: Maoliang Huang <hellomao@outlook.com>
* add section on type conversion
Addressing issue #472 and incorporating discussions from PR #469; work is based in contributions by @rkoshak https://community.openhab.org/t/type-conversions/32684
Fixed html anchors; changed text regarding example rules at the end to match new content
* added more webhooks, fixed URL
Added some more webhooks
Fixed URL to use {{base}}
* more text clean-up
Tightening of text, adherence to one line per sentence rule, etc
* moved text, adjusted heading levels, added example
Moved proposed text to immediately after "Manipulating item states", adjusted header levels to match new location, added example to PointType using strings
* improved formatting, common structure, switch text
Added blank lines around code blocks, added text to Switch Item to make it stand-alone, improved common structure; deleted all examples of use of postUpdate and sendCommand as they are already dealt with in section above.
Signed-off-by: Markus Lipp lipp.markus@gmail.com (github: LightIsLife)
* Add transformations section to rules-dsl
Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>
* Attend to comments, part 1
Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)
* Attend to comments, part 2
Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)
* Attend to comments, part 3
Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>
Like discussed in #434:
Fixed/Improved the toc configuration for the Editors article
Fixed broken ESH Designer urls in 3 pages
Signed-off-by: Jerome Luckenbach <github@luckenba.ch> (github: @Confectrician)
* Moved Syntax Highlighting page from openhab1-addons wiki into user manual
Signed-off-by: Jerome Luckenbach <github@luckenba.ch> (github: @Confectrician)
* Cosmetic improvements according to the PR Discussion
Signed-off-by: Jerome Luckenbach github@luckenba.ch (github: @Confectrician)
* Some Improvements from the feedback of @ThomDietrich.
More to come.
Signed-off-by: Jerome Luckenbach <github@luckenba.ch> (github: @Confectrician)
* General:
Added some introduction sentences.
Updated Notepad++ "installation" section
Eclipse SmartHome Designer:
Moved ESH article from installation category to editors page.
Additionally removed the navigation menu entry and updated all references to other articles and moved used images in the now necessary folder.
Signed-off-by: Jerome Luckenbach <github@luckenba.ch> (github: @Confectrician)
* Improvement due to requested change
"First letter of a line capital pls"
Signed-off-by: Jerome Luckenbach <github@luckenba.ch> (github: @Confectrician)
* Requested Name and capital Letter changes.
Signed-off-by: Jerome Luckenbach <github@luckenba.ch> (github: @Confectrician)
* Updated mcedit section.
Signed-off-by: Jerome Luckenbach <github@luckenba.ch> (github: @Confectrician)
* - Requested changes by ThomDietrich
- Additionally shortenend the "Others" Section
Signed-off-by: Jerome Luckenbach <github@luckenba.ch> (github: @Confectrician)
* Typo correction and intro text update to current headlines.
Signed-off-by: Jerome Luckenbach <github@luckenba.ch> (github: @Confectrician)
* - Defined headanchor explicitly
- Added designer.md file with a redirection to the new editors page.
- Removed some sentences of the introduction
- Changed the "Others" headline
Signed-off-by: Jerome Luckenbach <github@luckenba.ch> (github: @Confectrician)
* Add stable anchors
Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)
* Adding description on using sendCommand/postUpdate
The use of sendCommand and postUpdate in rules is explained with an emphasis on discouraging the generic method sendCommand(Item,arg) over the method Item.sendCommand(arg) that provides much more reliable type conversions. Details as to the background have been added
Signed-off-by: lipp.markus@gmail.com (github: LightIsLife)
* Adding description on using sendCommand/postUpdate fixes#185#469
Addressing comments by @rkoshak on commit 042dae745c
Signed-off-by: lipp.markus@gmail.com (github: LightIsLife)
* Updating language/editorial changes
Some editorial changes throughout, and added more consistency in the use of "" where new_state has to be a string (in actions) and no quotation marks where this is not mandated (in methods).
Signed-off-by: Markus Lipp <lipp.markus@gmail.com> (github: LightIsLife)
* Addressing comments made
Addressing all comments by @ThomDietrich: sentences are shortened and simplifies, heading capitalized and modified, text overall slightly shortened, etc
* fixed typo
just fixing a few typos
* made sentences shorter
Sentences shortened to address comments received
* one line per sentence reformatting
Adjustment as per style convention to each sentence begins on its own line
* Add some further clarification
Signed-off-by: Thomas Dietrich <thomas.dietrich@tu-ilmenau.de> (github: ThomDietrich)
* moved section to scripts, deleted details
Addressing comments by @thomdietrich.
Moved the whole new section (Manipulating item states) into exisiting section "Scripts"
Deleted the paras under "Details"
* Correct linter warning ins config articles, part 1
Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>
* Finish configuration linter corrections
Signed-off-by: Thomas Dietrich <Thomas.Dietrich@tu-ilmenau.de>
* Add note on 'System started' trigger
The 'System started' trigger causes actions to execute when the system is started (i.e. a reboot). But the trigger also fires when alterations are made to any rules files. This could lead to unanticipated system behavior, since users may expect that the only time the trigger would fire is when the system initializes for the first time.
Sign-off: Signed-off-by: Brad Gilmer brad@gilmer.tv (github: bgilmer77)
* Clarify description of system-based triggers
Signed-off-by: Brad Gilmer <brad@gilmer.tv> (github: bgilmer77)
* Correct openHab to openHAB
Signed-off: Brad Gilmer <brad@gilmer.tv> (github:bgilmer77)
* Modifed per comments by @ThomDietrich
Signed-off: Brad Gilmer <brad@gilmer.tv> (github:bgilmer77)