Closed JJiri closed 7 years ago
How did you set "accessory information" ? topic ? payload ?
Very simply:
homebridgeJJ/to/add {"name": "TST", "service_name": "TST", "service": "AccessoryInformation"}
Jiří Janeba janebaj@gmail.com
- 2017 v 19:29, cflurin notifications@github.com:
How did you set "accessory information" ? topic ? payload ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cflurin/homebridge-mqtt/issues/34#issuecomment-295825448, or mute the thread https://github.com/notifications/unsubscribe-auth/AZCuS3Jb2jcM1zZWmJ17WAYT_SeqnL2tks5rx5XvgaJpZM4NDU6h.
You don't need to add the service "AccessoryInformation"! Just set the characteristics.
Have a look here: https://github.com/cflurin/homebridge-mqtt#set-accessory-information
hmm, but this way isn't working for me. I send this: topic: homebridgeJJ/to/add payload: {"name": "TST", "service_name": "light", "service": "Switch"} and topic: homebridgeJJ/to/set/accessoryinformation payload: {"name": "TST", "manufacturer": "JJ", "model": "esp8266-12", "serialnumber": "4711"} and result in iPhone:
I have problem with identification of accessories - I have 14 thermometers and I don't know how in iPhone identify which is which...
Jiří Janeba janebaj@gmail.com
- 2017 v 20:14, cflurin notifications@github.com:
You don't need to add the service "AccessoryInformation"! Just set the characteristics.
Have a look here: https://github.com/cflurin/homebridge-mqtt#set-accessory-information https://github.com/cflurin/homebridge-mqtt#set-accessory-information — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cflurin/homebridge-mqtt/issues/34#issuecomment-295841338, or mute the thread https://github.com/notifications/unsubscribe-auth/AZCuS3KJoNvED2iSDvrUJ1n7e7BdAp87ks5rx6CdgaJpZM4NDU6h.
Why is this a problem? Your accessories should have a unique name. e.g. thermometer1, thermometer2 etc.
yes, but in iPhone don’t show name, but show only service_name. and in all my termometrs is service_name same
This is better for make program to ESP8266 - only one ESP does this 14 thermometrs (it comunicate via RS232 whit home heating system and send data from this system via MQTT to homebridge...)
Jiří Janeba janebaj@gmail.com
- 2017 v 21:13, cflurin notifications@github.com:
Why is this a problem? Your accessories should have a unique name. e.g. thermometer1, thermometer2 etc.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cflurin/homebridge-mqtt/issues/34#issuecomment-295864732, or mute the thread https://github.com/notifications/unsubscribe-auth/AZCuS3T51hUqHg6jzEY8inZXO176JLJxks5rx653gaJpZM4NDU6h.
Just set different service_names for each thermometer.
If I tested sevice "AccessoryInformation" homebridge crashed: