Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Expose UPS status / data to Home Assistant #167

Open
kymocode opened this issue Jul 29, 2024 · 2 comments
Open

[Feature] Expose UPS status / data to Home Assistant #167

kymocode opened this issue Jul 29, 2024 · 2 comments
Labels
enhancement New feature or request planned To be implemented in future release

Comments

@kymocode
Copy link

Is your feature request related to a problem? Please describe.

It would be handy to create automations based on the power status of the UPS.
Additionally, most UPS can provide energy data which can be fed in to the energy dashboard

Describe the solution you'd like

upsc ups@localhost Init SSL without certificate database battery.capacity: 9.00 battery.charge: 100 battery.charge.low: 20 battery.charge.restart: 0 battery.charger.status: floating battery.energysave: no battery.energysave.delay: 300 battery.energysave.load: 5 battery.protection: yes battery.runtime: 3588 battery.type: PbAc battery.voltage: 41.3 battery.voltage.nominal: 36 device.mfr: EATON device.model: 5P 1550 device.serial: G117N35066 device.type: ups driver.name: usbhid-ups driver.parameter.pollfreq: 30 driver.parameter.pollinterval: 2 driver.parameter.port: auto driver.parameter.synchronous: auto driver.version: 2.8.0 driver.version.data: MGE HID 1.46 driver.version.internal: 0.47 driver.version.usb: libusb-1.0.26 (API: 0x1000109) input.current: 0.80 input.frequency: 50.0 input.frequency.extended: no input.frequency.nominal: 50 input.sensitivity: normal input.transfer.boost.low: 184 input.transfer.high: 294 input.transfer.low: 160 input.transfer.trim.high: 265 input.voltage: 233.9 input.voltage.extended: no input.voltage.nominal: 230 outlet.1.autoswitch.charge.low: 0 outlet.1.delay.shutdown: 65535 outlet.1.delay.start: 3 outlet.1.desc: PowerShare Outlet 1 outlet.1.id: 1 outlet.1.status: on outlet.1.switchable: yes outlet.2.autoswitch.charge.low: 0 outlet.2.delay.shutdown: 65535 outlet.2.delay.start: 6 outlet.2.desc: PowerShare Outlet 2 outlet.2.id: 2 outlet.2.status: on outlet.2.switchable: yes outlet.desc: Main Outlet outlet.id: 0 outlet.switchable: no output.current: 0.70 output.frequency: 50.0 output.frequency.nominal: 50 output.powerfactor: 0.73 output.voltage: 233.9 output.voltage.nominal: 230 ups.beeper.status: disabled ups.delay.shutdown: 20 ups.delay.start: 30 ups.efficiency: 90 ups.firmware: 03.18.0035 ups.load: 11 ups.load.high: 105 ups.mfr: EATON ups.model: 5P 1550 ups.power: 164 ups.power.nominal: 1550 ups.productid: ffff ups.realpower: 121 ups.realpower.nominal: 1100 ups.serial: G117N35066 ups.shutdown: enabled ups.start.auto: yes ups.start.battery: yes ups.start.reboot: yes ups.status: OL CHRG ups.test.interval: 2592000 ups.test.result: Done and passed ups.timer.shutdown: -1 ups.timer.start: -1 ups.type: offline / line interactive ups.vendorid: 0463

Home Assistant:
attribution: Data provided by TrueNAS integration Enable: true State: RUNNING icon: mdi:cog friendly_name: TrueNAS Services ups

Describe alternatives you've considered

Dockerising NUT on Scale and connecting HA and the USB UPS to NUT inside Docker

Additional context

@kymocode kymocode added the enhancement New feature or request label Jul 29, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@github-actions github-actions bot added the stale label Aug 12, 2024
Copy link

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 20, 2024
@tomaae tomaae reopened this Oct 2, 2024
@tomaae tomaae added planned To be implemented in future release and removed stale labels Oct 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request planned To be implemented in future release
Projects
None yet
Development

No branches or pull requests

2 participants