boebbele

joined 1 year ago
[–] boebbele@feddit.de 0 points 4 months ago

Today it works again.

 

I use tailscale app from Fdroid. It works for me since over 2 years. Since the last update the app dont start. The app crashes on every start. I use a custom rom iodeos.

What can I do?

[–] boebbele@feddit.de 0 points 5 months ago

I managed it:

alias: Frigate - Notification
description: ""
trigger:
  - platform: mqtt
    topic: frigate/events
condition:
  - condition: template
    value_template: "{{ trigger.payload_json[\"type\"] == \"end\" }}"
action:
  - service: notify.jabber
    data:
      title: "Kamera {{trigger.payload_json['after']['camera']}} "
      message: >-
        Objekt {{trigger.payload_json['after']['label']}} erkannt von Kamera
        {{trigger.payload_json['after']['camera']}}.
      data:
        path: >-
          /mnt/sandisk1TB/frigate/clips/{{trigger.payload_json['after']['camera']}}-{{trigger.payload_json['after']['id']}}.jpg
[–] boebbele@feddit.de 0 points 5 months ago* (last edited 5 months ago)

I managed it:

alias: Frigate - Notification
description: ""
trigger:
  - platform: mqtt
    topic: frigate/events
condition:
  - condition: template
    value_template: "{{ trigger.payload_json[\"type\"] == \"end\" }}"
action:
  - service: notify.jabber
    data:
      title: "Kamera {{trigger.payload_json['after']['camera']}} "
      message: >-
        Objekt {{trigger.payload_json['after']['label']}} erkannt von Kamera
        {{trigger.payload_json['after']['camera']}}.
      data:
        path: >-
          /mnt/sandisk1TB/frigate/clips/{{trigger.payload_json['after']['camera']}}-{{trigger.payload_json['after']['id']}}.jpg
[–] boebbele@feddit.de 0 points 5 months ago* (last edited 5 months ago)

The Name of the Entinität in englisch is: image.ipcamsouth_Person. frigate Person detection.

[–] boebbele@feddit.de 0 points 5 months ago (2 children)

I know how to send images with xmpp. The problem is that the file name changes with every new snapshot. The entity image.ipcamsued_Person contains this current snapshot.

The question now is: how can I send the contents of this entity via xmpp. Do I have to read it out first and save it as a jpg?

 

how can I send the contents of an entity via xmpp or a matrix notification? For example, the entity is image.ipcam_sued_person (frigate) and contains a snapshot. jpg.

how can I send it as an image with xmpp.

message: { ?????????} or with path: ???

 

I always use xmpp to send notifications via webhook. Now I would like to test matrix. I installed the integration and it works to send text messages. Unfortunately I can't send pictures (png). what am I doing wrong?

[–] boebbele@feddit.de 0 points 7 months ago* (last edited 7 months ago)
  host: 192.168.1.x
  user: xxxx
  password: xxxx

cameras:
  Gartenhaus: # <------ Name der Kamera
    ffmpeg:
      hwaccel_args: preset-vaapi
      inputs:
        - path: rtsp://xxyyy# RTSP Pfad der Kamera
          roles:
            - detect
            - rtmp
            - record
            - snapshots
    objects:
      track:
        - person
        - dog
        - cat
    detect:
      width: 640 # <---- Auflösung des gewählten RTSP Streams
      height: 352 # <---- Auflösung des gewählten RTSP Streams
    record:
      enabled: True
      retain:
        days: 7
        mode: active_objects
    snapshots:
      enabled: True
      retain:
        default: 10
        mode: active_objects
        objects:
          person: 15
##############################################################################
  AP-Garage: # <------ Name der Kamera
    ffmpeg:
      hwaccel_args: preset-vaapi
      inputs:
        - path: rtsp:// # <----- RTSP Pfad der Kamera
          roles:
            - detect
            - rtmp
            - record
            - snapshots
    objects:
      track:
        - person
        - dog
        - cat
    detect:
      width: 640 # <---- Auflösung des gewählten RTSP Streams
      height: 480 # <---- Auflösung des gewählten RTSP Streams
    record:
      enabled: True
      retain:
        days: 7
        mode: active_objects
    snapshots:
      enabled: True
      retain:
        default: 10
        mode: active_objects
        objects:
          person: 15
detectors:
    coral:
      type: edgetpu
      device: usb
##### Birdseye #######
######################
birdseye:
  enabled: True
  restream: True
  height: 1080
  width: 1920
  mode: objects```

 

Who knows frigate well?

I have some errors in the log's. What is wrong? What can I do? The camera actually works good.

INFO : Capture process started for Cam-Garage: 325 2024-02-06 10:44:55.143985934 [mjpeg @ 0x7f180800c700] unable to decode APP fields: Invalid data found when processing input 2024-02-06 11:01:25.162700146 [mjpeg @ 0x7f1808129c80] bits 84 is invalid 2024-02-06 11:13:05.187471148 [mjpeg @ 0x7f1808129c80] unable to decode APP fields: Invalid data found when processing input 2024-02-06 11:17:55.192787457 [mjpeg @ 0x7f18081a7a80] dqt: len 27209 is too large 2024-02-06 11:19:15.193673762 [mjpeg @ 0x7f180800c700] unable to decode APP fields: Invalid data found when processing input 2024-02-06 11:21:05.197309665 [mjpeg @ 0x7f180800c700] bits 92 is invalid 2024-02-06 11:42:15.224087765 [mjpeg @ 0x7f180800c700] unable to decode APP fields: Invalid data found when processing input

Thanks for help!

 

Every day I have to reload the integration in homeassistant. otherwise the entinities ( binary_sensor.uptimekuma ) will change to become unavailable.

What can I do?

[–] boebbele@feddit.de 0 points 8 months ago (1 children)

I think I will try it with docker. And integrate whisper and Piper with the Wyoming integration in HA.

 

I installed dietpi with homeassistant. Unfortunately, this means that HA addons cannot be used. I haven't any need for long time. I was also able to install tasmoadmin, esphome etc. under dietpi. But now I would like to use Homeassistant's Assist. To do this I have to install Piper and whisper. Can I use the Dietpi Python environment or does it have to be done within the Homeassistant Python environment? What do i have to do?

[–] boebbele@feddit.de 0 points 1 year ago* (last edited 1 year ago)

Klingt interressant. Vor allem der e-go. Aber wenn ich sehe wie teuer die Teile sind...dann hat sich das gleich wieder erledigt. Das können sich dann wiedermal nur die reicheren Klimaretter leisten.