![]() # lowest battery charge where mining will start WALLET_ADDRESS = "35kwhvhyfnVnGdoWdyLqrtaHeY7RYByPfW" # mining wallet address PASSWD = "" # password that you use to log into the gateway POWERWALL_URL = "" # PowerWall Gateway address goes hereĮMAIL = "" # email address that you use to login into the gateway I repeat this every HOW_OFTEN_TO_CHECK seconds. Then, in a while loop I check my battery level and start and stop the miner as appropriate. This class has methods to start and stop the miner, as well as check if it is running. I create a new Miner class with my wallet address and URL. I start a docker client to get the running images. To install this package use the following command: pip3 install tesla_powerwallĪnd since I use this docker image to run the Trex Miner app, we also need to install the docker python package. Yeah, I like long variable names.įortunately, Tesla provides an API to gather information from the Powerwall and there is a Python package to query it. I set this threshold in the variable BATTERY_CHARGE_TO_START_MINING in the code. ![]() I’m just going to mine when my batteries are charged above a certain threshold. My overall strategy for this operation will be pretty simple to start off. I need to do some research to see if there are better options – which I assume exist. I’m running Ubuntu 20.04, and I’ve decided to mine with a docker container and pointing my card at an ethash endpoint from NiceHash. It’s a little old, but they’re still going for $700 on eBay these days. My workstation that I’ll be mining on has a sole Gigabyte 1080 TI. I haven’t done the actual math on it, but I think mining crypto is more profitable that selling my power back to my utility provider. Mining crypto with a graphics card that I already have will make me around $50-100/month and give me a chance to whip up a script in Python, which is what I truly enjoy in life. I’m sitting here now producing extra power. Mining isn’t new to me, but I mostly gave up on it in 2012/2013 when I was only mining a few of Bitcoin a month and it wasn’t worth it to me anymore. Mine crypto, that’s what I can do! Those of you that know me IRL, know that I’ve been involved in crypto for a decade. So, after my batteries fill up for the day, I usually have power production that is going to waste. I currently don’t have permission to operate (PTO) from my electricity provider, which means I can’t ship any of my surplus power back to the grid. I had Tesla solar panels and Powerwalls installed several weeks ago. Tesla Solar, Powerwalls, Docker, Python, and Crypto Mining Restart: unless-stopped This entry was posted in docker, self hosting, torrents and tagged docker, lidarr, linux, pia, prowlarr, qbittorrent, radarr, self hosting, sonarr, torrents on Novemby pizzapower. ![]() Image: lscr.io/linuxserver/prowlarr:develop home/user/data2/jackett/config:/config WEBUI_PORT=6969 #not the default change in webui dev/dri/renderD128:/dev/dri/renderD128 #may be different dev/dri/card0:/dev/dri/card0 #your devices go here home/user/data/television:/data/tvshows NVIDIA_DRIVER_CAPABILITIES=compute,video,utility NVIDIA_VISIBLE_DEVICES=GPU-04aeacae-0ae1-25b6-1504-a4bec4ed2da9 #change as needed But here is the updated docker-compose.yml. I updated this post to add in prowlarr support.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |