HA_Desktop_Companion
HA_Desktop_Companion copied to clipboard
App which is using native HA Api to comunicate and report data to HA
Most of the time new version introduce new bugs so please if you are using working version keep using it until some stable release come out :)
HA Desktop Companion - Reborn
Why did I make this app ?
Cause I don't like existing implementations using MQTT and I took inspiration from awesome ESPhome and its native communication protocol to HA and implemented it my own way :)
Feel free to contribute any time :)
Looking for linux version ?
Comunity Contact
Looking for linux version ?
Installation
- Download latest release HERE
- Extract the zip file to some folder on your system,
- Run
HA.exe - Fill in "URL" & "API Token"
- Click "Save"
Sensors implemented currently:
- battery_level
- battery_state
- is_charging
- wifi_ssid
- cpu_temp
- current_active_window
- uptime
- camera_in_use
- cpu_temperature (only native api supported)
- free_ram
- wmic (You can integrate any wmix query syou want :))
- platform: wmic
wmic_path: Win32_Battery
wmic_selector: BatteryStatus
wmic_namespace: \\root\CIMV2
value_map: "Discharging|On AC|Fully Charged|Low|Critical|Charging|Charging and High|Charging and Low|Undefined|Partially Charged"
name: Battery State
unique_id: battery_state
icon: "mdi:battery-minus"
entity_category: "diagnostic"
device_class: battery
App which is using native HA Api to comunicate and report data to HA
Screenshots

Future plans TODO:
- Improved debug mode
- Encryption
Notifications
Example Basic Notification:

Example Inline Image Notification:

{
"image":"https://upload.wikimedia.org/wikipedia/commons/9/9f/Old_wikipedia_logo.png"
}
Example Audio Notification:

Example Emulate Send Key Notification:
- Require
keys:in yourconfiguration.yaml - Keys Codes can be found Here in Colum: Value
Automation Ideas:
Pause TTS when camera is in use (usefull when working from home) credits: Hellis81
alias: Washing machine done
description: ""
trigger:
- platform: numeric_state
entity_id: sensor.washing_machine_program_progress
above: "99"
- platform: state
entity_id: sensor.washing_machine_operation_state
from: Run
to: Finished
- platform: state
entity_id: sensor.washing_machine_operation_state
from: Run
to: Ready
condition: []
action:
- if:
- condition: state
entity_id: binary_sensor.axlt2801_camera_in_use
state: "on"
then:
- wait_for_trigger:
- platform: state
entity_id:
- binary_sensor.axlt2801_camera_in_use
to: "off"
continue_on_timeout: false
else: []
- service: tts.cloud_say
data:
entity_id: media_player.hela_huset
message: "{{ states('sensor.washing_machine_tts') }}"
language: sv-SE
- repeat:
while:
- condition: or
conditions:
- condition: state
entity_id: binary_sensor.washing_machine_door
state: "off"
- condition: state
entity_id: sensor.washing_machine_program_progress
state: "100"
sequence:
- delay:
hours: 0
minutes: 5
seconds: 0
milliseconds: 0
- choose:
- conditions:
- condition: and
conditions:
- condition: state
entity_id: binary_sensor.washing_machine_door
state: "off"
- condition: state
entity_id: sensor.washing_machine_program_progress
state: "100"
sequence:
- service: tts.cloud_say
data:
entity_id: media_player.hela_huset
message: >-
"{{ states('sensor.washing_machine_tts') }} och luckan är
fortfarande stängd."
language: sv-SE
- service: homeassistant.update_entity
target:
entity_id: sensor.washing_machine_json
data: {}
default: []
mode: single