Sensirion / SmartGadget-Android

Deprecated and not maintained anymore. The Sensirion Smart Gadget app allows you to establish a BLE (Bluetooth Low Energy) connection to your Sensirion Smart Gadget. The app displays the current temperature and relative humidity values measured by the integrated sensors.
BSD 3-Clause "New" or "Revised" License
30 stars 15 forks source link

paired, but not discovered #36

Closed Cathryne closed 7 years ago

Cathryne commented 7 years ago

Hello!

I have two SHT31s, and the app v1.8.1 on a S4mini with CyanogenMod 13. The phone pairs with the SHT31s, but the app doesn't discover them under Settings > Connections > Smart Gadgets (screenshot from the app switcher at the bottom).

Whenever the app asks for Bluetooth permissions, I click allow. I tried in Flight mode and with all other apps closed. BLExplorer I sees "Smart Humigadget" & also connects. However, the Smart Gadget app scans without ever discovering the SHT31 :-(

What could be wrong here? What info can I provide to help the trouble-shooting? Thanks for any help with this issue :-)

img_20161126_111320 screenshot_20161126-115851 screenshot_20161126-111245

abrauchli commented 7 years ago

Hi Cathryne,

Thanks for posting here. Can you make sure that location is enabled in your settings > Location. It doesn't matter if it's set to "High precision", "battery saving" or "device only", but for some reason, the scan turns out empty otherwise. Also, you have to allow access to your location when asked - the message is misleading because the Smart Gadget app is not interested in your location (see source code) but in the device's hardware address.

A bit of background: When you get a device hardware addresses you could technically map those and/or look them up in a database to get a location, which is what the coarse location feature does.

Let me know if that helped.