We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
{ "state": "alert", "message": "Humidity: humid (50% - 70%)", "method": [], "timestamp": "2023-12-29T16:31:01.607Z" }
{ "state": "normal", "message": "Pressure is normal (96kPa - 104kPa)", "method": [], "timestamp": "2023-12-29T16:31:01.610Z" }
SignalK: 2.4.1 signalk-notifications: 1.1.1 @signalk/zones: 1.1.0 node: v18.18.2 npm: 9.8.1
The text was updated successfully, but these errors were encountered:
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);
Sorry, something went wrong.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: