macless-haystack icon indicating copy to clipboard operation
macless-haystack copied to clipboard

can only obtain the location once a day

Open 11wanqin opened this issue 1 year ago • 6 comments

I'm using the firmware of ESP32, with the service deployed on WSL, and everything is running smoothly. However, I can only obtain the location information approximately once a day. Below are the outputs from ESP32 and the service: image image

11wanqin avatar Apr 14 '24 11:04 11wanqin

Hello @11wanqin ,

it seems there are some changes in the setting of the mac-address (the firmware sets a random address on each key change). I will dig into it, when I have time.

How many keys are you using?

dchristl avatar Apr 15 '24 11:04 dchristl

Hello @11wanqin ,

it seems there are some changes in the setting of the mac-address (the firmware sets a random address on each key change). I will dig into it, when I have time.

How many keys are you using?

Thank you for your reply. I used the key generated by generate_keys.py, so there should only be one. Here is the data for the key: image

11wanqin avatar Apr 16 '24 01:04 11wanqin

It seems like your key or flashing process didn't work properly. Your generated key consists only of FF FF, which indicates a faulty structure. Consequently, the Mac address doesn't match either, as it's generated from the key. Honestly, I'm surprised it even works at all. Could you try flashing again from scratch and post the command and output?

dchristl avatar Apr 21 '24 12:04 dchristl

I created my first tag with more than one (10) key about 30 hours ago. Have had one location report since and that's it. I think there might be something wrong with either the firmware or key rotation recognition. Nrf51.

supaeasy avatar May 08 '24 06:05 supaeasy

@supaeasy for me there are no problems. have you tried to go to a place with some people? maybe there are not enough devices around you?

dschense avatar May 08 '24 16:05 dschense

I was at the office today carrying two trackers with me. One was updated very reliably and the other one not at all. Maybe a faulty device or corrosion, it got a little wet yesterday. Will do further testing over the weekend.

supaeasy avatar May 08 '24 16:05 supaeasy

It seems like your key or flashing process didn't work properly. Your generated key consists only of FF FF, which indicates a faulty structure. Consequently, the Mac address doesn't match either, as it's generated from the key. Honestly, I'm surprised it even works at all. Could you try flashing again from scratch and post the command and output?

Sorry, I've been a bit busy recently. After re-downloading the program to the ESP32 according to your suggestion, everything is running smoothly. The location information updates approximately every 20 minutes. Snipaste_2024-05-22_19-46-57 Uploading Snipaste_2024-05-22_23-10-21.png…

11wanqin avatar May 22 '24 15:05 11wanqin