Home assistant norifications

Discussion in 'General Development' started by patryk192, Apr 2, 2025.

  1. patryk192

    patryk192 New Member

    Hello,

    Can someone confirm to me whether it is possible to send notifications from Home Assistant to Zidoo?

    I will have a satellite decoder connected to the HDMI IN input and I would like to be able to display notifications from HA when using this decoder

    I have a Samsung TV which unfortunately does not have an android and can not do it directly on TV, so I would like to buy a zidoo z9x
     
  2. patryk192

    patryk192 New Member

  3. Faceman2k24

    Faceman2k24 Active Member

    You can push notifications to the Zidoo, but I cant tell you whether they will overlay over anything.

    I highly doubt it can overlay over a HDMI input though, the way HDMI works makes that very difficult

    It is technically possible to send notifications to a Samsung TV with the Tizen Smartthings API, but nobody seems to have it working reliably. It is super easy on Android and WebOS Tvs through.
     
    patryk192 likes this.
  4. peteru

    peteru Well-Known Member

    I don't know about the architecture of the Zidoo hardware, but I've worked with Broadcom STB and PVR SoCs before. I have fairly intimate knowledge of how things work as I have written device drivers for them. Broadcom implementation of HDMI will take the HDMI in data and store it (and associated metadata) in a memory buffer. At that stage, you have the option of manipulating that data or not. Broadcom have loads of processing options, such as low latency or high quality transcoding in real-time (for streaming HDMI-in to network), scaling and other transforms, image processing, colour space conversion, de-interlacing, frame rate conversion, etc. Finally, the metadata is updated to reflect any changes and then pushed out the HDMI output (and possibly other outputs too).

    I suspect that most other SoCs, including those used by Zidoo will either have zero smarts and function as a dumb switch that is effectively a passthrough (no scope for any modifications) or have enough smarts to at least store the video frames in a frame buffer and modify the metadata. If it is the second case, then it should be possible to combine the HDMI-in frame buffer with an OSD overlay and display arbitrary messages.

    As to whether it is possible to do this, I don't know. I only have a Z9X 8K and it does not have a HDMI input to test.
     
  5. wizmo

    wizmo Member

    I looked at this a while ago, and concluded It's generally easier to send notifications direct to the projector (or TV).

    For the device it's self.
    - When I looked a Android notifications on a Z9S, the required debug mode did not maintain after reboot. It maybe fixed on newer versions.
    - The other approach would be to try to install the HA Android app via apk.
     
  6. patryk192

    patryk192 New Member

    I have samsung TV - it is not possible to send notifications directly
    Do notifications on the zidoo only work in debugging mode?

    Did you check it through the notification app?
    Do notifications appear on a screen that is displayed by hdmi?
     
  7. wizmo

    wizmo Member

    Have just tested "Notifications for Android TV" on my Z9X. You need to install an app on the player (that seems to resolves the issues I experienced previously)

    1. Download the Server for Android TV apk from
    `https://tvnotifications.de/en/v5`

    2. Upload and install using the apk installer from
    `http://<player_ip_address>:18888`

    3. Start the app on the player to intialize (setup wizard)

    4. In HA, add a new "Notifications for Android TV" service/action and add enter you player IP address. (I named mine 'Zidoo TV')

    5. Create a script
    ```
    alias: Test Zidoo Notify
    sequence:
    - action: notify.zidoo_tv
    metadata: {}
    data:
    message: Here is a camera image
    title: Motion Detected
    data:
    icon:
    path: /config/www/logo-small.png
    image:
    path: /config/www/captures/lambcam.jpg
    description: "Sends a message to the Z9X with an icon and saved image"
    ```
    _NOTE: path folders may need white listing

    6. The "Notification for Android TV" app needs to be added to the Launch on (boot) Manager (see "Clean Up" app on the player).

    Can confirm it works when using the HDMI-In app in full-screen preview (over the HDMI output to TV).
     
    Last edited: May 1, 2025

Share This Page