Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2019
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 1.07 KB | None | 0 0
  1. {
  2.     "bridge": {
  3.         "name": "HOOBS",
  4.         "username": "11:11:11:11:11:11",
  5.         "port": 51826,
  6.         "pin": "031-45-154"
  7.  
  8.     },
  9.  
  10.     "description": "This file is used for plugin configuration.",
  11.  
  12.     "accessories": [],
  13.  
  14.     "platforms": [{
  15.             "platform": "config",
  16.             "name": "Config",
  17.             "port": 8080,
  18.             "auth": "form",
  19.             "theme": "dark-mode",
  20.             "restart": "sudo -n systemctl restart homebridge homebridge-config-ui-x",
  21.             "temp": "/sys/class/thermal/thermal_zone0/temp",
  22.             "tempUnits": "c",
  23.             "sudo": true,
  24.             "standalone": true,
  25.             "log": {
  26.                 "method": "custom",
  27.                 "command": "sudo -n journalctl -o cat -n 500 -f -u homebridge -u homebridge-config-ui-x"
  28.             }
  29.  
  30.         },
  31.  
  32.         {
  33.             "platform": "Camera-ffmpeg",
  34.             "cameras": [{
  35.                 "name": "Amcrest",
  36.                 "videoConfig": {
  37.                     "source": "-re -i rtsp://admin:password@111.111.11.11:80/cam/realmonitor?channel=1&subtype=1",
  38.                     "stillImageSource": "-i http://faster_still_image_grab_url/this_is_optional.jpg",
  39.                     "maxStreams": 2,
  40.                     "maxWidth": 1280,
  41.                     "maxHeight": 720,
  42.                     "maxFPS": 30
  43.                 }
  44.             }]
  45.  
  46.         }
  47.     ]
  48. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement