Open nadrog opened 11 months ago
OK, I fixed it on my installation by checking whether position is null and using coordinates 0,0 instead. The error is here: index.js:147.
The following code works but is of course far from elegant:
if ( position === null || position.latitude === null || position.longitude === null ){
lat = 0;
lon = 0;
} else {
lat = position.latitude;
lon = position.longitude;
}
updateDatabase(ts, lat, lon, path, value.state, value.message);
I see the following two notifications in the Data Browse (they were created by @signalk/zones), but I don't see anything in Notification Manager.
notifications.environment.inside.humidity:
notifications.environment.inside.pressure:
SignalK: 2.4.1 signalk-notifications: 1.1.1 @signalk/zones: 1.1.0 node: v18.18.2 npm: 9.8.1