HA_Desktop_Companion

Did you get my test messages :smiley:

Another thing I have thought about is perhaps a timestamp in the logs.
So instead of:

{"data":[{"unique_id":"currently_active_window","type":"sensor","state":"Settings \u2013 Home Assistant och 11 sidor till - Arbete \u2013 Microsoft? Edge","icon":"mdi:application"}],"type":"update_sensor_states"}
OK

you get:

{"datetime": "2022-08-19 14:25:00", "data":[{"unique_id":"currently_active_window","type":"sensor","state":"Settings \u2013 Home Assistant och 11 sidor till - Arbete \u2013 Microsoft? Edge","icon":"mdi:application"}],"type":"update_sensor_states"}
OK

Try to download same File Notifications should work now :slight_smile:

1 Like

Thank you very very much! Working now!

Feature request: add image to notifications

i don’t see option to fill in image


can you advice me how can i paste image inside of notifications ?

Also fill the Request to github :slight_smile: i i dnot need to hold it in my brain


  - alias: Vhod gibanje snapshot desktop
    trigger:
      platform: state
      entity_id: binary_sensor.dlink_senzor
      to: 'on'
    action:
      - service: camera.snapshot
        data:
          entity_id: camera.vhod
          filename: '/xxxx/vhod.jpg'
      - service: notify.mobile_app_desktop
        data:             #_template
          message: Gibanje vhod snapshot
          data:
            attachment:
              url: 'https://xxxxxx.xxx/vhod.jpg'
              content-type: png
              hide-thumbnail: false

I am also using frigate mobile notification blueprint: Frigate Mobile App Notifications


@Hellis81 Timestamp in place

sad to say they are not nativelly suported in .NET platform i will need to take closer look and it will be really time demanding will do next Month when i will have mor free time and app will be mor click and cleaned from initial debris from development :slight_smile:

1 Like

I still get the same error message when I try notification on the latest version.

Nothing in the HA_desktop logs but I see this in HA logs:

image
progress i dinaly found some clue

did you downloadet correct filename ? Filename: win-x64.zip

Downloaded it again and I get the same error.

@Hellis81 maybe try to register app then close it vith close butoon not x button and then start it again sometime HA badly rebister WS when registering it when just conect to registered instance everything work at leas for me

I have tried that also.
I get this popup:

image

So I believe the issue is not in the app but something with HA and the communication to the computer.
It could be that since message is blocked since it’s a work computer.
Our computers are so crippled they aren’t much of computers anymore.

Can you PM me Full LOG ?

i made one more build for you Release Lets Fix All Bugs! · GamerClassN7/HA_Desktop_Companion · GitHub try it then send me full log file :slight_smile: need to go to diner with GF see you at monday

I think I have found the issue, or at least something related to it.

But I can’t enable it.
I’ll have to see what needs to be done

I had to edit this automation in case anyone has copied parts of it.
wait for trigger does not trigger if the stat is already the wanted state.

The workaround I found is to have a if-then, to only wait for trigger if the state is on.

1 Like

Hello Finally manage to impalement Images image
Could you try to test tomorrow new beta version ? help would be much appreciated :slight_smile:


Also per native app guideline I need to alter key in data to image/video/audio

1 Like

I have this disable ass well :slight_smile: those are native browser notifications, Can you please provide information if Websocket notification are working on same network on your mobile phone ?

I can send notifications to my phones without issues.
The phones are set to Always websocket communication

New Release Release Let's share some images :D · GamerClassN7/HA_Desktop_Companion · GitHub

1 Like