-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add seeds and update certificate generation and document development …
…setup (#47)
- Loading branch information
Showing
5 changed files
with
87 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
echo "Initialize Certificate Authority called openSenseMapCA" | ||
certstrap init --common-name "openSenseMapCA" | ||
|
||
echo "Request a certificate called mqtt-integration_server" | ||
certstrap request-cert --common-name "mqtt-integration server" | ||
|
||
echo "Sign the requested certificated with the openSenseMapCA" | ||
certstrap sign --CA "openSenseMapCA" mqtt-integration_server |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,63 @@ | ||
[ | ||
{ | ||
"name": "Joe Smith", | ||
"email": "[email protected]", | ||
"age": 40, | ||
"admin": false | ||
}, | ||
{ | ||
"name": "Jen Ford", | ||
"email": "[email protected]", | ||
"age": 45, | ||
"admin": true | ||
"_id": "64ff1076088f2df36ed4d8ab", | ||
"createdAt" : "2023-06-23T10:50:48.246Z", | ||
"updatedAt" : "2023-09-11T11:35:12.838Z", | ||
"name" : "MQTT Test Device", | ||
"currentLocation" : { | ||
"timestamp" : "2023-06-23T10:50:48.241Z", | ||
"coordinates" : [ | ||
7.2123, | ||
51.4823 | ||
], | ||
"type" : "Point" | ||
}, | ||
"exposure" : "outdoor", | ||
"integrations" : { | ||
"mqtt" : { | ||
"enabled" : true, | ||
"messageFormat" : "json", | ||
"connectionOptions" : "", | ||
"decodeOptions" : "", | ||
"topic" : "test", | ||
"url" : "" | ||
}, | ||
"ttn" : { | ||
"decodeOptions" : [ ], | ||
"profile" : "sensebox/home", | ||
"dev_id" : "43369", | ||
"app_id" : "15649" | ||
} | ||
}, | ||
"access_token" : "c343eb5329cf80b1fc26b4943e52ab42d4ef699e17a0499ff2e1a69f3d7ab624", | ||
"useAuth" : true, | ||
"sensors" : [ | ||
{ | ||
"_id": "64ff1076088f2df36ed4d8ac", | ||
"title": "Temperatur", | ||
"unit": "°C", | ||
"sensorType": "HDC1080", | ||
"icon": "osem-thermometer" | ||
}, | ||
{ | ||
"_id": "64ff1076088f2df36ed4d8ad", | ||
"title": "rel. Luftfeuchte", | ||
"unit": "%", | ||
"sensorType": "HDC1080", | ||
"icon": "osem-humidity" | ||
} | ||
], | ||
"model" : "homeV2Wifi", | ||
"grouptag" : [], | ||
"locations" : [ | ||
{ | ||
"timestamp" : "2023-06-23T10:50:48.241Z", | ||
"coordinates" : [ | ||
7.2123, | ||
51.4823 | ||
], | ||
"type" : "Point" | ||
} | ||
] | ||
} | ||
] |