Public Access
fix(ups-hid): voltage, frequency and runtime
Signed-off-by: bullshit <coding@ow-software.pl>
This commit is contained in:
11 files changed
+380
-54
No files matched your search
@@ -1,25 +1,23 @@
|
||||
# Example: APC Back-UPS ES 700 Configuration
|
||||
# Complete production configuration for APC UPS
|
||||
# Complete production configuration for APC UPS with European defaults
|
||||
# Copy and customize this file for your APC device
|
||||
|
||||
substitutions:
|
||||
name: "apc-ups-monitor"
|
||||
friendly_name: "Office APC UPS"
|
||||
|
||||
# Device customization
|
||||
timezone: "America/Vienna" # Replace with your timezone
|
||||
|
||||
# Testing/production mode
|
||||
simulation_mode: "false" # Set to "true" for testing without hardware
|
||||
|
||||
esphome:
|
||||
name: "${name}"
|
||||
friendly_name: "${friendly_name}"
|
||||
comment: "APC Back-UPS ES 700 Monitor"
|
||||
comment: "APC Back-UPS ES 700 Monitor with European defaults"
|
||||
|
||||
# Use modular configuration packages
|
||||
packages:
|
||||
# Core functionality
|
||||
# Regional defaults (European voltage/frequency standards)
|
||||
regional_defaults: !include ../regional/european_base.yaml
|
||||
|
||||
# Core functionality
|
||||
base_ups: !include ../base_ups.yaml
|
||||
essential: !include ../essential_sensors.yaml
|
||||
|
||||
@@ -32,12 +30,6 @@ packages:
|
||||
# APC-specific optimizations
|
||||
apc_device: !include ../device_types/apc_backups_es.yaml
|
||||
|
||||
# Time component for accurate timestamps
|
||||
time:
|
||||
- platform: sntp
|
||||
id: sntp_time
|
||||
timezone: "${timezone}"
|
||||
|
||||
# Optional: Home Assistant API (uncomment to enable)
|
||||
# api:
|
||||
# encryption:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Protocol Selection Demo Configuration
|
||||
# Demonstrates the new manual protocol selection feature
|
||||
# Demonstrates the new manual protocol selection feature with European defaults
|
||||
|
||||
substitutions:
|
||||
name: "ups-protocol-demo"
|
||||
@@ -9,10 +9,14 @@ substitutions:
|
||||
esphome:
|
||||
name: "${name}"
|
||||
friendly_name: "${friendly_name}"
|
||||
comment: "Demonstration of manual protocol selection"
|
||||
comment: "Demonstration of manual protocol selection with European defaults"
|
||||
|
||||
# Use base configuration package
|
||||
# Use modular configuration packages
|
||||
packages:
|
||||
# Regional defaults (European voltage/frequency standards)
|
||||
regional_defaults: !include ../regional/european_base.yaml
|
||||
|
||||
# Base functionality
|
||||
base_ups: !include ../base_ups.yaml
|
||||
essential: !include ../essential_sensors.yaml
|
||||
|
||||
@@ -29,6 +33,10 @@ ups_hid:
|
||||
# protocol: cyberpower # Force CyberPower HID Protocol
|
||||
# protocol: generic # Force Generic HID Protocol
|
||||
|
||||
# Platform stubs for compilation
|
||||
button:
|
||||
binary_sensor:
|
||||
|
||||
# Enhanced logging to see protocol selection
|
||||
logger:
|
||||
level: DEBUG
|
||||
|
||||
@@ -1,24 +1,25 @@
|
||||
# Example: CyberPower CP1500EPFCLCD Configuration
|
||||
# Complete production configuration for CyberPower UPS
|
||||
# Complete production configuration for CyberPower UPS with European defaults
|
||||
# Copy and customize this file for your CyberPower device
|
||||
|
||||
substitutions:
|
||||
name: "rack-ups-monitor"
|
||||
friendly_name: "Rack CyberPower UPS"
|
||||
|
||||
# Device customization
|
||||
timezone: "America/Vienna" # Replace with your timezone
|
||||
|
||||
# Testing/production mode
|
||||
simulation_mode: "false" # Set to "true" for testing without hardware
|
||||
|
||||
# Override timezone if needed (defaults to Europe/Warsaw from regional template)
|
||||
timezone: "Europe/Vienna" # Austrian timezone
|
||||
|
||||
esphome:
|
||||
name: "${name}"
|
||||
friendly_name: "${friendly_name}"
|
||||
comment: "CyberPower CP1500EPFCLCD Monitor"
|
||||
comment: "CyberPower CP1500EPFCLCD Monitor with European defaults"
|
||||
|
||||
# Use modular configuration packages
|
||||
packages:
|
||||
# Regional defaults (European voltage/frequency standards)
|
||||
regional_defaults: !include ../regional/european_base.yaml
|
||||
|
||||
# Core functionality
|
||||
base_ups: !include ../base_ups.yaml
|
||||
essential: !include ../essential_sensors.yaml
|
||||
@@ -32,12 +33,6 @@ packages:
|
||||
# CyberPower-specific optimizations
|
||||
cyberpower_device: !include ../device_types/cyberpower_cp1500.yaml
|
||||
|
||||
# Time component for accurate timestamps
|
||||
time:
|
||||
- platform: sntp
|
||||
id: sntp_time
|
||||
timezone: "${timezone}"
|
||||
|
||||
# Optional: Home Assistant API (uncomment to enable)
|
||||
# api:
|
||||
# encryption:
|
||||
|
||||
Reference in new issue
Block a user