Git Product home page Git Product logo

ha_desktop_companion's Introduction

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

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 :)

HomeAssistant Comunity Forum Thread

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:

  • Simple configuration of sensors in YAML
  • Improved debug mode
  • Encryption

Notifications

Example Basic Notification: image image

Example Inline Image Notification: image image

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.