home assistant updates

This commit is contained in:
2026-01-21 23:13:28 -05:00
parent 4d2f6831e3
commit 606035432b
4 changed files with 132 additions and 20 deletions

View File

@@ -12,14 +12,7 @@
enable = true; enable = true;
openFirewall = true; openFirewall = true;
config = { config = {
http = { http.server_port = 8123;
server_port = 8123;
server_host = [
"192.168.90.35"
"192.168.95.35"
"127.0.0.1"
];
};
homeassistant = { homeassistant = {
time_zone = "America/New_York"; time_zone = "America/New_York";
unit_system = "us_customary"; unit_system = "us_customary";
@@ -27,6 +20,7 @@
packages = { packages = {
victron_modbuss = "!include ${./home_assistant/victron_modbuss.yaml}"; victron_modbuss = "!include ${./home_assistant/victron_modbuss.yaml}";
battery_sensors = "!include ${./home_assistant/battery_sensors.yaml}"; battery_sensors = "!include ${./home_assistant/battery_sensors.yaml}";
gps_location = "!include ${./home_assistant/gps_location.yaml}";
}; };
}; };
recorder = { recorder = {
@@ -72,6 +66,7 @@
py-improv-ble-client # for esphome py-improv-ble-client # for esphome
pymodbus # for modbus pymodbus # for modbus
pyopenweathermap # for weather pyopenweathermap # for weather
pymetno # for met.no weather
uiprotect # for ubiquiti integration uiprotect # for ubiquiti integration
unifi-discovery # for ubiquiti integration unifi-discovery # for ubiquiti integration
]; ];

View File

@@ -0,0 +1,122 @@
title: Van Overview
views:
- title: Overview
path: overview
type: sections
sections:
# Battery Status Section
- type: grid
title: Battery Status
cards:
- type: gauge
entity: sensor.jk0_soc
name: Battery 0
min: 0
max: 100
severity:
green: 50
yellow: 20
red: 0
needle: true
- type: gauge
entity: sensor.jk1_soc
name: Battery 1
min: 0
max: 100
severity:
green: 50
yellow: 20
red: 0
needle: true
- type: entity
entity: sensor.jk0_total_voltage
name: Batt 0 Voltage
- type: entity
entity: sensor.jk1_total_voltage
name: Batt 1 Voltage
# Solar Production Section
- type: grid
title: Solar Production
cards:
- type: gauge
entity: sensor.solar_wattage
name: Solar Now
min: 0
max: 400
severity:
green: 100
yellow: 50
red: 0
needle: true
- type: entity
entity: sensor.solar_yield_today
name: Today's Yield
- type: entity
entity: sensor.estimated_energy_production_today
name: Forecast Today
- type: entity
entity: sensor.estimated_energy_production_tomorrow
name: Forecast Tomorrow
# Environment Section
- type: grid
title: Van Environment
cards:
- type: entity
entity: sensor.environment_temperature
name: Inside Temp
- type: entity
entity: sensor.environment_humidity
name: Inside Humidity
- type: entity
entity: sensor.current_weather_temperature
name: Outside Temp
- type: entity
entity: sensor.current_weather_humidity
name: Outside Humidity
- type: entity
entity: sensor.current_weather_condition
name: Weather
# Charger Status Section
- type: grid
title: Charger
cards:
- type: entity
entity: sensor.charger_dc_wattage
name: Charging Power
- type: entity
entity: sensor.charger_charge_state
name: Charge State
- type: entity
entity: sensor.charger_dc_wattage_daily
name: Charged Today
# Location Section
- type: grid
title: Location
cards:
- type: entity
entity: sensor.gps_location
name: Current Location
- type: entity
entity: sensor.gps_speed
name: Speed
- type: entity
entity: binary_sensor.gps_fix_available
name: GPS Fix

View File

@@ -77,7 +77,7 @@ modbus:
# GPS # GPS
- name: GPS Latitude - name: GPS Latitude
slave: 1 slave: 100
address: 2800 address: 2800
input_type: holding input_type: holding
data_type: int32 data_type: int32
@@ -87,7 +87,7 @@ modbus:
unique_id: gps_latitude unique_id: gps_latitude
- name: GPS Longitude - name: GPS Longitude
slave: 1 slave: 100
address: 2802 address: 2802
input_type: holding input_type: holding
data_type: int32 data_type: int32
@@ -97,7 +97,7 @@ modbus:
unique_id: gps_longitude unique_id: gps_longitude
- name: GPS Course - name: GPS Course
slave: 1 slave: 100
address: 2804 address: 2804
input_type: holding input_type: holding
data_type: uint16 data_type: uint16
@@ -108,7 +108,7 @@ modbus:
unique_id: gps_course unique_id: gps_course
- name: GPS Speed - name: GPS Speed
slave: 1 slave: 100
address: 2805 address: 2805
input_type: holding input_type: holding
data_type: uint16 data_type: uint16
@@ -119,7 +119,7 @@ modbus:
unique_id: gps_speed unique_id: gps_speed
- name: GPS Fix - name: GPS Fix
slave: 1 slave: 100
address: 2806 address: 2806
input_type: holding input_type: holding
data_type: uint16 data_type: uint16
@@ -128,7 +128,7 @@ modbus:
unique_id: gps_fix unique_id: gps_fix
- name: GPS Satellites - name: GPS Satellites
slave: 1 slave: 100
address: 2807 address: 2807
input_type: holding input_type: holding
data_type: uint16 data_type: uint16
@@ -137,7 +137,7 @@ modbus:
unique_id: gps_satellites unique_id: gps_satellites
- name: GPS Altitude - name: GPS Altitude
slave: 1 slave: 100
address: 2808 address: 2808
input_type: holding input_type: holding
data_type: int32 data_type: int32

View File

@@ -18,11 +18,6 @@ in
config = { config = {
http = { http = {
server_port = 8123; server_port = 8123;
server_host = [
"192.168.99.14"
"192.168.90.40"
"127.0.0.1"
];
use_x_forwarded_for = true; use_x_forwarded_for = true;
trusted_proxies = "127.0.0.1"; trusted_proxies = "127.0.0.1";
}; };