fichiers de configurations

  • openhab_default.cfg
  • ${openhab_home}/configurations
  • ${openhab_home}/configurations/sitemaps
  • /etc/openhab/logback.xml
  • /etc/openhab/configurations
  • /var/lib/openhab
  • start
 sudo systemctl start openhab
 sudo /etc/init.d/openhab start
  • stop
 sudo systemctl stop openhab
 sudo /etc/init.d/openhab stop

bug permissions

  • [ERROR] [.o.core.internal.CoreActivator] - Couldn't create file 'webapps/static/version'. webapps/static/version (Permission non accordée)
chown -R openhab:openhab /var/lib/openhab/webapps/static
  • - Couldn't create file 'webapps/static/version'. webapps/static/version (Permission non accordée)

pour augmenter le niveau de log afin de detecter les problemes de openhab

editer le fichier /etc/openhab/logback.xml et remplacer

<logger name="runtime.busevents" level="INFO" additivity="false">


 <logger name="runtime.busevents" level="DEBUG" additivity="false">

# sets refresh interval to Modbus polling service. # Value in milliseconds (optional, defaults to 200) modbus:poll=1000

# host (mandatory) modbus:tcp.slave1.connection=

# The data, can be “coil” “discrete” “holding” “input” modbus:tcp.slave1.type=coil

# the TCP port (optional, defaults to '502') modbus:tcp.slave1.port=1030

# The slave id (optional, defaults to '1')

# The slave start address (optional, defaults to '0') modbus:tcp.slave1.start=100

# The number of data item to read # (optional, defaults to '0' - but set it to something meaningful) modbus:tcp.slave1.length=5

# Value type, required for combined registers (details: http://www.simplymodbu$ # Can be “bit”, “int8”, “uint8”, “int16”, “uint16”, “int32”, “uint32”, “float3$ # (optional, defaults to 'uint16') modbus:tcp.slave1.valuetype=uint16

  • /var/www/vhosts/
  • Dernière modification: 2020/01/31 12:20
  • (modification externe)