Welcome to MattzoBricks › Forums › MattzoBricks General Forum › Unable to connect rocrail to mosquitto.
- This topic has 3 replies, 3 voices, and was last updated 3 years, 1 month ago by
Károly Lónich.
-
AuthorPosts
-
-
September 16, 2021 at 11:29 #3750
xx xx
ParticipantHi all,
For the past few days I’ve been playing around with Mattzobricks. I’ve managed to get almost everything working, except for the connection between Rocrail and Mosquitto.Since there is little information about how to create this connection I was wondering if anyone can tell me how to accomplish this (on Windows 10).
My current steps are:
Download and install mosquitto.
Alter the mosquitto.conf:
allow_anonymous true
listener 1883Run mosquitto -c mosquitto.conf -v
Download and extract the zip for rocrail (64bit).
Run Desktoplink.com
Start rocview
-File
-Connect to
Hostname: localhost
Port: 8051
Create a new plan
-File
-Open workspace
-New directory
Configure rocrail for the new plan
-File
-Rocrail properties
-Tab Service
MQTT Service
Hostname: localhost (also tried 127.0.0.1 and the real ip-address)
Port: 1883
-Tab Controller
vcs-1
Hostname: localhost (also tried 127.0.0.1 and the real ip-address)
Port: 1883The error I keep getting:
mqtt broken socket
send() failed[10053]
cannnot write to socket errno=0
recv() failed[10053] size=1 read=0Anyone got any ideas how to solve these errors ??
-
September 17, 2021 at 22:14 #3751
xx xx
ParticipantFound the answer.
The mosquitto version I was using was v2.0.9. Rocrail requires the usage of a version prior to v2. -
September 23, 2021 at 18:25 #3757
Matthias Runte
KeymasterSomething like that. Check https://mattzobricks.com/automation/controllers/general, section “MQTT”.
-
September 23, 2022 at 11:55 #5412
Károly Lónich
ParticipantFor me it is working with Mosquitto version 2.0.15. I had to add a User ID under the Rocrail Properties->Service->MQTT Service.
-
-
AuthorPosts
- You must be logged in to reply to this topic.
