Будите упозорени, страница "Configuration"
ће бити избрисана.
All settings are stored in the file HAServer.exe.config. Below is an example of such a config:
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="mqttHost" value="localhost" />
<add key="mqttQoS" value="2" />
<add key="mqttRetain" value="true" />
<add key="mqttBaseTopic" value="home" />
<add key="webUiPort" value="8068" />
<add key="webUiPath" value="WebUI" />
</appSettings>
</configuration>
As you can see, the settings are stored in an appSettings section.
Here is a description of each setting:
Here are some example settings to configure a virtual host should you be running an apache site and want to access the web interface externally
ServerAlias homeautomation.example.org
ProxyPreserveHost On
ProxyRequests Off
ProxyPass /api ws://localhost:8068/api
ProxyPassReverse /api ws://localhost:8068/api
ProxyPass / http://localhost:8068/
ProxyPassReverse / http://localhost:8068/
Будите упозорени, страница "Configuration"
ће бити избрисана.