Pages:
Author

Topic: Official FutureBit Apollo BTC Software/Image and Support thread - page 82. (Read 48658 times)

sr. member
Activity: 952
Merit: 339
invest trade and gamble wisely

Hello, I am quite new to Linux and I am sure that this has already been discussed, but how are most people here setting up remote monitoring? i.e. all I wish to do when I am not home is check in on the system make sure things are looking alright. I can login on my wifi through the IP just fine, however, I have not done much remoting in....no experience on LInux for sure!

I have tried TeamViewer for Ubuntu and it says add architecture....well I don't have any experience in.

I also see Remmina is already installed on Ubuntu, but I want to remotely login from a Windows PC, so I just need some direction. Any assistance would be most appreciated from a more well-versed individual on this thread - which I know are most if not all!!!

Most secure is via SSH. For windows there is client called "putty" ... note this is only command line access (you need to be familiar with linux commands).
But for full graphical access (like TeamViewer does) you have to use VNC (e.g. RealVNC) ... you have to install client onto your windows device, and server onto your linux device.

newbie
Activity: 6
Merit: 0

Hello, I am quite new to Linux and I am sure that this has already been discussed, but how are most people here setting up remote monitoring? i.e. all I wish to do when I am not home is check in on the system make sure things are looking alright. I can login on my wifi through the IP just fine, however, I have not done much remoting in....no experience on LInux for sure!

I have tried TeamViewer for Ubuntu and it says add architecture....well I don't have any experience in.

I also see Remmina is already installed on Ubuntu, but I want to remotely login from a Windows PC, so I just need some direction. Any assistance would be most appreciated from a more well-versed individual on this thread - which I know are most if not all!!!
newbie
Activity: 6
Merit: 0
damn, did i break mine already? the SSD isn't loose. I powered them off to add a 3rd unit but I haven't been checking the node tab so have no idea when it stopped working.

"Node is offline - Double-check your NVMe SSD is seated correctly on the M.2 slot on the bottom of your device and restart your Apollo. If the node is still not loading, you can try re-formatting your node drive in the settings section of the dashboard"

Do you see the red LED next the SSD after it has booted?

Also bring up a terminal and type "lsblk" this will show whether the nvme is even recognized.

thanks, I connected up an HDMI cable, rebooted from the gui and it started working ok.  will try this if it happens again.
legendary
Activity: 2174
Merit: 1401
damn, did i break mine already? the SSD isn't loose. I powered them off to add a 3rd unit but I haven't been checking the node tab so have no idea when it stopped working.

"Node is offline - Double-check your NVMe SSD is seated correctly on the M.2 slot on the bottom of your device and restart your Apollo. If the node is still not loading, you can try re-formatting your node drive in the settings section of the dashboard"

Do you see the red LED next the SSD after it has booted?

Also bring up a terminal and type "lsblk" this will show whether the nvme is even recognized.
newbie
Activity: 59
Merit: 0
newbie
Activity: 6
Merit: 0
damn, did i break mine already? the SSD isn't loose. I powered them off to add a 3rd unit but I haven't been checking the node tab so have no idea when it stopped working.

"Node is offline - Double-check your NVMe SSD is seated correctly on the M.2 slot on the bottom of your device and restart your Apollo. If the node is still not loading, you can try re-formatting your node drive in the settings section of the dashboard"
newbie
Activity: 3
Merit: 0

Thanks for that reply  Smiley   Do you know of any ressources or documentation that describes this control via the backend in more detail? and which commands that can be run, and how it would be set up - like where would I run the script from?

Thanks in advance Smiley


A more exact approach to stop/start your miners at sunset/sunrise would be:


a) install command 'at'

Code:
sudo apt install at

b) create the following files:

Code:
echo 'systemctl start apollo-miner' > /etc/sunr
echo 'systemctl stop apollo-miner' > /etc/suns
touch /etc/atsunrise.sh
touch /etc/atsunset.sh
chmod +x /etc/atsun*.sh

c) create a shell script which is called via cron every day early in the morning

Code:
# crontab entry:
# run the script everyday at 01:00 am
0 1 * * * /etc/sunr_suns.sh

create the script /etc/sunr_suns.sh

Code:

# /bin/bash
# script name: /etc/sunr_suns.sh
# (don't forget to make the script executable - chmod +x /etc/sunr_suns.sh)
#
# retrieve current sunrise and sunset times at a specific location
# (don't forget to change your country/city)
# for more details visit www.timeanddate.com
#
echo $(wget -q -O- https://www.timeanddate.com/sun/germany/munich | grep -oE 'Sunrise Today.{35}' | awk -F\> '{print $3}' | cut -c 1-5) > /tmp/sunrise
echo $(wget -q -O- https://www.timeanddate.com/sun/germany/munich | grep -oE 'Sunset Today.{35}' | awk -F\> '{print $3}' | cut -c 1-5) > /tmp/sunset
#
# assemble the command line structure for the at command:
#
echo at $(cat /tmp/sunrise) -f /etc/sunr > /etc/atsunrise.sh
echo at $(cat /tmp/sunset) -f /etc/suns > /etc/atsunset.sh
#
# run the scripts
#
/etc/atsunrise.sh
/etc/atsunset.sh



This is REAL nice; I might borrow this, thank you!

THANKS !!!

Another approach I am planning is to control it based on if a battery in a solar setup (hybrid solar solution) is fully charged = start the miner. And then when Battery is discharged to say 70% the Miner must stop.
But in order to do this I need to be able to pull/call this battery charge status - I am not sure if that is possible...But it would be the most efficient solution as many days of the year we have clouds all day = miner need to be off most of the day to wait for battery to be charged fully - as order of priority is 1) electricity for current use in the house 2) charging battery to supply electricity during evenings and night when solar panels don't supply it  3) Run the mining to "eat" left over electricity to avoid having to sell it back to the grid at ridiculous prices.

Anyone having experience with calling battery controllers to get that battery charge %?  (to use in the script instead)
I am considering a hybrid solution from Growatt - and I just found this via a google search
4.3.13 Access to the latest energy storage machine real-time data (POST)
https://growatt.pl/wp-content/uploads/2020/01/Growatt-Server-API-Guide.pdf
Maybe the script could access this...  Shocked


 
legendary
Activity: 1202
Merit: 1181

Thanks for that reply  Smiley   Do you know of any ressources or documentation that describes this control via the backend in more detail? and which commands that can be run, and how it would be set up - like where would I run the script from?

Thanks in advance Smiley


A more exact approach to stop/start your miners at sunset/sunrise would be:


a) install command 'at'

Code:
sudo apt install at

b) create the following files:

Code:
echo 'systemctl start apollo-miner' > /etc/sunr
echo 'systemctl stop apollo-miner' > /etc/suns
touch /etc/atsunrise.sh
touch /etc/atsunset.sh
chmod +x /etc/atsun*.sh

c) create a shell script which is called via cron every day early in the morning

Code:
# crontab entry:
# run the script everyday at 01:00 am
0 1 * * * /etc/sunr_suns.sh

create the script /etc/sunr_suns.sh

Code:

# /bin/bash
# script name: /etc/sunr_suns.sh
# (don't forget to make the script executable - chmod +x /etc/sunr_suns.sh)
#
# retrieve current sunrise and sunset times at a specific location
# (don't forget to change your country/city)
# for more details visit www.timeanddate.com
#
echo $(wget -q -O- https://www.timeanddate.com/sun/germany/munich | grep -oE 'Sunrise Today.{35}' | awk -F\> '{print $3}' | cut -c 1-5) > /tmp/sunrise
echo $(wget -q -O- https://www.timeanddate.com/sun/germany/munich | grep -oE 'Sunset Today.{35}' | awk -F\> '{print $3}' | cut -c 1-5) > /tmp/sunset
#
# assemble the command line structure for the at command:
#
echo at $(cat /tmp/sunrise) -f /etc/sunr > /etc/atsunrise.sh
echo at $(cat /tmp/sunset) -f /etc/suns > /etc/atsunset.sh
#
# run the scripts
#
/etc/atsunrise.sh
/etc/atsunset.sh



This is REAL nice; I might borrow this, thank you!
newbie
Activity: 14
Merit: 4

Thanks for that reply  Smiley   Do you know of any ressources or documentation that describes this control via the backend in more detail? and which commands that can be run, and how it would be set up - like where would I run the script from?

Thanks in advance Smiley


A more exact approach to stop/start your miners at sunset/sunrise would be:


a) install command 'at'

Code:
sudo apt install at

b) create the following files:

Code:
echo 'systemctl start apollo-miner' > /etc/sunr
echo 'systemctl stop apollo-miner' > /etc/suns
touch /etc/atsunrise.sh
touch /etc/atsunset.sh
chmod +x /etc/atsun*.sh

c) create a shell script which is called via cron every day early in the morning

Code:
# crontab entry:
# run the script everyday at 01:00 am
0 1 * * * /etc/sunr_suns.sh

create the script /etc/sunr_suns.sh

Code:

# /bin/bash
# script name: /etc/sunr_suns.sh
# (don't forget to make the script executable - chmod +x /etc/sunr_suns.sh)
#
# retrieve current sunrise and sunset times at a specific location
# (don't forget to change your country/city)
# for more details visit www.timeanddate.com
#
echo $(wget -q -O- https://www.timeanddate.com/sun/germany/munich | grep -oE 'Sunrise Today.{35}' | awk -F\> '{print $3}' | cut -c 1-5) > /tmp/sunrise
echo $(wget -q -O- https://www.timeanddate.com/sun/germany/munich | grep -oE 'Sunset Today.{35}' | awk -F\> '{print $3}' | cut -c 1-5) > /tmp/sunset
#
# assemble the command line structure for the at command:
#
echo at $(cat /tmp/sunrise) -f /etc/sunr > /etc/atsunrise.sh
echo at $(cat /tmp/sunset) -f /etc/suns > /etc/atsunset.sh
#
# run the scripts
#
/etc/atsunrise.sh
/etc/atsunset.sh

hero member
Activity: 882
Merit: 5834
not your keys, not your coins!
Thanks for that reply  Smiley   Do you know of any ressources or documentation that describes this control via the backend in more detail? and which commands that can be run, and how it would be set up - like where would I run the script from?

Thanks in advance Smiley

I'd recommend to create a new crontab just by performing crontab -e.
You'd put in something like:
Code:
0     8    *   *    *  systemctl start apollo-miner
0    20    *   *    *  systemctl stop apollo-miner
Afterwards, save and close vim (esc, then :wq).

This would make it start at 8AM and stop at 8PM.
newbie
Activity: 6
Merit: 0
All set with the cable thanks all. The good thing its one that we get with a lot of table and phone devices. The hookup was painless  and both hashing great.
Nice to see 313 watts used with 6TH hashing at the balance setting. I remember my Avalon 721 needing 1200watts for 6TH. Oh so quite too
Thanks for making this device possible

6Th @ 313w really?  i only get 6.27Th on Turbo @ 412w

newbie
Activity: 3
Merit: 0
Since electricity is very expensive here, I only want to mine when the sun is shining and my solar panels produce more than I need - I am planning to automate this = the FutureBit will sometimes loose power and then the next day it will get power again to run for say 8-10 hours during the middle of the day.

Question: Will the FutureBit jump back into action again in this scenario without me having to manually get it to mine again? Or will it mess up things?

Reading from previous posts it sound as if these hard shutdowns will mess things up - so I guess my next question is if the dashboard allows for schedule planner so that the dashboard can be set to stop and start the mining in the correct way at certain custom selected times?..keeping the beast alive but in sort of "sleep mode".


Thanks for your replies in advance Smiley

 

If you dont shut it down manually before you cut power then yea you'll corrupt the SD card eventually.

There is no way to automate this in the UI, but you can do it on the backend if you know how to use scripts and systemctl.

Commands to start/shutdown the miner on the backend are simply:

Code:
systemctl stop apollo-miner
Code:
systemctl start apollo-miner


Thanks for that reply  Smiley   Do you know of any ressources or documentation that describes this control via the backend in more detail? and which commands that can be run, and how it would be set up - like where would I run the script from?

Thanks in advance Smiley
legendary
Activity: 2174
Merit: 1401
Since electricity is very expensive here, I only want to mine when the sun is shining and my solar panels produce more than I need - I am planning to automate this = the FutureBit will sometimes loose power and then the next day it will get power again to run for say 8-10 hours during the middle of the day.

Question: Will the FutureBit jump back into action again in this scenario without me having to manually get it to mine again? Or will it mess up things?

Reading from previous posts it sound as if these hard shutdowns will mess things up - so I guess my next question is if the dashboard allows for schedule planner so that the dashboard can be set to stop and start the mining in the correct way at certain custom selected times?..keeping the beast alive but in sort of "sleep mode".


Thanks for your replies in advance Smiley

 

If you dont shut it down manually before you cut power then yea you'll corrupt the SD card eventually.

There is no way to automate this in the UI, but you can do it on the backend if you know how to use scripts and systemctl.

Commands to start/shutdown the miner on the backend are simply:

Code:
systemctl stop apollo-miner
Code:
systemctl start apollo-miner
newbie
Activity: 3
Merit: 0
Since electricity is very expensive here, I only want to mine when the sun is shining and my solar panels produce more than I need - I am planning to automate this = the FutureBit will sometimes loose power and then the next day it will get power again to run for say 8-10 hours during the middle of the day.

Question: Will the FutureBit jump back into action again in this scenario without me having to manually get it to mine again? Or will it mess up things?

Reading from previous posts it sound as if these hard shutdowns will mess things up - so I guess my next question is if the dashboard allows for schedule planner so that the dashboard can be set to stop and start the mining in the correct way at certain custom selected times?..keeping the beast alive but in sort of "sleep mode".


Thanks for your replies in advance Smiley

 
newbie
Activity: 3
Merit: 0
Dr. J!!!....my man...the boys arrived beautifully and I have hooked them up to the initial apollo unit I had running...only thing is I am still trying to figure out how to get the two new miners up and running...lol...any advice would be appreciated...regardless bro...a big thanks to you and the crew there at Futurebit...you guys really do an awesome job please please keep up the great work... Smiley Wink Grin Cool

Just reach out via email if your having any issues. If you got two extra standard units just shutdown your full node, plug in the new units to their power supplies and the USB cable to the back of the main unit, fire up the full node and it should auto recognize them and start mining. Keep in mind you might need an extra USB hub if you have more than 2.

If I were to use an extra USB hub, what is the max number of standard units one full package can handle at any given time?
newbie
Activity: 18
Merit: 1
Dr. J!!!...my man...wanted to real quick let you know that the new miner that was giving me hardware errors yesterday when I first brought it up online...seems to have settled down overnight and the hardware error messages are gone...he is running spiffy like his brothers...3 brothers running in tandem and seamless...I love it...aye indeed you be the master...hehehe... Smiley Wink Cheesy Grin Cool...once again my thanks to you and the crew at Futurebit...a loyal fan...Tempestblack
hero member
Activity: 726
Merit: 504
All set with the cable thanks all. The good thing its one that we get with a lot of table and phone devices. The hookup was painless  and both hashing great.
Nice to see 313 watts used with 6TH hashing at the balance setting. I remember my Avalon 721 needing 1200watts for 6TH. Oh so quite too
Thanks for making this device possible
newbie
Activity: 18
Merit: 1
Dr. J...did as you instructed and yup the babies came up and mining has begun... Grin...but I am getting hardware errors on one of them...sent an email to futurebit to assist...I look forward to response...for now though...thank you thank you for great job... Smiley Wink Cheesy Grin Cool
legendary
Activity: 2174
Merit: 1401
Dr. J!!!....my man...the boys arrived beautifully and I have hooked them up to the initial apollo unit I had running...only thing is I am still trying to figure out how to get the two new miners up and running...lol...any advice would be appreciated...regardless bro...a big thanks to you and the crew there at Futurebit...you guys really do an awesome job please please keep up the great work... Smiley Wink Grin Cool

Just reach out via email if your having any issues. If you got two extra standard units just shutdown your full node, plug in the new units to their power supplies and the USB cable to the back of the main unit, fire up the full node and it should auto recognize them and start mining. Keep in mind you might need an extra USB hub if you have more than 2.
newbie
Activity: 18
Merit: 1
Dr. J!!!....my man...the boys arrived beautifully and I have hooked them up to the initial apollo unit I had running...only thing is I am still trying to figure out how to get the two new miners up and running...lol...any advice would be appreciated...regardless bro...a big thanks to you and the crew there at Futurebit...you guys really do an awesome job please please keep up the great work... Smiley Wink Grin Cool
Pages:
Jump to: