Inverted comma for signal value - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: Bug Reports (https://forum.openmarine.net/forumdisplay.php?fid=4) +--- Thread: Inverted comma for signal value (/showthread.php?tid=1865) |
Inverted comma for signal value - hectorl2k - 2019-07-01 i am usine wilhelmsk on my iPad and the signal give the value inside inverted comma. So the value is not recognized How to take them out ? Please see below : Connection Log: Config: Host: 192.168.0.124 Port: 3000 REST: http http://192.168.0.124:3000/signalk/v1/api/ WS: ws://192.168.0.124:3000/signalk/v1/stream SSL: NO Connecting to websockets with ws://192.168.0.124:3000/signalk/v1/stream?stream=delta&subscribe=all Sent GET http://192.168.0.124:3000/signalk 200 Received json: { endpoints = { v1 = { "signalk-http" = "http://192.168.0.124:3000/signalk/v1/api/"; "signalk-tcp" = "tcp://192.168.0.124:8375"; "signalk-ws" = "ws://192.168.0.124:3000/signalk/v1/stream"; version = "1.16.0"; }; }; server = { id = "signalk-server-node"; version = "1.16.0"; }; } Vessel Data: { "environment" : { "outside" : { "humidity" : { "meta" : { "units" : "ratio", "description" : "Current outside air relative humidity" }, "value" : "0.332000", "$source" : "OPnotifications.MQTT.humidite", "timestamp" : "2019-06-30T21:14:54.102Z", "values" : { "OPnotifications.MQTT.humidite" : { "value" : "0.332000", "timestamp" : "2019-06-30T21:14:54.102Z" } RE: Inverted comma for signal value - PaddyB - 2019-07-01 MQTT is all text so even if the value is being sent as a number from your arduino MQTT turns it into a text string. Easier to send data signalk, it will stay as a number. |