decipherindustries / signalk-calypso-ultrasonic Goto Github PK
View Code? Open in Web Editor NEWSignal K server plugin for Calypso Ultrasonic wireless anemometer
License: Other
Signal K server plugin for Calypso Ultrasonic wireless anemometer
License: Other
On Raspberry Pi 3, Signal K Server 1.40.0
I am getting the following message:
Calypso Ultrasonic plugin for Signal K is using deprecated setProviderStatus/Error https://github.com/SignalK/signalk-server/blob/master/SERVERPLUGINS.md#appsetproviderstatusmsg
Then when it tries to process the BLE data from the Calypso Ultrasonic Wind sensor:
RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to write outside buffer bounds at boundsError (internal/buffer.js:47:11) at Buffer.readFloatForwards [as readFloatLE] (internal/buffer.js:487:5) at /home/pi/.signalk/node_modules/signalk-calypso-ultrasonic/lib/calypso-ultrasonic.js:399:43 at Characteristic.onRead (/home/pi/.signalk/node_modules/@abandonware/noble/lib/characteristic.js:45:9) at Characteristic.emit (events.js:198:13) at Noble.onRead (/home/pi/.signalk/node_modules/@abandonware/noble/lib/noble.js:439:20) at NobleBindings.emit (events.js:198:13) at NobleBindings.onRead (/home/pi/.signalk/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:411:8) at Gatt.emit (events.js:198:13) at Object.callback (/home/pi/.signalk/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:538:14) at Gatt.onAclStreamData (/home/pi/.signalk/node_modules/@abandonware/noble/lib/hci-socket/gatt.js:133:26) at AclStream.emit (events.js:203:15) at AclStream.push (/home/pi/.signalk/node_modules/@abandonware/noble/lib/hci-socket/acl-stream.js:33:10) at NobleBindings.onAclDataPkt (/home/pi/.signalk/node_modules/@abandonware/noble/lib/hci-socket/bindings.js:308:15) at Hci.emit (events.js:198:13) at Hci.onSocketData (/home/pi/.signalk/node_modules/@abandonware/noble/lib/hci-socket/hci.js:634:14)
Hi,
I am using the calypso-ultrasonic-portable plugin with with a raspberry pi4 running buster os with openplotter on the signalk node server.
The server scans, connects and returns data with my ULTRASONIC, it adjusts the select data rate accordingly, ie 1, 4, or 8 Hz (so it is writing to the ULTRASONIC to adjust the options) however, I cannot get it to turn the Compass ON by selecting “1” in the plugin options.
I have written a rudimentary python script with no error correction using bluepy (I am not a programmer by any means) to connect to and write to the ULTRASONIC in a terminal window outside of the signal node server and it does turn ON the Compass so the ULTRASONIC is working fine.
Can you offer any suggestions as to how to fix this and has anybody else had difficulty?
Also the connection to the ULTRASONIC in the plugin only seems to run for several minutes then drops out, it works continuously from the terminal.
Regards
Ken Hawes
In the SignalK dashboard, getting the error:
Failed to start: Cannot find module '/home/pi/.signalk/node_modules/@abandonware...
Dear Fabian,
thank you so much for sharing this implementation with the community. We just wanted to let you know we conceived a corresponding implementation in Python 12, which may also spark your interest. At 3, we added credits to the core decoding routine, because we found your decoding sheet 4 invaluable 💯.
With kind regards,
Andreas.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.