For those who are already using MQTT I would like to offer a simpler alternative which I have called 'MQTT Import' This is a plugin which subscribes to specific MQTT messages published by remote ESPEasy Units and imports them to the local unit making them available for display or use in your rules. It is not required to have ‘MQTT Import’ available on the remote units – only the local unit to which import is required.
The plugin ‘MQTT Import’ can be downloaded from the ESPEasy Plugin Playground
https://github.com/ESP8266nu/ESPEasyPluginPlayground
If you would like to try it, download the two files _P210_MQTTImport.ino and Extra_Utilities.ino from the Playground. Add both files to your project folder and recompile/upload.
Insert ‘MQTT Import’ into your sketch using the webserver in the normal way.
‘MQTT Import’ can subscribe to up to four MQTT topics which are published by other ESP units. The settings show below illustrate how you could import three different sensor readings from unit ESP05

The topics supplied as the MQTT Topics should be the same as the topics published by the remote ESP – this should normally be something like /%sysname%/%taskname%/%valuename%
If you wish to import more than 4 items, you can call ‘MQTT Import’ more than once and give different names to the two instances – for example Import1 and Import2.
Using the above example, it should now be possible to display the temperature from unit ESP05 or using it in your Rules by referring to it using the standard syntax [Import#Temperature] where ‘Import’ is the name you have given to the ‘MQTT Import’ instance and ‘Temperature’ is the corresponding value name.
In this way, it is possible to import remote sensor values into your local ESP using the services of your MQTT broker.
I have been using this for a couple of months now and it works well for me. Please give it a try and let me know if you have problems.
N