wangwillian0 / openhaystack

Interact with your own DIY AirTags!!!
https://find.willian.wang
GNU Affero General Public License v3.0
16 stars 2 forks source link

Webserver import #3

Open 23tom2323 opened 1 year ago

23tom2323 commented 1 year ago

Hello,

I'm currently testing a couple of ESP32 with the OpenHaystack firmware. Unfortunately there is a big problem with the mail plugin in the MacApp.

I am currently retrieving the coordinates using a Python script. python scripts/locations_cli.py --key-id XXXXXXXXXXX --private-key YYYYYYY The output is a list with: timestamp=datetime.datetime(2023, 8, 24, 17, 12, 49)), LocationReport(latitude=50.9559506, longitude=6.6041557, confidence=156, status=0, This is all very cumbersome and I wanted to take a look at your project. There are 2 import options on the web server. 1.Import Accessory and 2.Import from JSON File.

For import accessory need ID and private key (Base64) I get it from the OpenHaystack (MacApp) (Right click on the tracker den -> Copy ID (Base64) and Copy private Key B64)

If I add it to the web server - Import Accessory and go to Import, I get the error message: ID must be an integer value.

When importing from JSON file I'm missing the JSON ;-) where or how do I get that?