Post
Topic
Board Mining software (miners)
Re: Linux mining distro for the Raspberry PI - MinePeon
by
joeykrim
on 19/07/2013, 19:41:27 UTC
... could you please add this features in the future:
* cpu temperature
Thank you very much!;]]
Found a simple way to take some code MineForeman already had sitting idle in a different section and throw it into the MinePeon Status section to display the temperature in both C and F (for the metric challenged Americans). Sent a pull request with the code and hopefully if it all goes well, it'll be accepted and available for anybody to pull down from the GitHub repo and into their MinePeon!

https://github.com/MineForeman/MinePeonWebUI/pull/18


The UI seems slow than before
The change you quoted from me, adding in the temperature information, hasn't been imported yet into the official project. Are you saying you manually copied/pasted the few lines of code I proposed on GitHub into your index.php and are seeing the index.php web page load slower? If so, double check you've copied all the relevant lines? Sometimes for testing, I wipe out my index.php and using wget pull down the original or my proposed change of index.php from GitHub.

How are you determining the duration for page load times? Have you tried removing the lines and re-testing? After removing adding them back in and re-testing?

I'm using Chrome and with the developer tools checking the load times for the page over a LAN connection. While removing and adding the temperature changes I'm not seeing any difference in page load times. My page load times vary between 1.27ms and 1.65ms for the main page, excluding the .js components which aren't relevant for the proposed temperature addition. The load time range I'm seeing, 1.27ms to 1.65ms is both with and without the temperature additions. I've tested over 30 refreshes of the page and I'm not seeing any change in load times for index.php based on my proposed temperature code addition.