#Mqtt with Two 3D printers attached.

1 messages · Page 1 of 1 (latest)

alpine crypt
#

MQtt integration updates both sets of entities with the same data.

#

I'm running HA on a RPI4. I have two printers running Octoprint on two individual RPI3 systems. MQTT recognizes the two printers and assigned 52 entities for the devices.

#

In the dash board I have two cards showing the displayed entities from each printer. MQTT has named entities as follows. i.e. "octoprint_bed temperature" for printer 1 and "octoprint_bed_temperature_2" for printer.

lyric shore
#

You need to change their topic names in octoprint mqtt settings man

#

i have 5 printers added to hass this way

alpine crypt
#

Unfortunately, MQTT puts data from printer 1 into both entities, resulting in both dashboard cards showing randomly alternating data appearing in each of the displayed entities. I have pictures, but I don't know how to upload...in fact, I'm not sure I'm posting correctly now.

lyric shore
#

change to /octoPrint/printername on each

#

they have disabled uploading pictures to this server except for a couple channels.. it's frustrating you have to use imgur or something instead

alpine crypt
#

Where do I change the names? In the controlling RPI, MQTT or HA

lyric shore
#

octoprint settings in octoprint webui -> mqtt tab on left -> topics tab at top

#

i name my printers different colors like red, blue, yellow, green, silver

#

then print upgrades in those colors 😛

alpine crypt
#

Thanks very much, I try and find it

lyric shore
#

you can delete the old topics after you switch over

#

and all those old entities will disappear

#

either using mqtt app in hass or mqtt explorer on your pc or something (i prefer the latter)

alpine crypt
#

Are you saying all the entities will disappear?

lyric shore
#

?

#

reread what i said..

#

when you change the name in the settings (like you need to do) you will now get new device and new entities in home assistant

#

so the old ones need to get deleted... since they point to nothing

alpine crypt
#

I get it...still looking for topics

lyric shore
alpine crypt
#

I'm not using octoprint add-on but rather MQTT alone.

lyric shore
#

i see

#

no idea how to help then dude

alpine crypt
#

Thanks for the info.

lyric shore
#

im not using the octoprint (integration) in home assistant

#

i'm using the mqtt plug in octoprint