Hostsystem: Raspbian Stretch auf einem Raspberry 3B
HomeGear-Image: rpi-homegear:latest
Ja, das Webinterface http://192.168.178.202:2001 sowie die Kommmunikation mit HomeAssistant und auch die REST API Aufrufe z.B.: via http://192.168.178.202:2001/api/v1/get/13/0/UNREACH funktionieren problemlos.
Bei mir verhält sich ja das ganze Docker Image etwas seltsam. Funktioniert bei mir ja nur mit einem etwas experimentellen Aufruf.
Siehe Thread: Docker: No family modules found in "/var/lib/homegear/modules/" / No xml files found in "/etc/homegear/devices/0/"
Meine ‘rpcservers.conf’ sieht so aus - Ich glaube nicht, dass ich Sie mal verändert habe.
[RPCServer1]
# Interface to bind the RPC server to. By default IPv4 and IPv6 are
# enabled. If you want to only use IPv4 set "interface" to "0.0.0.0".
# Default: interface = 0.0.0.0
interface = 0.0.0.0
# The port number to bind the RPC server to. This setting is mandatory.
port = 2001
# Enable Homegear's XML-RPC and binary RPC server on this port.
# Default: true
xmlrpcServer = true
# Enable Homegear's JSON-RPC server on this port.
# Default: true
jsonrpcServer = true
# Enable Homegear's build-in web server on this port
# Default: false
webServer = true
# Enable Homegear's REST server on this port
# Default: false
restServer = true
# Path to static web content used by the web server
# Default: /var/lib/homegear/www
contentPath = /var/lib/homegear/www/rpc
# Default: contentPathPermissions = 550
# contentPathPermissions = 550
# Default: contentPathUser =
# contentPathUser = homegear
# Default: contentPathGroup =
# contentPathGroup = homegear
# Enable Homegear's build-in WebSocket server on this port
# WARNING: Enabling Websockets without authentication is a high security risk!
# So make sure, webSocketAuthType is not set to none!
# Default: false
webSocket = true
# Set ssl to "true" to enable SSL support
ssl = false
# You can specify the authentication types you want to enable here.
# Can be one or more of the following (seperated by ","):
# - none: No authentication is required
# - basic: Use basic authentication
# - cert: Use certificate authentication (only works when "ssl" is "true")
# Default: authType = cert
authType = none
# You can specify the websocket authentication type here. Never ever use basic auth
# over an unencrypted connection!
# Can be one of the following: none, basic, session
# "session" checks for the PHP session variable "authorized", which must be set to
# "true" for the authentication to succeed.
# Default: webSocketAuthType = session
webSocketAuthType = session
# Comma separated list of accepted group IDs. Only relevant when authType or webSocketAuthType are specified.
validGroups = 1