Closed lptr closed 6 months ago
Moved MQTT configuration to mqtt-config.json where the server and client certs can be specified, like so:
mqtt-config.json
{ "host": "motherhen.kertkaland.com", "port": 8883, "serverCert": [ "-----BEGIN CERTIFICATE-----", // ... "-----END CERTIFICATE-----" ], "clientCert": [ "-----BEGIN CERTIFICATE-----", // ... "-----END CERTIFICATE-----" ], "clientKey": [ "-----BEGIN RSA PRIVATE KEY-----", // ... "-----END RSA PRIVATE KEY-----" ] }
There is now also a location property in device-config.json, as devices connecting directly to the server need to specify where they are:
location
device-config.json
{ "instance": "test-mk6-2", "location": "test-zone", "peripherals": [ // ... ] }
Moved MQTT configuration to
mqtt-config.json
where the server and client certs can be specified, like so:There is now also a
location
property indevice-config.json
, as devices connecting directly to the server need to specify where they are: