-
Notifications
You must be signed in to change notification settings - Fork 13
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
Question about Time Stamp and Dashboard suggestion #4
Comments
Timestamp change is easy to implement and I can do this change by the end of the week; But the graphics request is not that trivial - the current charting library in OPNsense is... Limited. And ancient. And I have very low desire to wrangle with it, yet I can't just slap a new modern charting library (like plotly.com) into OPNsense to support one single chart... Let me think about this one. BTW, in case you didn't know, this plugin is now part of the repo that is maintained by Mimugmail; it includes whole bunch of community efforts, including speedtest: https://github.com/mimugmail/opn-repo |
Let me know if you are comfortable with the following change: this will show the time in a short (24-hr) format but in the local timezone instead of GMT. |
And here is the new version of the widget that displays 5 recent entries from the log; replace the content of
You want 20 lines? Change the iterator in the line |
could we get these changes for date/time and the updated widget in the code.. i cant seem to get either change working when editing the files myself on opnsense 21.1.8_1 (also in the opnsense-repo) thx |
Hi Miha I replaced the line 75 with your provided code but it stops the log from showing so I am assuming it can not parse the file with this code (maybe the date/time format?). So I decided just to update the widget and that worked seamlessly - thanks for that :) I have updated the system to the latest version as per: Kind regards |
Hi Miha Fixed it! Need to amend line 35: That was all! :) Now I need to work out where to change the (GMT) label? Regards |
Hi
Your opnsense-speedtest is perfect for what I need as we are having irregular speed fluctuations from our ISP and this will help me to provide conclusive evidence (in conjunction with a script to isolate the LAN ports and kick of the speed test) that it is them and not our network - Thank you :)
I do have a question however regarding the time stamp on the log. Is it possible to have the timestamp display in the local TZ? As in, the log timestamp is not GMT but follows the Time Zone setting of OPNsense.
Also, having a graphic display of say the last 20 log entries available on the dashboard would be a fun feature. It would only need to show the download speeds but having both in different colours would be a bonus :)
Do you have a buy me a coffee donate button or similar?
Regards
Allen
The text was updated successfully, but these errors were encountered: