Git Product home page Git Product logo

Comments (4)

snOOrz avatar snOOrz commented on July 28, 2024

from homebridge-aqara.

acrueda avatar acrueda commented on July 28, 2024

Thank you

{
"bridge":{
"name":"Homebridge",
"username":"CC:FF:3D:E3:CE:50",
"port":51826,
"pin":"031-55-354"
},
"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.",
"accessories":[
{
"accessory":"MagicHome",
"name":"tira salon",
"ip":"172.16.0.160",
"setup":"RGBWW",
"purewhite":false
},
{
"accessory":"TemperatureCMD",
"name":"Dormitorio Julio",
"command":"/usr/bin/python /home/pi/scripts/RmTemp.py | cut -d ',' -f 2"
},
{
"accessory":"TemperatureCMD",
"name":"Sensor A1 Tempe",
"command":"/usr/bin/python /home/pi/scripts/BroadA1.py"
},
{
"accessory":"HumidityCMD",
"name":"Sensor A1 Humi",
"command":"/usr/bin/python /home/pi/scripts/BroadA1Humi.py"
},
{
"accessory":"OpenweathermapTemperature",
"name":"Exterior",
"url":"http://api.openweathermap.org/data/2.5/weather?q=Maracena,ES&APPID=3442726412ed4d7a5e656bdf47239657"
},
{
"accessory":"people",
"name":"Ocupacion",
"people":[
{
"name":"Antonio",
"target":"172.16.0.30"
},
{
"name":"Rocio",
"target":"172.16.0.31"
}
],
"threshold":5
}
],
"platforms":[
{
"platform": "HarmonyHub",
"name": "Harmony Hub"
},

  {
    "platform": "AqaraPlatform",
    "sid": ["zzzzzzzzzzzz"],
    "password": ["zzzzzzzzzzz"]
  },

  {
     "platform": "Orvibo"
  },

  {
    "platform": "yeelight"
    "name": "yeelight"
  },

  {
     "platform":"Camera-ffmpeg",
     "cameras":[
        {
           "name":"Camera Garaje",
           "videoConfig":{
              "source":"-re -i rtsp://172.16.0.110:554/live.sdp",
              "stillImageSource":"-i http://172.16.0.110/cgi-bin/video.jpg",
              "maxStreams":2,
              "maxWidth":640,
              "maxHeight":480,
              "maxFPS":25
           }
        }
     ]
  },
  {
     "platform":"MiLight",
     "name":"MiLight",
     "bridges":[
        {
           "ip_address":"172.16.0.161",
           "type":"white",
           "zones":[
              "Living Room",
              "Dining Room"
           ],
           "repeat":1
        }
     ]
  },
  {
     "platform":"cmdSwitch2",
     "switches":[
        {
           "name":"Rejilla Julio",
           "on_cmd":"/home/pi/scripts/RejiOpen.sh",
           "off_cmd":"/home/pi/scripts/RejiClose.sh",
           "state_cmd":"cat /home/pi/scripts/status/flagRej.txt | grep -i 'on'"
        },
        {
           "name":"Aire Acondicionado",
           "on_cmd":"/home/pi/scripts/AC-ON.sh",
           "off_cmd":"/home/pi/scripts/AC-OFF.sh",
           "state_cmd":"cat /home/pi/scripts/status/flagAC.txt | grep -i 'on'"
        }
     ]
  }

]
}

from homebridge-aqara.

acrueda avatar acrueda commented on July 28, 2024

Error mio sorry I miss one ","
Thank you very much for your time everything working perfect

from homebridge-aqara.

derekhuangxu avatar derekhuangxu commented on July 28, 2024

@acrueda whitch "," you missed in the config file?

from homebridge-aqara.

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.