I'm trying to follow your "Getting started" and Tutorial but am having problems with the execution of the script.
The Command python3 -m /opt/IOTConnect/iotconnect
gives me the error: /usr/local/bin/python3.8: No module named /opt/IOTConnect/iotconnect
Can you help me with this issue? Probably nothing in your Script but related to me not knowing python very well.
Scecond uncertanty for me is the config.josn file. I don't see any example of how to insert the monitors or publishers.
Below is my try of monitoring the Ioniq and publishing through mqtt.
Is it possible to publish without User and Password or do I need to configure this in my mqtt broker?
Is the Broker "localhost" possible?
{
"publishers":[
{
"class": "iotconnect.publishers.mqtt.MQTTPublisher",
"broker": "localhost",
"port": 1883,
"topic_prefix": "Ioniq/",
"connection_retries": 3,
"qos": 1,
"retain": true
}
],
"monitors":[
{
"class": "iotconnect.monitors.noop.NoopMonitor",
"interval": 10
}
{
"class": "iotconnect.monitors.ioniqev.IoniqEVMonitor",
"interval": 5
}
]
}
Thanks a lot in advance for your script and the work you have already done in this project :)