2019-07-01, 02:08 PM
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"
}
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"
}