Skip to content

florian-h05/textastic-openhab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Textastic support for openHAB

These files introduce syntax highlighting, templates and finally, code-completion for openHAB in the Textastic iOS App.

Just copy the #Textastic folder in the root directory of your Textastic App and enjoy code completion!

Code completion

Currently, these code completions are supported:

  • Items:
    • Full item templating by typing the name of an item type, e.g. Switch, Rollershutter, Number
    • Binding configuration with these parameters:
      • channel
      • autoupdate
      • expire
      • homekit
  • Things:
    • KNX device with Thing KNX
    • KNX channel with Type KNX
  • Sitemaps:
    • Frame with frame
    • Text menu with text-menu
    • Elements with element
    • Element parameters:
      • setpoint
      • mappings
      • visibility
      • valuecolor
      • labelcolor

Just navigate through the values to set by using TAB, you can also delete them when they are highlighted.

Syntax Highlighting

Syntax highlighting for the openHAB configuration files is completely based on @reitermarkus work in reitermarkus/OpenHAB.tmbundle.

Templates

There are three really short templates for rules, persistence and sitemaps.

About

openHAB syntax and code-completion for Textastic iOS App.

Topics

Resources

License

Stars

Watchers

Forks