frigate-hass-card icon indicating copy to clipboard operation
frigate-hass-card copied to clipboard

go2rtc not working

Open penguinpatrol opened this issue 1 year ago • 2 comments

Description of problem:

i am unable to get 2 way communication running with my reolink doorbell and no sound from the reolink dome camera and am unsure why alongside the live views being at a very low frame rate

Frigate card diagnostic information

for the doorbell camrera

{
  "ha_version": "2024.1.5",
  "card_version": "5.2.0",
  "browser": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 OPR/106.0.0.0 (Edition std-1)",
  "date": "2024-01-25T17:05:42.684Z",
  "frigate_version": {
    "0e680bfa38e395a81412a82656638559": "4.0.1/0.12.1-367d724"
  },
  "lang": "en",
  "timezone": "Europe/London",
  "git": {
    "build_version": "5.2.0-HEAD+g69249b6",
    "build_date": "Fri, 23 Jun 2023 15:26:26 GMT",
    "commit_date": "Thu, 22 Jun 2023 09:21:26 -0600"
  },
  "config": {
    "type": "custom:frigate-card",
    "cameras": [
      {
        "camera_entity": "camera.driveway",
        "live_provider": "go2rtc",
        "go2rtc": {
          "modes": [
            "webrtc"
          ]
        }
      }
    ],
    "menu": {
      "buttons": {
        "microphone": {
          "enabled": true,
          "alignment": "opposing",
          "type": "toggle"
        },
        "timeline": {
          "enabled": false
        },
        "cameras": {
          "enabled": false
        },
        "frigate": {
          "enabled": true
        },
        "download": {
          "enabled": false
        },
        "media_player": {
          "enabled": false
        },
        "mute": {
          "enabled": true,
          "alignment": "opposing"
        },
        "camera_ui": {
          "enabled": false
        }
      },
      "style": "overlay",
      "position": "bottom",
      "button_size": 50
    },
    "live": {
      "controls": {
        "thumbnails": {
          "mode": "none"
        }
      },
      "auto_mute": "all",
      "preload": false,
      "auto_pause": "hidden"
    },
    "dimensions": {},
    "media_gallery": {
      "controls": {
        "thumbnails": {
          "size": 140,
          "show_favorite_control": false,
          "show_timeline_control": false,
          "show_download_control": false
        },
        "filter": {
          "mode": "none"
        }
      }
    }
  }
}

in the frigate ui

2024-01-25 16:59:56.201456234  [INFO] Preparing go2rtc config...
2024-01-25 16:59:56.361538469  [INFO] Got IP address from supervisor: 192.168.1.157
2024-01-25 16:59:56.399648656  [INFO] Got WebRTC port from supervisor: 8556
2024-01-25 16:59:57.221768277  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-25 16:59:57.221772714  [INFO] Starting go2rtc...
2024-01-25 16:59:57.223681163  ./run.user: line 70: /config/go2rtc: cannot execute binary file: Exec format error
2024-01-25 16:59:57.223685209  ./run.user: line 70: /config/go2rtc: Success
2024-01-25 16:59:57.227132261  [INFO] The go2rtc service exited with code 1 (by signal 0)
2024-01-25 16:59:58.231488797  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-25 16:59:58.231524256  [INFO] Starting go2rtc...
2024-01-25 16:59:58.233668968  ./run.user: line 70: /config/go2rtc: cannot execute binary file: Exec format error
2024-01-25 16:59:58.233713059  ./run.user: line 70: /config/go2rtc: Success
2024-01-25 16:59:58.236526113  [INFO] The go2rtc service exited with code 1 (by signal 0)
2024-01-25 16:59:59.242854690  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-25 16:59:59.242858001  [INFO] Starting go2rtc...
2024-01-25 16:59:59.245266550  ./run.user: line 70: /config/go2rtc: cannot execute binary file: Exec format error
2024-01-25 16:59:59.245270719  ./run.user: line 70: /config/go2rtc: Success
2024-01-25 16:59:59.248341961  [INFO] The go2rtc service exited with code 1 (by signal 0)
2024-01-25 17:00:00.252545523  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-25 17:00:00.252548311  [INFO] Starting go2rtc...
2024-01-25 17:00:00.253669374  ./run.user: line 70: /config/go2rtc: cannot execute binary file: Exec format error
2024-01-25 17:00:00.253683340  ./run.user: line 70: /config/go2rtc: Success
2024-01-25 17:00:00.256277082  [INFO] The go2rtc service exited with code 1 (by signal 0)
2024-01-25 17:00:01.259309619  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-25 17:00:01.259312968  [INFO] Starting go2rtc...
2024-01-25 17:00:01.260400837  ./run.user: line 70: /config/go2rtc: cannot execute binary file: Exec format error
2024-01-25 17:00:01.260411223  ./run.user: line 70: /config/go2rtc: Success
2024-01-25 17:00:01.262680178  [INFO] The go2rtc service exited with code 1 (by signal 0)
2024-01-25 17:00:02.273216296  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-25 17:00:02.273284132  [INFO] Starting go2rtc...
2024-01-25 17:00:02.274386493  ./run.user: line 70: /config/go2rtc: cannot execute binary file: Exec format error
2024-01-25 17:00:02.274441809  ./run.user: line 70: /config/go2rtc: Success
2024-01-25 17:00:02.284782921  [INFO] The go2rtc service exited with code 1 (by signal 0)
2024-01-25 17:00:03.290918711  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-25 17:00:03.290923405  [INFO] Starting go2rtc...
2024-01-25 17:00:03.292973621  ./run.user: line 70: /config/go2rtc: cannot execute binary file: Exec format error
2024-01-25 17:00:03.292977993  ./run.user: line 70: /config/go2rtc: Success
2024-01-25 17:00:03.297941839  [INFO] The go2rtc service exited with code 1 (by signal 0)
2024-01-25 17:00:04.308567094  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-25 17:00:04.308575482  [INFO] Starting go2rtc...
2024-01-25 17:00:04.312386904  ./run.user: line 70: /config/go2rtc: cannot execute binary file: Exec format error
2024-01-25 17:00:04.312436897  ./run.user: line 70: /config/go2rtc: Success
2024-01-25 17:00:04.321856329  [INFO] The go2rtc service exited with code 1 (by signal 0)
2024-01-25 17:00:05.333141409  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-25 17:00:05.333150202  [INFO] Starting go2rtc...
2024-01-25 17:00:05.336899778  ./run.user: line 70: /config/go2rtc: cannot execute binary file: Exec format error
2024-01-25 17:00:05.336940971  ./run.user: line 70: /config/go2rtc: Success
2024-01-25 17:00:05.346331739  [INFO] The go2rtc service exited with code 1 (by signal 0)
2024-01-25 17:00:06.192105165  [INFO] Starting go2rtc healthcheck service...
2024-01-25 17:00:06.357848776  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-25 17:00:06.357858145  [INFO] Starting go2rtc...
2024-01-25 17:00:06.361898695  ./run.user: line 70: /config/go2rtc: cannot execute binary file: Exec format error
2024-01-25 17:00:06.361944125  ./run.user: line 70: /config/go2rtc: Success
2024-01-25 17:00:06.371975110  [INFO] The go2rtc service exited with code 1 (by signal 0)
2024-01-25 17:00:07.382725875  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-25 17:00:07.382735020  [INFO] Starting go2rtc...
2024-01-25 17:00:07.386798431  ./run.user: line 70: /config/go2rtc: cannot execute binary file: Exec format error
2024-01-25 17:00:07.386844365  ./run.user: line 70: /config/go2rtc: Success
2024-01-25 17:00:07.396764995  [INFO] The go2rtc service exited with code 1 (by signal 0)
2024-01-25 17:00:08.407628115  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-25 17:00:08.407637871  [INFO] Starting go2rtc...
2024-01-25 17:00:08.411738188  ./run.user: line 70: /config/go2rtc: cannot execute binary file: Exec format error
2024-01-25 17:00:08.411783876  ./run.user: line 70: /config/go2rtc: Success
2024-01-25 17:00:08.421783218  [INFO] The go2rtc service exited with code 1 (by signal 0)
2024-01-25 17:00:09.433588408  [WARN] Using go2rtc binary from '/config/go2rtc' instead of the embedded one
2024-01-25 17:00:09.433598013  [INFO] Starting go2rtc...

Additional information:

penguinpatrol avatar Jan 25 '24 17:01 penguinpatrol

2024-01-25 17:00:08.411738188 ./run.user: line 70: /config/go2rtc: cannot execute binary file: Exec format error

Well that's interesting. Seems like your Frigate instance is having issues (unlikely not related to the card), seems like the go2rtc version it's trying to run is for the wrong CPU architecture?

dermotduffy avatar Jan 26 '24 03:01 dermotduffy

Ahhhh that is probably due to the fact I migrated from home assistant green to a mini pc

penguinpatrol avatar Jan 26 '24 12:01 penguinpatrol