Skip to content

App which is using native HA Api to comunicate and report data to HA

Notifications You must be signed in to change notification settings

GamerClassN7/HA_Desktop_Companion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Github All Releases

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 ?

muniter/halinuxcompanion

Comunity Contact

HomeAssistant Comunity Forum

Join our Discord server!

Discord

Looking for linux version ?

muniter/halinuxcompanion

Installation

  1. Download latest release HERE
  2. Extract the zip file to some folder on your system,
  3. Run HA.exe
  4. Fill in "URL" & "API Token"
  5. 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

image image

Future plans TODO:

  • Improved debug mode
  • Encryption

Notifications

Example Basic Notification: image image

Example Inline Image Notification: image image

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

Example Audio Notification: image

Example Emulate Send Key Notification:

  • Require keys: in your configuration.yaml image
  • 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

About

App which is using native HA Api to comunicate and report data to HA

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages