- Posts: 27
- Thank you received: 0
Help with MQTT
- ffneil@comcast.net
- Topic Author
- Offline
- User
-
Less
More
2 years 4 months ago #1857
by ffneil@comcast.net
Help with MQTT was created by ffneil@comcast.net
I am able to publish topics and see them in the logs. I am having an issue with subscribing, When I try to subscribe to anything I get client session is unknown.
21/03/2024 21:09:45.09 · DEBUG · Server.doCommand - MqttPublish|timis~{{current_second}} from21/03/2024 21:09:45.09 · DEBUG · Server.doCommand - MqttPublish|timis~4521/03/2024 21:09:47.09 · DEBUG · Server.doCommand - MqttSubscribe|timeis from dashboard-fx-3sif21/03/2024 21:09:47.09 · ERROR · MqttServer.Subscribe - Error in MoveNext at line #138:5 - Client session 'timeis' is unknown.
21/03/2024 21:09:45.09 · DEBUG · Server.doCommand - MqttPublish|timis~{{current_second}} from21/03/2024 21:09:45.09 · DEBUG · Server.doCommand - MqttPublish|timis~4521/03/2024 21:09:47.09 · DEBUG · Server.doCommand - MqttSubscribe|timeis from dashboard-fx-3sif21/03/2024 21:09:47.09 · ERROR · MqttServer.Subscribe - Error in MoveNext at line #138:5 - Client session 'timeis' is unknown.
Please Log in to join the conversation.
- davep
- Offline
- Admin
-
Less
More
- Posts: 367
- Thank you received: 96
2 years 4 months ago - 2 years 4 months ago #1871
by davep
Replied by davep on topic Help with MQTT
The subscribe command actually requires two parameters the server to subscribe to and the topic to be subscribed. However, the command only accepts the topic. This will be fixed in the next server update.
Last edit: 2 years 4 months ago by davep.
Please Log in to join the conversation.
- davep
- Offline
- Admin
-
Less
More
- Posts: 367
- Thank you received: 96
2 years 4 months ago #1896
by davep
Replied by davep on topic Help with MQTT
The server that was just released fixes the MQTTSubscribe and MQTTUnsubscribe commands. In addition incoming MQTT data will automatically be parsed to server variables if there is no driver that knows how to consume the topic.
Please Log in to join the conversation.
Time to create page: 0.171 seconds