HeartWear
HeartWear copied to clipboard
Can't Fetch Data.
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
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 :/
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!