question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to edit config.json file for multiple platform

See original GitHub issue

I have two platforms and worked well in separately and wonder how to combine them together into one config.json file. One is below:

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

and another is

"platforms": [ { "platform": "AqaraPlatform", "sid": ["6409802da3b3", "f0b4299a5b2b", "f0b4299a77dd"], "password": ["02i44k56zrgg578b", "g250s2vtne8q9qhv", "syu3oasva3uqd5qd"] }]

So how to combine them.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
jata1commented, Nov 29, 2016

you need a comma (,) between each platform. something like outlined below.

copy and paste the config.json connects into http://jsonlint.com to check syntax.

“platforms”: [ { “platform” : “yeelight”, “name” : “yeelight” }, { “platform”: “AqaraPlatform”, “sid”: [“6409802da3b3”, “f0b4299a5b2b”, “f0b4299a77dd”], “password”: [“02i44k56zrgg578b”, “g250s2vtne8q9qhv”, “syu3oasva3uqd5qd”] } ]

0reactions
MiniGordinicommented, Nov 23, 2019

you need a comma (,) between each platform. something like outlined below.

copy and paste the config.json connects into http://jsonlint.com to check syntax.

“platforms”: [ { “platform” : “yeelight”, “name” : “yeelight” }, { “platform”: “AqaraPlatform”, “sid”: [“6409802da3b3”, “f0b4299a5b2b”, “f0b4299a77dd”], “password”: [“02i44k56zrgg578b”, “g250s2vtne8q9qhv”, “syu3oasva3uqd5qd”] } ]

Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to edit config.json file for multiple platform #959 - GitHub
I have two platforms and worked well in separately and wonder how to combine them together into one config.json file.
Read more >
How to edit config.json for multiple platforms? : r/homebridge
Use jsonlint.com to validate your config, it exactly tells you what is wrong.
Read more >
Editor tool for config.json - Microsoft Tech Community
Hi All, Is there any standard tool recommended to edit config.json file ? ... As John said, there is no custom tool just...
Read more >
Creating JSON Configuration Files for Your Deployments
Create a file name app.json . · Use the configuration information that is provided in the apps.services. · Use the template in the...
Read more >
How To Edit config.json - BigCommerce Support
I want to edit the config.json - I downloaded all the template files and I can edit them in Dreamweaver. (Assuming I can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found