I think the SmartHub is great!!! Is it possible to incorporate the SSH cgminer display into the website?
Your praise of SmartHub makes me happy! But I need more details about your request. We assume you want to embed the SSH cgminer display on a webpage. you read some point:
- Websites displaying SSH information pose security risks. SSH is a secure protocol for remote system access; posting details online is risky. Use authentication and encryption to protect sensitive data.
- Check if cgminer has a web-based API or another way to get data. Many programmes offer APIs for data access, which is safer than revealing SSH credentials.
- Web technologies like HTML, CSS, and JavaScript will be needed to create a user interface for displaying cgminer information if you proceed. A server-side technology like Node.js, Python, or PHP may be needed to manage cgminer instance-website communication.
- Enforce access controls to restrict website cgminer information to authorised users.
Providing a step-by-step tutorial without knowing your setup and requirements is difficult. If cgminer has an API, you could use web technologies to create a dashboard or display relevant data on your website. Security is paramount when handling sensitive data and SSH.
Would it also be possible to integrate the bgminer into a screen process for the Moomlander II and have it displayed on the dashboard?
It is technically possible to integrate bgminer into a Moonlander II screen process and display it on a dashboard, but there are a few steps and things to take into account.
-Screen Process:
Use a tool like 'screen'or 'tmux' to run bgminer in a detached session. This allows the mining process to continue running even if you disconnect from the server.
Example with 'screen':
Detach from the screen session by pressing `Ctrl` + `A`, then `D`.
-Security:
Take appropriate security precautions, particularly if you plan to expose the dashboard online. To manage access, think about employing secure connections (HTTPS) and putting authentication in place.
These steps offer a broad overview; the specifics will vary depending on your setup's specifics and bgminer's capabilities. Security should always come first, particularly when working with mining software and possibly exposing it to outside networks. Furthermore, consult the bgminer and Moonlander II documentation for any particular instructions they may offer.
Very cool little device.
Do you have a Git we can submit PRs to? I changed the display from "Million"/"Billion"/"Trillion" to "Mega"/"Giga"/"Tera" and could make that an option if others want.
Just a few suggestions myself (I'll probably edit this post rather than a new one each time I think of something):-
-- Adjustability of the screen and GUI to display 5min, 15min or Avg Hashrate. The graph doing the 5min is perfect though.
-- Shutdown button/option on the GUI for people like me who like to do occasional maintenance on the sticks/devices, saves potential SD card corruption. Then it's just a simple cycling of the power supply to get it back up and running.
-- Change of Currency option for the screen and GUI. (I've managed to do this, but would prefer an official update if possible).
-- Format of the "Bestshare" on the GUI eg, 1.756Million or 1,756,876 etc
Really pleased I decided to treat myself and get one though. It's a great bit of kit and very intuitive to use. It's also tidied up my desk a treat. No more 7" screen with a Rpi hooked up and cables running around everywhere.
I'm looking forward to the updates as and when they arrive
Yes your suggestions were nice. Thanks for helping with such nice suggestions.