There are other options to consider for the complete off-grid system because this could eventually be extended to cover position A lighting and desktop computing, in which case a 48V battery with local 48V to 12V converters may be appropriate. This could then use a rack-mount 5kWh 48V battery, which could be cost effective.

Off-grid 12V system

Currently several systems at Oak House run off 12V:

Historically lighting has been run off 12V leisure batteries, but these now have very reduced capacity and have been replaced by mains ATX power supplies. In one case the original batteries serve as a backup. It was decided not to replace the leisure batteries. This means that the house's base load is higher than it needs to be.

Since the situation was last reviewed prices for LifePO4 batteries and PV panels have dropped substantially, meaning that it could be practical to build a small off-grid system to run these systems. Since we have cheap overnight electricity this could be used in winter to charge batteries. A further advantage of running computers from a battery based system is that the need for a UPS is avoided.

A staged project is being considered:

Options for server and desktop

This has been considered further, but since first considered upgrading the server to ubuntu 22.04 and subsequently to 24.04 has proved problematic(mongodb eol). As the desktop is on at least 12 hours a day consolidating the server into either the desktop or desktop + pi should be considered. The rationale for this is that the desktop uses about 30W when idle, the screen uses an additional 23W. The server probably uses about 15W so the total daily use can be compared in the following table.

ItemServer + DesktopDesktop only
Server (24X15)360
Desktop (12X30) day360360
Screen (day) (23X12)276276
Desktop (12X30) night360
Total976976

From a power consumption point of view these options are broadly similar, but the desktop only option would be simpler to power from a single battery, and as it is in the study routing a cable from a solar panel would be simpler.

It might be possible to use a Pi at night if only basic home automation functions were needed. This would then reduce power requirement. The pi would:

Stage 1 - battery power supply

This will consist of at least one 100Ah LifePO4 battery and charger. The charger will be controlled by a Raspberry PI.

Components:

ItemDescriptionPriceStatus
100Ah battery Eco-Worthy 100Ah 12.8V LifePO4 battery 219.99 Bought
Battery charger Victron Blue Smart IP22 12/30 Charger
  • Bluetooth VE.Smart networking - enables networking/synchronisation with other chargers
  • Charges Li-On (LifePO4) batteries
  • Charger can be controlled from Raspberry Pi running Venus OS
  • Using a 30A charger rather than 20A allows for completely recharging a 200Ah battery in 6.66 hours, which is a bit more than the Octopus offpeak period.
  • Charger doesn't have an off, so needs a switching plug or relay
  • When on measures battery and appears in VictronConnect, but when no power need a means of measuring battery
125 Ebay - BatteryMegastore
Smart Shunt Needed to measure battery 23.23 AliExpress
RS485 to USB Needed to connect smart shunt to pi 7.61 Ebay
RJ22? to connections
  • To connect smart shunt to RS485
  • Needs to be about 7.8mm wide
  • Have filed down connector from phone which was nearer 9.5mm wide
0 Have
USB to UART FT232R
  • FT232R
  • Needed to connect Pi to IP22 Charger
2.79 Buy from ebay
Raspberry Pi Raspberry Pi 3B running ? Buy second hand from ebay, already have SD card.

VictronConnect now runs on ubuntu, so no need for separate pi with Venus OS

Not using a Victron branded smart shunt, so VictronConnect probably won't control charging, need to write script to control on pi.

18 Buy from ebay
32Gb USB card for Pi 5 Already have
~12V to USB board 5.99 Ordered from Amazon to test
2 X ~12V to USB board 5.99 From Amazon
DC-DC 12V supply To be researched could MPPT do this?
Desktop power supply 115 HDPlex
PSU DC Input connector Use existing 8way CPU connector with end chopped off 0
6AWG cable for battery Red and Black 9.92 From ebay
2 Terminating lugs for battery cable
Ferrule for battery cable
60A Junction box 7.09 Amazon
Ply for battery box
Additional spend Total
Total cost

State of Charge (SOC) from Voltage

Unfortunately the EcoWorthy battery doesn't include a monitoring system, so this needs to be determined from voltage across the terminals when not charging or under load. The following table gives a conversion from voltage to soc.

VoltageSOC%
13.46100
13.3790
13.3580
13.3370
13.2860
13.2350
13.2240
13.2130
13.0820
12.8510

Server Cabinet Battery Loads

This needs revision as the PicoPSU is no longer in use as is the server it drives, it has been replaced by a RPi 5 with 0.5Tb disk the likely battery use is for the desktop.

Input Voltage
NameminmaxAC/DCRated WattsWattsNotes
Server PicoPSU 12 25 DC 120 20 Purchased 1/12/2013. Powers server motherboard, 4X SSD, usb peripherals
2 X DC-DC 5V converter for stable 5V supply 12 12 DC 30 6 9-36V jack to 5VUSB 5A converter to test with RPi including sound quality.
10X 10W Amplifiers 11 18 DC 100 10
Pi 3B+ DigiAmp+ 12 24 DC 20 3
Stable 12V DC Power supply 11 18 DC 38 14
i7 10700 desktop PSU 11 18 DC 300 50 Not decided what this is yet so excluded from calcs
Totals
12DC Current
24 hour consumption Measured consumption of cabinet is less than 1.2kWh
100Ah battery life
200Ah battery life 200Ah battery would be needed if desktop were to be moved to server cabinet

Should have simple meters for:

Battery charging with Victron Charger

Battery capacityCharge rateCharge time
100205
100303.33
2002010
200306.66

Server - 12V DC Stable power supply

Item>Power (W)
MaxTypical
Fritzbox 7530AX186
MegaSAT->IP Server208
4-port 2.5Gb hub
Totals

Need to analyse use of ethernet ports and group into:

This should result in a low speed majority spread across several hubs. These to be distributed between 12V and 5V stable supplies.

Server - 5V DC Stable power supply

Item>Power (W)Notes
MaxTypical
Pi 3B+153
TV forwarding TX103Currently off USB of server so excluded
Pi 3B+153To run Venus OS to control victron kit
Totals

PI4 measured idle at 0.41A @5.2V = 2.6W, starting code rises to 0.67A @ 5.18 = 3.4W, drops to 0.20A when shutdown.

PI3B is known to use less at idle, contention is that it will mainly be idle.

Server - 230V AC supplied

ItemPower (W)
GSW 2457 24port GBit Ethernet hub15
Satellite Amplifier10
Humax box10

Questions

Installation

Stage 3 - Desktop to server rack

INSTEAD ELIMINITATE SERVER RACK AND MOVE SERVER FUNCTIONS TO PI(s) AND DESKTOP

Desktop to be powered by 12V DC supply fed from battery

HDPlex 500 DC-DC ATX

Have now ordered HDPlex

ATX Adapter

DiyMore ATX 24 pin to USB/12VJack/Connector

Experimented with plugging 12V into the jack of this device, which appears to drive +12V and USB QC Circuits and puts an incorrect (low) voltage on some others

Connecting charger via UART

This article describes how to interface using UART to victron charger, so no need to use bluetooth. Several versions were encountered, including the latest which has 5 header pins towards the output end of the board. Our charger has serial number HQ2405UU674, which is greater than the critical number HQ2024nnnnn . See also here github

This requires a USB to UART convertor FT232R