SignalK subscribing to MQTT broker

448 views
Skip to first unread message

Val Vechnyak

unread,
Apr 10, 2021, 4:44:04 PM4/10/21
to Signal K
Im sending data to MQTT broker and can browse it using MQTT explorer. I cant figure out how to configure SignalK to subscribe to that data (a.k.a display it on the dashboard).

Thanks

Val

Afriansyah [Gmail]

unread,
Apr 11, 2021, 5:04:10 AM4/11/21
to sig...@googlegroups.com
Hi,
I don't familiar in mqtt but i think it's same with rabbitmq. it's also using json format as output, but maybe it's different format than signalK requirement as an input. So I think you can try to modify the message.


Thanks


--
You received this message because you are subscribed to the Google Groups "Signal K" group.
To unsubscribe from this group and stop receiving emails from it, send an email to signalk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/signalk/1e339a8b-02eb-4b32-9b7c-1e710f96e483n%40googlegroups.com.

Val Vechnyak

unread,
Apr 11, 2021, 9:00:28 AM4/11/21
to Signal K
Thank you. yes, I am already able to send and receive the data to the broker.  I just cant figure out how to make it appear in the SK web interface.
Message has been deleted

Val Vechnyak

unread,
Apr 11, 2021, 11:13:17 AM4/11/21
to Signal K
I figured it out. I had to publish my data under the same "topic" as already being used there.....i.e. vessels/self/sensors. I havent found any other way and wish there was more flexibility but I guess for now this is fine.

Ray Smythe

unread,
Apr 11, 2021, 11:51:19 AM4/11/21
to Signal K
Great to see a solution.  Makes sense that data needs to be grouped into the topics SD expects and supports.

afria...@gmail.com

unread,
Apr 11, 2021, 2:12:19 PM4/11/21
to Signal K
awesome...nice to see you figure it out.

Val Vechnyak

unread,
Apr 11, 2021, 2:40:55 PM4/11/21
to sig...@googlegroups.com
Could you point me to any documentation on this?. I'd like to understand more about what data SK supports.

Afriansyah [Gmail]

unread,
Apr 11, 2021, 2:59:17 PM4/11/21
to sig...@googlegroups.com
So far it's using UTF-8 JSON  via websocket. you can check it on http://signalk.org/specification/1.5.0/doc/data_model.html 

Thanks

Reply all
Reply to author
Forward
0 new messages