-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
eCompass and temperature not working #27
Comments
Together with @UserMacUseface, we are also wondering why it would not work yet. I think I did not use the eCompass yet when conceiving this library, but I am almost sure I received valid readings for temperature and battery level in the past. May I ask more details about your device? When did you buy it? Which firmware version does it run? Did you upgrade the firmware once already, or is it a vanilla device? Does it work when using the accompanying smartphone app? P.S.: Same questions to you, @UserMacUseface. Thank you already! |
Can I ask you both to invoke the program with the calypso-anemometer/calypso_anemometer/core.py Lines 245 to 255 in 1067532
|
I bought my Calypso (the one you can see in picture of the README file here) recently.
I didn't executed a FW-Upgrade yet. |
Will check the outcome later, since I've to leave it for today as it is but I attached the debug logs. :) calypso_explore_debug.txt |
Thank you very much. It may make sense to add the
Sorry for missing this. |
infoFrom the info debug output, I can see the eCompass should be turned on. The response bytes for ( Those lines within the explore output also indicate that the eCompass is turned on.
readWithin the read output, those are the relevant lines where the actual reading at
exploreLast but not least, this is the corresponding conversation about the reading from the explore output. Here, the 10 byte reading response
|
Just to make sure: We do not see a regression here, do we? So, version 0.5.1 displays the same output? It can be installed using ^^ Edit: Probably not relevant, as the reading seem to be conducted properly, but |
Better question:
|
For custom BLE conversations and explorations, I found the nRF Connect for Mobile application (latest apk) very comprehensive and useful when investigating some BLE GATT ESS characteristics the other day 1. It may also help in this case, in order to have a third BLE client application around, to be able to compare between each other. Recap:
The application is also displayed within the Calypso Ultrasonic developer manual. Footnotes |
Here we are from my side: |
Here with compass: |
This is the info from my device:
I did recently run a firmware upgrade. |
@UserMacUseface: Thanks for sharing your debug logs. Your reading read
explore
|
Well with calypso-anemometer --debug read --compass=on I always get 0 values for wind However when invoking read with --subscribe , I get proper values. |
Hi again. GH-28 has some important information about the compass, its intention, and quality. On the matter here, the FAQ has a few interesting items: Q: I am going to install my device, is it necessary to recalibrate it?A: Yes. You need to calibrate your compass depending on your geographical area to compensate Q: I calibrate the compass but it doesn't work fine.A: Repeat compass calibration turning the device slower, to minimize deviation. Still, this is a secondary sensor and it will not deliver the features of a professional dedicated compass. |
@UserMacUseface: Those lines from your explore debug output indicate that the eCompass indeed pretends to be turned on already.
|
Once more,
#27 (comment) says:
Combined with what we learned here and at GH-28, I'd say it's clear that even though Calypso used to clearly state in the earlier documentation what expectations you can have about this sensor, they now stopped promoting the sensor at all. Of course, I then wonder why they still have the values displayed in their app at all. |
Apparently, there has been corresponding machinery in an earlier version? -- https://r-p-r.co.uk/downloads/calypso/Anemotracker_App.pdf, p. 9 |
That should make us remove compass and temp. |
Indeed. But not anymore, guess why ... :) |
I am excited what @honigwald will report about this. |
[1] also has excellent information about this topic.
|
Tried to calibrate the compass using the nRF connect mobile application to no avail. |
Hi! Sorry that it took me some time to test/reply. On the other hand, I was able to gather information about the battery level, so no clue why we're not able to collect this data through the py-libary, too. Or did I miss something? |
eCompassThank you also for reporting back. I think we can cancel our quest for the eCompass, right. @UserMacUseface is trying to get some more feedback from Calypso about it. Battery levelObservationOn the "battery level" reading, @UserMacUseface also found that the device responds with zero (0x00) within the response when reading the "Heart Rate Control Point" characteristic InvestigationsOn the other hand, he discovered that the device may use the generic Battery Level characteristic Maybe the newer firmware releases are encoding the data differently. Using a standard characteristic is a good thing in general, but we will need to adjust the driver. DetailsThis is the corresponding part of the explore log of your devices:
Those are the decoded values: >>> int.from_bytes(b'd', byteorder='little', signed=False)
100
>>> int.from_bytes(b'^', byteorder='little', signed=False)
94 |
Hi again,
In the same spirit, your devices now seem to use the generic Environmental Sensing Service
With kind regards,
|
Hi again, we have a few news. Calypso is now designating the Developer manual 1.0, called CALYPSO ULTRASONIC Portable Solar & Mini Developer Manual, as the official one. Also, we received those statements:
With kind regards, References |
Thanks again, @amotl! Calypso didn’t respond to my mail request until now. I’m a little bit sad that they removed? eCompass, but good to know that they changed to another official dev guide. |
Hi all, Received on 09.03.2023:
Looks like there is no chance to activate something, which is not present anymore...very sad, that they removed the hardware without notice. |
Hi there,
at GH-12, we were aiming to unlock eCompass readings. However, @UserMacUseface, and @honigwald 1 both reported that compass- and temperature readings do not work yet with the recent 0.6.0 release. Bummer.
With kind regards,
Andreas.
Footnotes
https://github.com/maritime-labs/calypso-anemometer/issues/14#issuecomment-1445030260 ↩
The text was updated successfully, but these errors were encountered: