Pages:
Author

Topic: New GekkoScience product, the Smart Hub (Read 1405 times)

newbie
Activity: 3
Merit: 0
May 04, 2024, 07:25:12 AM
#92
I'd like to integrate SmartHub into Home Assistant so a quick(er) (jump)start would be great - where is SmartHub reading data from being shown on display ... Is there any log file I could parse into HA? Thanks.
legendary
Activity: 4116
Merit: 7849
'The right to privacy matters'
April 14, 2024, 06:22:07 PM
#91
People have asked, as I did, how many R909s can the SmartHub handle?

I have 8 with plans to get 3 more to use all 11 USB ports. I am using it with an EVGA 1600W PSU that has 9 VGA ports and with special cables, use the 2 CPU ports.

Since there is plenty of CPU and RAM available, maybe a USB hub will give a few more R909 slots, with an additional PSU to power them.






here are your photos
newbie
Activity: 7
Merit: 0
April 13, 2024, 06:53:01 PM
#90
People have asked, as I did, how many R909s can the SmartHub handle?

I have 8 with plans to get 3 more to use all 11 USB ports. I am using it with an EVGA 1600W PSU that has 9 VGA ports and with special cables, use the 2 CPU ports.

Since there is plenty of CPU and RAM available, maybe a USB hub will give a few more R909 slots, with an additional PSU to power them.

https://i.ibb.co/vXJYmnK/20240413-173959.jpg
https://i.ibb.co/86bFMQ6/20240413-174027.jpg
https://i.ibb.co/B6FCFpP/20240413-174042.jpg
jr. member
Activity: 31
Merit: 10
March 20, 2024, 08:46:21 PM
#89
Keep the initial setup simple as it is now. But.....

Add some more settings to the System Config page?

I am sure everyone that mines wants to set their miners to certain IP addresses. DHCP is not working the way I want. I set an assigned IP in my router but the hub is still using the original one it was assigned. I did a system reboot, put the wrong wifi password in on purpose, it still set it to the old IP. It seems to be "stuck".


Add a Workers page with a list and stats of each miner. Easier to see if one is not working properly.
01. R909          100050786     2.142Th     550     etc      Red is in error, yellow if warning
02. R909          100xxxxxx      2.201Th     550     etc
03. Compaq F   200346543      350Gh       450
....
10. R909

Total hash rate in large font.

Plenty of room for more stats/details.


if you want to define a static IP on the SmartHub, edit the /etc/dhcpcd.conf file and define your static IP. Dont assign it in the router, assign it on the Hub itself.

All of the stat' bits you mention will all come in due course, embedded in the SmartHub Gui. This is one of the reasons I linked Kano's stats page directly from the SmartHub UI, to give people the extra stats you describe in the meantime.
newbie
Activity: 7
Merit: 0
March 20, 2024, 07:56:56 PM
#88
Keep the initial setup simple as it is now. But.....

Add some more settings to the System Config page?

I am sure everyone that mines wants to set their miners to certain IP addresses. DHCP is not working the way I want. I set an assigned IP in my router but the hub is still using the original one it was assigned. I did a system reboot, put the wrong wifi password in on purpose, it still set it to the old IP. It seems to be "stuck".


Add a Workers page with a list and stats of each miner. Easier to see if one is not working properly.
01. R909          100050786     2.142Th     550     etc      Red is in error, yellow if warning
02. R909          100xxxxxx      2.201Th     550     etc
03. Compaq F   200346543      350Gh       450
....
10. R909

Total hash rate in large font.

Plenty of room for more stats/details.
newbie
Activity: 7
Merit: 0
March 20, 2024, 04:12:24 PM
#87
New firmware available. Check the 4th post down on this thread.





I’m going to assume you need to put the details in again for miners, freq, pool details (if different from default)?

Yes, it's a whole new image and resets everything to factory. This is not a critical update so if your system is working and you're happy, leave it!

What about changing the pool url gadget to a drop-down box with 3 (or more) default options:
ckpool solo
KanoPool
Custom

Then a text gadget to enter a custom/modified pool.
jr. member
Activity: 31
Merit: 10
March 20, 2024, 09:11:47 AM
#86
New firmware available. Check the 4th post down on this thread.





I’m going to assume you need to put the details in again for miners, freq, pool details (if different from default)?

Yes, it's a whole new image and resets everything to factory. This is not a critical update so if your system is working and you're happy, leave it!
hero member
Activity: 2492
Merit: 621
March 20, 2024, 07:29:20 AM
#85
New firmware available. Check the 4th post down on this thread.



I’m going to assume you need to put the details in again for miners, freq, pool details (if different from default)?
newbie
Activity: 7
Merit: 0
March 19, 2024, 07:59:42 PM
#84
I got my connection issues figured out.

ASUS RT-AX86U Pro router
AiProtection
Two-Way IPS -> Off

It says right in the description that it blocks Bitcoin Mining. Disabling this cured the issue immediately.



Thanks to all the guys who helped me figure this out and with some other newbie questions.
jr. member
Activity: 31
Merit: 10
March 19, 2024, 07:29:25 PM
#83
New firmware available. Check the 4th post down on this thread.

jr. member
Activity: 31
Merit: 10
March 19, 2024, 07:11:31 AM
#82
Now I hooked my R909 up to my PC. Replaced the drivers. Edited the start-r909.bat file with my BTC address. Double clicked it, cmd window opens, cgminer started, no output.

I have an ASUS RT-AX86U Pro router. Could it be blocking everything?

Grabbing at straws here.



Hey, DM me on Discord - I will help you sort this.

i will then report back here with findings to help future issues.
newbie
Activity: 7
Merit: 0
March 18, 2024, 06:03:41 PM
#81
Now I hooked my R909 up to my PC. Replaced the drivers. Edited the start-r909.bat file with my BTC address. Double clicked it, cmd window opens, cgminer started, no output.

I have an ASUS RT-AX86U Pro router. Could it be blocking everything?

Grabbing at straws here.
newbie
Activity: 7
Merit: 0
March 17, 2024, 04:30:37 PM
#80
These are the error messages I get:

AttributeError
AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2552, in __call__
return [Suspicious link removed]gi_app(environ, start_response)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2532, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/home/pi/Defaults/HTML/mainpage.py", line 174, in index
lcd_data = cgminer_data.get("LCD", {})
AttributeError: 'NoneType' object has no attribute 'get'
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.

You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:

dump() shows all variables in the frame
dump(obj) dumps all that's known about the object
newbie
Activity: 7
Merit: 0
March 17, 2024, 03:05:40 PM
#79
AttributeError
AttributeError: 'NoneType' object has no attribute 'get'

I just set mine up for the first time. When I go to the wired (not wifi) web address I get the same error message.

I do not have a miner hooked up to it yet. I am waiting for my new PSU to come in the mail to power my R909. Could that be the issue?

The display also says "Invalid pool. Can't connect to pool." It is the default solo pool. Not using WiFi.


Hi, this is indicitive of CGMiner crashing, could be pool connection, internet connection or mining hardware related. For optimum diagnostics, you need to SSH in to the unit and see what CGminer is doing and if it is running, etc. This is all documented early on in this post.
I have helped several people lately that have put in Ethereum wallet addresses in the config page which causes CGMiner to fail immediatley which in turn crashes as such.

Can you go to the IP address of the device (you may need to look this up by doing an IP scan on your network if the OLED screen isnt working), go to the IP of the SmartHub in your web browser (note, the machine you are accessing the Smarthub from must be on the same network). I then want screenshots of everything you see on the screen.

If you are tech savvy, go back earlier in the post and look at SSH'ing into the unit and seeing what is causing CGMiner to crash.

Who did you get the SmartHub from?

Cheers
IamGPIO

The SmartHub boots and shows me the IP Address. When I go to it, the quoted error is all I ever see.

My Bitcoin address is correct.

I bought it from Mine.Farm.Buy.

I did use PowerShell to SSH in. After that, I don't know what to do.

I tapped into my computer's PSU and connected an R909 to the SmartHub. Same issue.
newbie
Activity: 5
Merit: 0
March 17, 2024, 02:40:40 PM
#78
Is it still your current setup? Did you have any reliability issues?
jr. member
Activity: 31
Merit: 10
March 17, 2024, 02:39:53 PM
#77
AttributeError
AttributeError: 'NoneType' object has no attribute 'get'

I just set mine up for the first time. When I go to the wired (not wifi) web address I get the same error message.

I do not have a miner hooked up to it yet. I am waiting for my new PSU to come in the mail to power my R909. Could that be the issue?

The display also says "Invalid pool. Can't connect to pool." It is the default solo pool. Not using WiFi.


Hi, this is indicitive of CGMiner crashing, could be pool connection, internet connection or mining hardware related. For optimum diagnostics, you need to SSH in to the unit and see what CGminer is doing and if it is running, etc. This is all documented early on in this post.
I have helped several people lately that have put in Ethereum wallet addresses in the config page which causes CGMiner to fail immediatley which in turn crashes as such.

Can you go to the IP address of the device (you may need to look this up by doing an IP scan on your network if the OLED screen isnt working), go to the IP of the SmartHub in your web browser (note, the machine you are accessing the Smarthub from must be on the same network). I then want screenshots of everything you see on the screen.

If you are tech savvy, go back earlier in the post and look at SSH'ing into the unit and seeing what is causing CGMiner to crash.

Who did you get the SmartHub from?

Cheers
IamGPIO
jr. member
Activity: 31
Merit: 10
March 17, 2024, 02:35:50 PM
#76
How many R909's will the Smarthub handle?


I have had it running 7, but only because I didn't have my hands on any more. @Sidehack may have more input on this
newbie
Activity: 7
Merit: 0
March 17, 2024, 11:10:28 AM
#75
AttributeError
AttributeError: 'NoneType' object has no attribute 'get'

Traceback (most recent call last)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2552, in __call__
return [Suspicious link removed]gi_app(environ, start_response)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2532, in wsgi_app
response = self.handle_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 2529, in wsgi_app
response = self.full_dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/local/lib/python3.7/dist-packages/flask/app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "/home/pi/Defaults/HTML/mainpage.py", line 174, in index
lcd_data = cgminer_data.get("LCD", {})
AttributeError: 'NoneType' object has no attribute 'get'
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.

You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:

dump() shows all variables in the frame
dump(obj) dumps all that's known about the object

I just set mine up for the first time. When I go to the wired (not wifi) web address I get the same error message.

I do not have a miner hooked up to it yet. I am waiting for my new PSU to come in the mail to power my R909. Could that be the issue?

The display also says "Invalid pool. Can't connect to pool." It is the default solo pool. Not using WiFi.
newbie
Activity: 5
Merit: 0
March 17, 2024, 05:56:59 AM
#74
How many R909's will the Smarthub handle?
jr. member
Activity: 31
Merit: 10
March 14, 2024, 06:04:03 AM
#73
Hi All - Just curious....  Is there any way to have each individual miner have it's own settings (pool, frequency, etc.)?


thanks!

Hi, not yet.

It's on the to do list. It's a fairly complex task to do this but def' doable.
Pages:
Jump to: