eh50
(Ezra)
March 25, 2019, 6:05pm
1
Hey guys,
I’ve read all the different topics about remote databases.
What i’d like to do is host a local Mysql server and use SSL, now all the guides only use non SSL.
Also the recorder config options dont mention the use of SSL.
Any advise?
Kind regards,
Ezra
By the looks of it SSL isn’t supported:
Compare it to the MQTT component for example and you’ll see options for SSL certificates, etc.
It may be worth asking for it in feature requests, it would be nice to have some extra security IMO
yonz2
(Yonz)
April 30, 2020, 10:11pm
3
If you have setup your database and database user to use SSL simply add ;ssl=true
to the db_url line in your configuration.yaml:
recorder:
commit_interval: 10
db_url: mysql://mydb_name:mydb_PW@mydb_server.com/mydb_name?charset=utf8;ssl=true
exclude:
domains:
- automation
- updater
entities:
- sun.sun # Don't record sun data
- sensor.last_boot # Comes from 'systemmonitor' sensor platform
- sensor.date
Yonz
eh50
(Ezra)
May 1, 2020, 7:07am
4
Thanks man! Btw commit interval is in seconds or minutes?
yonz2
(Yonz)
May 2, 2020, 10:21am
5