Run mqtt locally? - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3) +--- Thread: Run mqtt locally? (/showthread.php?tid=806) Pages:
1
2
|
RE: Run mqtt locally? - PaddyB - 2017-10-15 (2017-10-14, 10:55 PM)shark24 Wrote:(2017-10-14, 07:47 PM)PaddyB Wrote: Just had another thought - is there any kind of mqtt - signalk converter around.? Maybe not, bit of a vague conversion. Thanks, missed that. Though yet again openplotter is ahead of the game, it does it already In this example if you send a mqtt message to topic testsig then openplotter will map the value to signelk for you. Could be handy for sending from an esp8266 without having to write a full signalk delta , just send a mqqtt value. @Sailoog - does this work the other way round? Can you send a mqtt message from a signalk value in openplotter? I use node-red but if you could send from inside openplotter it might help anyone to monitor away from the boat without having to get into node-red. RE: Run mqtt locally? - Sailoog - 2017-10-15 (2017-10-15, 10:53 AM)Padd Wrote: @Sailoog - does this work the other way round? Can you send a mqtt message from a signalk value in openplotter? I use node-red but if you could send from inside openplotter it might help anyone to monitor away from the boat without having to get into node-red. Yes you can. Set a general MQTT topic "xxx" and create an action "Publish on topic: xxx", press "Add Signal K key" button and select the key you want to be published. There is another way using the signal k plugin "signalk-mqtt-gw" on signal k app store but I have not played with it yet. RE: Run mqtt locally? - PaddyB - 2017-10-15 (2017-10-15, 01:04 PM)Sailoog Wrote:(2017-10-15, 10:53 AM)Padd Wrote: @Sailoog - does this work the other way round? Can you send a mqtt message from a signalk value in openplotter? I use node-red but if you could send from inside openplotter it might help anyone to monitor away from the boat without having to get into node-red. Nice, ta. Well there's an easy low bandwidth way to log data online for viewing on any web browser, send it as mqtt then write a simple dashboard on FRED to view it. RE: Run mqtt locally? - Tigress - 2019-04-05 (2017-10-14, 05:35 PM)Sailoog Wrote: You got it. Hi...sorry to be so thick-headed but which name and which password do i use for MQTT Remote Broker? I am trying to get to my Thingspeak channel with OP data from Kplex (such as GPS, Wind, Heading, etc.) but having trouble with the basics here. On Thingspeak they use terms such as ChannelID and Write API Key...where/how do I enter these terms? As noted above, the Topic box won't allow characters such as "/" which are required to properly connect with Thingspeak. Thanks! RE: Run mqtt locally? - jim321 - 2019-04-05 https://flows.nodered.org/node/node-red-contrib-thingspeak42 |