third party web panel #407
Replies: 2 comments 2 replies
-
The miner sends information in the form of JSON, like this (example, not all of these are always filled out, or in this format):
If you want to create your own custom panel that only captures ip, computername and hashrate, and saves it to a JSON file, you could make a php file like this:
Now if you put this php file on a server, and link it in the miner builder, every time someone connects to it through the miner, it will store it in "data.json" with the following structure:
However I would highly recommend using a database like sqlite to store the information, as it is more stable, I have had bugs with JSON where suddenly all my data disappears. You should also store the algorithm used, so CPU and GPU miners don't get mixed, if you are thinking of mining different coins. |
Beta Was this translation helpful? Give feedback.
-
Can I use both the remote configuration and the web panel at the same time? I was just thinking of uploading the configuration to the pastebin and raising the panel only when I need to and viewing the ip list |
Beta Was this translation helpful? Give feedback.
-
I wanted to ask if I could make my own web panel? Essentially, there is some kind of message format in which the miner sends data along the route. Just the only thing I need is to track the name, hashrate and ip. I would like to use pastebin with Ipgrabber for this, but the remote configuration method has too much time before updating.
Beta Was this translation helpful? Give feedback.
All reactions