Skip to content
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

Can't Fetch Data. #7

Open
dallebull opened this issue Sep 16, 2023 · 2 comments
Open

Can't Fetch Data. #7

dallebull opened this issue Sep 16, 2023 · 2 comments

Comments

@dallebull
Copy link

dallebull commented Sep 16, 2023

A few months ago i made a .ps1 script to write my heartrate into the registry, so i could get a custom sensor in hwinfo64.
For some reason my script is gone, i found a screenshot of the old scipt, but that doesn't work either.

Im trying go fetch the .json to access currentHR, but i can't seem to connect to the database.
Has anything been changed in the past months? Dunno when i lost it really.

This is all i got to go by, if i try toi run Invoke.WebRequest i dont get any script data.
Seems like i went directly for the database last time.
https://media.discordapp.net/attachments/519910908387000341/1101046336469598218/image.png?width=625&height=468

Server seem to have changed to s-euw1c-nss-2203.europe-west1.firebasedatabase.app, but changing that doesnt fix it, i'm just getting "Access Denied" :S

Any help is appreciated. I ran this as an service in the background since i wanted the HR in my my RTSS OSD and not OBS.

Edit: Trying this instead! https://github.com/Schnup89/HeartWear-UDP

@Domi2803
Copy link
Owner

Hey, I tried to fetch data with the exact URL from your screenshot and I do seem to get data back. The server did not change. Try accessing the url in your browser https://wearosheartrate-default-rtdb.europe-west1.firebasedatabase.app/NsUh1wZkBQQFuAeLqB4tjisVxM53.json
I'm not familiar with PowerShell at all, so I can't help you with the script unfortunately :/

@dallebull
Copy link
Author

Hmm, Yeah i get data from that as well.
I must have written something wrong.

Have to build the UDP version myself and i dont remember how you do that, i mostly do C#. This seems to work now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants