Using ESPHome on critical devices, such as networking gear

In an effort to monitor the consumption of everything- I ran across an unusual problem.

When connecting my core switch to a ESPHome flashed smart switch, I noticed two things-

  1. It is very easy to accidentally turn the switch off.
    • This is a problem, because you cannot turn it back on remotely! Since, wifi connects to the core switch.
  2. When flashing updated firmware, the relay will quickly toggle for a very short duration.
    • This can cause devices to power cycle.

So, I set out to see how I could customize my configuration to be suitable for managing my core switch.

I will be implementing:

  1. A button to power-cycle the core switch.
  2. Configuration to prevent the relay from toggling during firmware updates / ESPHome restarts.
  3. Removing toggle switches.

How to start your A/C compressor off-grid.

Starting your A/C compressor generates a massive inrush current. Many inverters will have issues getting the motor spinning.

In the case of my 3.5 Ton unit, the L.R.A. (Locked rotor amps) is 112.0 amps @ 220v (24,640 watts). This is far more current then my inverter can provide. This is the amount of amperage which it can potentially take to start the compressor motor.

This post, describes how to install a soft start, which will allow your compressor to easily start off-grid using your solar array with inverter and batteries, or via a smaller generator.

Installing Solar-Assistant

Per my home solar project, I needed a method to collect data from both my batteries and inverters, in near-real-time, with no dependancy on the internet.

Since, my inverter's connection relies on cloud applications to move data around, I decided to give Solar Assistant a try after reading of its support for the solark-12k.

Finished Energy Dashboard:

ConnectX-3 Set Port Mode to ETH/IB

I just swapped my TrueNAS from a Dell R720XD over to a Dell r730XD. During this migration, I moved over my NVMe drives, NICs, and everything else relavent.

However, after firing up TrueNAS on the new hardware, I noticed my 40G NIC was not listed in the list of devices!

After once again googling how to change the mode over, I figured I would just quickly write some documentation incase this happens again in the future.