thehookup / MQTT-Roomba-ESP01

Making an old roomba smarter using and ESP01
119 stars 70 forks source link

howto rename Roomba #9

Open pilot1981 opened 5 years ago

pilot1981 commented 5 years ago

if I have different Roomba to control where I can change name of Roomba to control them all together with same MQTT server?

claustro commented 4 years ago

if I have different Roomba to control where I can change name of Roomba to control them all together with same MQTT server? Do you managed to have 2 roombas connected?

blizarazu commented 4 years ago

Do you mean how to change the MQTT topic for each Roomba? You can change the mqtt_client_name variable. For example, you can change it to Roomba1 and flash the first Roomba's ESP. Then change it to Roomba2 and flash the second Roomba's ESP. Then in your MQTT server subscribe to Roomba1 and Roomba2 topics.