Giter Club home page Giter Club logo

Comments (1)

howanghk avatar howanghk commented on June 27, 2024

Hi @BigTomFPV, you mistakenly put the eWeLink platform into the cameras array of the Camera-ffmpeg platform. It won't work that way. Instead, you should put the eWeLink platform configuration in the platforms array. Like this:

{
  "bridge": {
    "name": "Toms Homebridge",
    "username": "CC:22:3D:E3:CE:30",
    "port": 51826,
    "pin": "111-22-333"
  },
  
  "description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",
  "ports": {
    "start": 52100,
    "end": 52500,
    "comment": "This section is used to control the range of ports that separate accessory (like camera or television) should be bind to."
  },
  
  "platforms": [
    {
      "platform": "Camera-ffmpeg",
      "cameras": [
        {
          "name": "Drive Camera",
          "videoConfig": {
            "source": "-rtsp_transport tcp -re -i rtsp://192.168.1.240:554/user=admin&password=&channel=1&stream=0.sdp?",
            "maxStreams": 2,
            "maxWidth": 1280,
            "maxHeight": 720,
            "maxFPS": 20
          }
        },
        {
          "name": "Garage Camera",
          "videoConfig": {
            "source": "-rtsp_transport tcp -re -i rtsp://192.168.1.240:554/user=admin&password=&channel=3&stream=0.sdp?",
            "maxStreams": 2,
            "maxWidth": 1280,
            "maxHeight": 720,
            "maxFPS": 20
          }
        }
      ]
    },
    {            
      "platform" : "eWeLink",
      "name" : "eWeLink",
      "email" : "HIDDENEMAIL",
      "password" : "HIDDENPW",
      "imei" : "136E1790-E312-466D-AAD1-50F861F94F6E"
    }
  ]
}

from homebridge-ewelink.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.