-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HELP how i can add accessory to config.js #17
Comments
config.js is only used for defining the platform and the MQTT broker! |
plase example file config.json please send me |
As in README explained: {
"bridge": {
"name": "homebridge",
"username": "CC:22:3D:E3:CE:31",
"port": 51826,
"pin": "031-45-154"
},
"platforms": [
{
"platform":"mqtt",
"name":"mqtt",
"url":"mqtt://your_broker_ip",
"username":"your_name",
"password":"your_password"
}
],
"accessories": []
} Create a file |
HOW TO WRITE ? topic: homebridge/to/add |
Hmmm! To use homebridge-mqtt you should have knowledge about MQTT, MQTT-broker. Google is your friend e.g.: |
you have example accessory ? |
you have a ready-made accessory, such as lamp control ? |
Sorry, I tried my best describing the API and the examples in the wiki. |
{ |
I write the code correctly |
No you need to send accessories through mqtt not the config file. Read about mqtt and json. |
HELP how i can add accessory to config.js
please example
The text was updated successfully, but these errors were encountered: