Hi all,
I am using fhem with mqtt.
All my devices have a mqtt_bridge.
i would like to know is it possible to disable mqtt publish from fhem by cli for a while and then be able to reactivate it?
Thanks
			
			
			
				mqtt server eintrag in fhem.cfg auskommentieren?
			
			
			
				Hi
sorry i don't speak Dutch ! can you reply in English please ?
i don't understand your reply
thx
			
			
			
				please find my fhem.cfg 
best regards
			
			
			
				in fact, my issue is :
each time when my python script publish a message to fhem. 
I don't know why but fhem each time it receives mqtt message , it re-publish another mqtt message
how can i avoid to re-publish from fhem ?
thanks in advance 
			
			
			
				Hi Bend,
you have to set the attribute "mqttForward" in every device to "none". In that case the received message isn't forwarded (re-published).
Kind regards
Torsten 
			
			
			
				Zitatsorry i don't speak Dutch ! can you reply in English please ?
I like your humor.
Note: the MQTT module is not as actively supported as the MQTT2* ones, the same is true for MQTT_GENERIC_BRIDGE vs. MQTT_BRIDGE.
As far as I see neither MQTT nor MQTT_BRIDGE have any disable capabilities, as opposed to MQTT2* and MQTT_GENERIC_BRIDGE.
I recommend upgrading to these modules.
@ToKa: I found the mqttForward attribute only in MQTT_GENERIC_BRIDGE, whereas bend94 is using MQTT_BRIDGE.
Am I missing something?
			
 
			
			
				Hi Rudi,
no you are right. I didn't realized the missing "generic"  :-[
Regards
Torsten
			
			
			
				hi
i am not sure to really understand.
In my config i create for each object a MQTT_BRIDGE like this:
define mqtt_pirsalon MQTT_BRIDGE pirsalon
so you want me to used instead that :
define mqtt_salon MQTT2_BRIDGE pirsalon
or 
define mqtt_salon MQTT_GENERIC_BRIDGE pirsalon
it is correct ?
thanks
			
			
			
				Hi,
you should use MQTT_GENERIC_BRIDGE instead of MQTT_BRIDGE.
Regards
Torsten