Closed mrcsmxms closed 6 years ago
a reboot solved it. sometimes it's just that simple
@mrcsmxms
Hi, I noticed your MQTT url, you have it as characters as appose to numbers Eg: ip address. How did you do that for it to talk to MQTT broker?
@jeylites
i used the mDNS. i have a FRITZ!Box which allows me to name all network clients. i named the raspberry "homebridge" so i can use the mDNS "homebridge.fritz.box". even if the IP changes the mDNS will still work.
i hope that answers your question
@mrcsmxms This is a great tip to solve the frequent ip change my raspberry Pi goes through. So much so I gave it a static ip but this is even cooler. I don’t think my stock network provider router supports it however, I did some googling that lead me to this link mDNS RPI
Will implement it over the weekend. Thank you!
@jeylites You‘re welcome ;)
Hello. i just moved from HAP-NodeJS to Homebridge and now i'm strugglin' with this Plugin. i can control the MQTT-Tasmota-Devices in HomeKit but when i trigger the Sonoff Touch manually, HomeKit wont detect that.
here's my old accessory from HAP, which worked completely:
and this is my code from the config.json in HomeBridge:
when i trigger manually at the switch these are the MQTT-Commands:
for on:
and for off:
and when i trigger with HomeKit these are the results:
for on:
for off:
sorry for the long post but i can't figure out why it doesn't work like it should. can anyone help me with that one?