Skip to content
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

Problems with MQTT coms when adding new Raspberry Pi or when changing name of RPi #142

Open
11Maarten opened this issue Feb 26, 2024 · 0 comments
Assignees

Comments

@11Maarten
Copy link

11Maarten commented Feb 26, 2024

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Moved from title:
Thank you for yor wonderfull program and work; it works verywell and I am happy with it. Thank you for yor wonderfull program and work; it works verywell and I am happy with it. When I added another RPI in my home I gave it the wrong name (raspberry instead of raspberry3). Later, when the rasperry already was found by MQTT, I changed the name to raspberry3. this lead to losing the connection with MQTT and data therewith the data in homeassistant. Eeven after removing and reinstalling MQTT still displayed the raspberry with te old name and no data. After changing the name of teh raspberry back to it's orinal name "raspberry" everything worked fine again. Maybe there is a possibility to make name changes of the device (after that is already found by MQTT) an option? Or add an explanation how this coud be done? Again thank you for the great work!

@11Maarten 11Maarten changed the title Thank you for yor wonderfull program and work; it works verywell and I am happy wth it. Thank you for yor wonderfull program and work; it works verywell and I am happy with it. Feb 26, 2024
@11Maarten 11Maarten changed the title Thank you for yor wonderfull program and work; it works verywell and I am happy with it. Thank you for yor wonderfull program and work; it works verywell and I am happy with it. When I added another RPI in my home I gave it the wrong name (raspberry instead of raspberry3). Later, when the rasperry already was found by MQTT, I changed the name to raspberry3. this lead to losing the connection with MQTT and data therewith the data in homeassistant. Eeven after removing and reinstalling MQTT still displayed the raspberry with te old name and no data. After changing the name of teh raspberry back to it's orinal name "raspberry" everything worked fine again. Maybe there is a possibility to make name changes of the device (after that is already found by MQTT) an option? Or add an explanation how this coud be done? Again thank you for the great work! Feb 26, 2024
@ironsheep ironsheep changed the title Thank you for yor wonderfull program and work; it works verywell and I am happy with it. When I added another RPI in my home I gave it the wrong name (raspberry instead of raspberry3). Later, when the rasperry already was found by MQTT, I changed the name to raspberry3. this lead to losing the connection with MQTT and data therewith the data in homeassistant. Eeven after removing and reinstalling MQTT still displayed the raspberry with te old name and no data. After changing the name of teh raspberry back to it's orinal name "raspberry" everything worked fine again. Maybe there is a possibility to make name changes of the device (after that is already found by MQTT) an option? Or add an explanation how this coud be done? Again thank you for the great work! When I added another RPI in my home I gave it the wrong name (raspberry instead of raspberry3). Later, when the rasperry already was found by MQTT, I changed the name to raspberry3. this lead to losing the connection with MQTT and data therewith the data in homeassistant. Eeven after removing and reinstalling MQTT still displayed the raspberry with te old name and no data. After changing the name of teh raspberry back to it's orinal name "raspberry" everything worked fine again. Maybe there is a possibility to make name changes of the device (after that is already found by MQTT) an option? Or add an explanation how this coud be done? Again thank you for the great work! Apr 22, 2024
@ironsheep ironsheep changed the title When I added another RPI in my home I gave it the wrong name (raspberry instead of raspberry3). Later, when the rasperry already was found by MQTT, I changed the name to raspberry3. this lead to losing the connection with MQTT and data therewith the data in homeassistant. Eeven after removing and reinstalling MQTT still displayed the raspberry with te old name and no data. After changing the name of teh raspberry back to it's orinal name "raspberry" everything worked fine again. Maybe there is a possibility to make name changes of the device (after that is already found by MQTT) an option? Or add an explanation how this coud be done? Again thank you for the great work! Problems with MQTT coms when adding new Raspberry Pi or when changing name of RPi Apr 22, 2024
@ironsheep ironsheep self-assigned this Apr 22, 2024
ironsheep added a commit that referenced this issue Apr 24, 2024
Always update sensor_name after resolving hostname
This solution may affect issues (#122 , #131 , and #142)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants