-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Homepage dashboards support #81
Comments
Waiting for homepage support ;) |
Me too, man this developer is slacking 😅 |
Would love this! |
Any updates? |
I am quietly announcing that @alexjustesen is not authorized to delay this feature to later milestone rather than v0.14.0 🤣🤣 |
Working a bit slower these days... https://twitter.com/alexjustesen/status/1629641625868681223?t=2kDg6llnqM1hqNvfJhk4jw&s=19 |
How are you converting download/upload into Mbps on the Result detail modal? I've almost got this working, but I need to do the same conversion. |
@cinderblockgames there is a broken ass method currently doing that conversion, it might be better in the API to not covert any metrics and instead report them as the bytes their stored as. This also reminds me, I need to create a data model so each attribute is well defined. |
@alexjustesen The issue is that Homepage expects it as Mbps. My widget currently shows 45 Tbsp speeds, lol. |
yeah I was playing with it in PowerBI and ended up using this conversion |
Homepage expects it in bytes |
That's what I had thought, been a while since I've done any Homepage source code diving though |
@cinderblockgames you'll need to convert bits vs. bytes. Data stored in the table is in |
@alexjustesen That's still a factor of 8, not 125000. So, 1000000 bits/second = 125000 bytes/second, which matches what's in the UI as well as what Homepage appears to be looking for. I've got it working with the 125000 division in my fork, if you want to take a look against your Homepage instance: https://github.com/cinderblockgames/speedtest-tracker |
Let me do some digging... Resources for later Alex to look at:
|
Ultimately homepage can accept any, https://github.com/benphelps/homepage/blob/fb15f5dbc9273a3a024bfd70edad4544ebfe9208/src/widgets/speedtest/component.jsx#L34 or https://github.com/benphelps/homepage/blob/fb15f5dbc9273a3a024bfd70edad4544ebfe9208/src/widgets/nzbget/component.jsx#L30 etc. If there's a stable API here Im happy to handle the homepage widget, not clear if that part has been implemented here already? Is it documented? |
@shamoon not yet, since I'm targeting replacing In a nutshell Hopefully won't need any changes to Homepage so we don't break anything for those using the abandoned project still. |
Oh now I understand. Yea that would be great for sure, alternatively homepage could probably handle any changes (or just a separate widget) but agree would probably be cleaner here. Let me know if I can help at any point! |
I use Organizr so hopefully it will be the same as Homepage but happy to test for that once ready |
I appreciate it! |
Organizr uses the same endpoint as Homepage so both will be drop-in replacements once done 🤘: https://github.com/causefx/Organizr/blob/e79b6d39a682f01f8d6d2e6841bb33c5a817d825/api/homepage/speedtest.php#L73 |
#463 introduces At a later date a robust API will be developed, in the interim this endpoint will serve to close the gap with the dashboards. |
@alexdelprete not that I'm aware of and HOLY CRAP |
There's more stuff under it...but I stopped there. :) |
I have dashboard envy |
In homepage is there an example to how to make it work? This version uses https and user and password Henry version wasn't |
@spupuz It's a drop-in replacement; it's exactly the same.
|
Something is going wrong for me, on the homepage dashboard the upload is exactly the same value as the download, although my upload speed is only half as high as it is also correctly displayed on the speedtester dashboard The API endpoint "/api/speedtest/latest" also reports the wrong values |
Unless someone can pr a bugfix it'll be a couple of days until I can circle around to fixing it. |
I have made quickly :) |
yes, that is Homepage. |
Odd question but, how did you get the different groups? (Media, Home Automation, etc.) I'm doing mine and it adds them into different columns. :/ |
Totally OT here, anyway, did you read the docs? https://gethomepage.dev/en/configs/settings/ It's the Here's mine: title: HomeLab Dash
theme: dark
color: zinc
layout:
System Management:
style: row
columns: 4
Network Core:
style: row
columns: 4
Network Services:
style: row
columns: 4
Home Automation:
style: row
columns: 4
Media:
style: row
columns: 4
Productivity:
style: row
columns: 4
Starr apps:
style: row
columns: 4
headerStyle: boxed
background:
image: /images/john-towner-FD_sabE544U-unsplash.jpg
blur: none # none, sm, "", md, lg, xl see https://tailwindcss.com/docs/backdrop-blur
saturate: 20 # 0, 50, 100 see https://tailwindcss.com/docs/backdrop-saturate
brightness: 60 # 0, 50, 75 see https://tailwindcss.com/docs/backdrop-brightness
opacity: 30 # 0-100
providers:
openweathermap: xxxx
weatherapi: yyyy
quicklaunch:
searchDescriptions: true
hideInternetSearch: false
hideVisitURL: false
showStats: true |
You rock! Thanks for the share and pointing me to the right area!!! |
The following selfhosted homepages reference Speedtest Tracker data for widgets:
The text was updated successfully, but these errors were encountered: