Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
co2ampel2
Web
Commits
7b77e079
Commit
7b77e079
authored
3 weeks ago
by
Gezer
Browse files
Options
Download
Email Patches
Plain Diff
added mqttx for debugging
parent
594f7de6
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+5
-0
README.md
docker-compose.yaml
+8
-1
docker-compose.yaml
with
13 additions
and
1 deletion
+13
-1
README.md
+
5
-
0
View file @
7b77e079
...
@@ -13,6 +13,11 @@ docker compose up // Startet des docker-compose.yaml in dem aktuellen Verzeichni
...
@@ -13,6 +13,11 @@ docker compose up // Startet des docker-compose.yaml in dem aktuellen Verzeichni
dieses projekt anschauen:
dieses projekt anschauen:
https://github.com/influxdata/iot-api-python
https://github.com/influxdata/iot-api-python
Added MQTTX to Docker compose for debuging (http://localhost:8081/)
make a new Connection to Localhost (localhost) port should be 1883 for mqtt not entcrypted
than subscribe to the co2/# topic
and debug
Json Format für die Nachrichten
Json Format für die Nachrichten
{
{
"metadata":{
"metadata":{
...
...
This diff is collapsed.
Click to expand it.
docker-compose.yaml
+
8
-
1
View file @
7b77e079
...
@@ -53,6 +53,13 @@ services:
...
@@ -53,6 +53,13 @@ services:
-
"
9001:9001"
-
"
9001:9001"
stdin_open
:
true
stdin_open
:
true
tty
:
true
tty
:
true
mqttx-web
:
image
:
emqx/mqttx-web
container_name
:
mqttx-web
ports
:
-
"
8081:80"
# Port 80 im Container auf 8081 lokal mappen
restart
:
unless-stopped
influxdb2
:
influxdb2
:
image
:
influxdb:2
image
:
influxdb:2
...
@@ -85,4 +92,4 @@ secrets:
...
@@ -85,4 +92,4 @@ secrets:
file
:
./services/influxdb/influxdb2-admin-token
file
:
./services/influxdb/influxdb2-admin-token
volumes
:
volumes
:
influxdb2-data
:
influxdb2-data
:
influxdb2-config
:
influxdb2-config
:
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets