mqtt2sql config #19
Replies: 3 comments 2 replies
-
You edited the program and also in a wrong way. To call a local program copy don't touch mqtt2sql.py, use parameter and/or a conf file as described here. To start the unchanged copy of mqtt2sql.py using your own parameter either a) using Program parameter b) altenatively put the parameter into a conf file e.g. create a text file called
and start the program using
To get a complete list of parameter use |
Beta Was this translation helpful? Give feedback.
-
sorry, your program changes confused me, mqtt_url is an internal identifier not a valid (unrecognized) argument but reading
so use BTW:
your if 127.0.0.1 works for PS: I updated the program with a small fix but that's unrelated to your question. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Hello,
I have installed the the scripts.
Now i have a problem, i have a error message in line 100:
mqtt-exclude-topic: None
in the mqtt2sql.py
'mqtt_url': 'mqtt://localhost/#',
'mqtt-topic': devices/id_MEM6REM6N0U6RTU6NTE6MDg/#,
'mqtt-exclude-topic': None,
'mqtt-cafile': None,
'mqtt-certfile': None,
'mqtt-keyfile': None,
'mqtt-insecure': False,
'mqtt-keepalive': 60,
'mqtt-connect-timeout':500,
I do not know what is wrong.
I do not use a username and password in the mqtt.
No exclude topics
no certfile or keyfile
Beta Was this translation helpful? Give feedback.
All reactions