This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MQTT data manipulation
#7
(2019-05-13, 04:10 PM)KKempeneers Wrote: Well ... I made it so that it is interpreted as an integer by now, the revolutions are now read as an integer by MQTT (Just by selecting the correct Signal K key, see below)



Data is read correctly with just a few bytes network load. (see below) I will try the UDP solution and compare. 



When it was treated as text i could read the key and the data in KIP, now i can't anymore. 

Koen

Bit confused how you've managed to convert from  a string to integer? MQTT is sent as text, just the way it is apparently. Unless the openplotter mqtt tab somehow converts the text value to numerical? I just had a play with node red sending revs as an integer and a string. KIP seems a bit picky when you change path data formats, try setting a widget to blank then back to text and another to blank then  numerical, text values will show up as available path in a text widget. Engine2 below is a text value sent over signalk. 


[Image: 4fJtGCR.png]
Reply


Messages In This Thread
MQTT data manipulation - by KKempeneers - 2019-05-12, 02:38 PM
RE: MQTT data manipulation - by jim321 - 2019-05-12, 07:44 PM
MQTT data manipulation - by PaddyB - 2019-05-13, 08:52 AM
RE: MQTT data manipulation - by KKempeneers - 2019-05-13, 12:05 PM
RE: MQTT data manipulation - by PaddyB - 2019-05-13, 12:15 PM
RE: MQTT data manipulation - by KKempeneers - 2019-05-13, 04:10 PM
RE: MQTT data manipulation - by PaddyB - 2019-05-13, 06:20 PM
RE: MQTT data manipulation - by KKempeneers - 2019-05-13, 07:53 PM
RE: MQTT data manipulation - by tkurki - 2019-05-14, 05:52 AM
RE: MQTT data manipulation - by KKempeneers - 2019-05-14, 10:20 AM
RE: MQTT data manipulation - by PaddyB - 2019-05-14, 11:11 AM
RE: MQTT data manipulation - by PaddyB - 2019-05-14, 09:45 AM
RE: MQTT data manipulation - by PaddyB - 2019-05-13, 08:30 PM
RE: MQTT data manipulation - by KKempeneers - 2019-05-14, 05:42 PM
RE: MQTT data manipulation - by KKempeneers - 2019-05-25, 08:47 AM
RE: MQTT data manipulation - by PaddyB - 2019-05-25, 05:45 PM
RE: MQTT data manipulation - by KKempeneers - 2019-05-26, 05:47 PM
RE: MQTT data manipulation - by PaddyB - 2019-05-26, 07:23 PM
RE: MQTT data manipulation - by PaddyB - 2019-05-27, 11:47 AM
MQTT data manipulation - by tkurki - 2019-05-27, 07:49 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)