diff --git a/addons/dhcp_server/index.html b/addons/dhcp_server/index.html index 415862c6b1..87245bcd59 100644 --- a/addons/dhcp_server/index.html +++ b/addons/dhcp_server/index.html @@ -112,7 +112,7 @@ - broadcast (Required): Network broadcast address. - gateway (Required): A List of gateways.
eth0 for ethernet wired connection and wlan0 for wireless connection.eth0 for ethernet wired connection and wlan0 for wireless connection.The recorder component is storing details in a database which then are handled by the history component.
Home Assistant uses SQLAlchemy as Object Relational Mapper (ORM). This means that you can now use any SQL backend for the recorder that is supported by SQLAlchemy, like MySQL, MariaDB, or PostgreSQL.
+Home Assistant uses SQLAlchemy as Object Relational Mapper (ORM). This means that you can now use any SQL backend for the recorder that is supported by SQLAlchemy, like MySQL, MariaDB, PostgreSQL, or MS SQL Server.
The default database engine is SQLite which doesn’t require any configuration. The database is stored in your Home Assistant configuration directory (.homeassistant) and called home-assistant_v2.db.
To setup the recorder component in your installation, add the following to your configuration.yaml file:
# Example configuration.yaml entry
@@ -177,6 +177,10 @@
PostgreSQL
postgresql://scott:tiger@SERVER_IP/DB_NAME
+
+ MS SQL Server
+ mssql+pymssql://user:pass@SERVER_IP/?charset=utf8
+
Installation notes
@@ -201,6 +205,18 @@
$ pip3 install psycopg2
For MS SQL Server you may have to install a few dependencies:
+$ sudo apt-get install freetds-dev
+$ pip3 install pymssql
+
+If you are in a virtual environment, don’t forget to activate it before installing the pymssql package.
+$ sudo su -s /bin/bash homeassistant
+$ source /srv/homeassistant/bin/activate
+$ pip3 install pymssql
+
+