Open mijnmodelbaan opened 5 years ago
Sorry for the Delay I was out of station.
I am using "mosquitto" myself it is working just fine. I will check and update you
@mijnmodelbaan,
I guess your configued Mqtt as secure connection mode, I have updated the code to use username, password for mqtt server.
Get latest and update the mqtt server config and let me know, check on the mqtt server you should see vir_tasmota_001 client connected
Update the following MQttserver information in the "Utility.js"
Utility.mqttServer = 'mqtt://xxx.xxx.x.xxx:yyyy';
// Mqtt server ip and portUtility.mqttUsername = 'xxxxxx';
// Mqtt server usernameUtility.mqttPassword = 'xxxxx';
// Mqtt server usernameUtility.mqttUseSequreLogin = true;
// set true to use mqtt with username and passwordUtility.mqttClientId = 'vir_tasmota_001';
// Mqtt client nameHi, Thanks for your answer and effort and I'll give it a try. Is the client name 'vir_tasmota_001' mandatory or can I change it ? BR//Willem.
@mijnmodelbaan,
you can change it will be use to display on mosquitte server as client "youname" connect with ip address that is all. this is to identify your client connect by default it will named as nodejs_somerandom numbers
@mijnmodelbaan, Any update ?
No update, yet. Very busy with other stuff, it'll have to wait.
Hi,
I would like to use my existing MQTT server (mosquitto) with your program. Is this possible and if yes, how do I accomplish that? I'm not really Raspberry/Linux savvy so I need some guidance in this.
I already tried to put the IP number of my server in Utility.js, but then I get the following error:
I would like to use my existing MQTT server as there are other devices and programs using it.
Thanks for a reply.