Nobody? Mosquitto MQTT and Jinja transformation together something isn´t working correctly

I am on OH 2.5.7-2 on my PI4. I use Mosquitto mqqt and JSON transformation is activated as well.

Maybe one of the specialists knows more why PaperUI doesn´t reflect the correct state of home assistant things.
In PaperUI these things appear grey “offline” instead of “online” - cause they are online!
I read in some other topics that people do have the same problem and I think it isn´t solved yet.

When switching tasmota devices on setoption19 1, they are imedialtely autodectected as home assistant devices and appear automatically in the PaperUI inbox.
You can easily further set them up, but still you need to configure them in your .items file.

Now it figured out that you need to install Jinja transformation service, cause you are getting tons of error messages in the log file, also OH wasn´t getting the state of devices back, so you cannot switch the tasmotas.
Installing Jinja transformation solved that issue and the devices all work fine. You can use them in the OH Android app and also in BasicUI.
And I do have to correct me from approx 50 things, 6 are stating online and the rest state offline whereby they all are online - strange!

I just restarted and checked the log, just a few lines.

Blockquote
2020-08-13 15:56:52.783 [hingStatusInfoChangedEvent] - ‘mqtt:homeassistant_14809E_5FRL_5F1:583ffe5b:14809E_5FRL_5F1’ changed from OFFLINE (GONE): No response from the device yet to OFFLINE

2020-08-13 15:56:52.797 [vent.ItemStateChangedEvent] - LED_Gaeste40 changed from NULL to OFF

2020-08-13 15:56:52.801 [hingStatusInfoChangedEvent] - ‘mqtt:homeassistant_14809E_5FRL_5F2:583ffe5b:14809E_5FRL_5F2’ changed from OFFLINE (GONE): No response from the device yet to OFFLINE

2020-08-13 15:56:52.812 [vent.ItemStateChangedEvent] - BW_Wohnzimmer changed from NULL to OFF

2020-08-13 15:57:01.957 [hingStatusInfoChangedEvent] - ‘mqtt:homeassistant_095A46_5Fstatus:583ffe5b:095A46_5Fstatus’ changed from OFFLINE (GONE): No response from the device yet to OFFLINE

2020-08-13 15:57:33.325 [hingStatusInfoChangedEvent] - ‘mqtt:homeassistant_15226F_5Fstatus:583ffe5b:15226F_5Fstatus’ changed from OFFLINE (GONE): No response from the device yet to OFFLINE

2020-08-13 15:57:40.363 [vent.ItemStateChangedEvent] - Sirene_Gaeste changed from NULL to OFF

2020-08-13 15:57:40.367 [hingStatusInfoChangedEvent] - ‘mqtt:homeassistant_15226F_5FRL_5F2:583ffe5b:15226F_5FRL_5F2’ changed from OFFLINE (GONE): No response from the device yet to OFFLINE

2020-08-13 15:57:40.373 [vent.ItemStateChangedEvent] - BW_Eingang changed from NULL to OFF

2020-08-13 15:58:07.277 [hingStatusInfoChangedEvent] - ‘mqtt:homeassistant_148577_5FRL_5F1:583ffe5b:148577_5FRL_5F1’ changed from OFFLINE (GONE): No response from the device yet to OFFLINE

2020-08-13 15:58:07.284 [vent.ItemStateChangedEvent] - LED_ElternVH changed from NULL to OFF

2020-08-13 15:58:07.287 [hingStatusInfoChangedEvent] - ‘mqtt:homeassistant_148577_5FRL_5F2:583ffe5b:148577_5FRL_5F2’ changed from OFFLINE (GONE): No response from the device yet to OFFLINE

2020-08-13 15:58:07.293 [vent.ItemStateChangedEvent] - BW_Wintergarten changed from NULL to OFF

Blockquote

So the trick is to make the sonoffs “powerless” after configuration, it seems not enough to just “restart” the devices. Now everything stays “online” what else:-)

Conclusion: You definitely and additionally need JINJA transformation activated and just setoption19 1 (=activated) in the console - and suddenly your cheap sonoffs are getting really comfortable, transferring automatically each channel in your openhab inbox - this is exactly what I was searching for!

Short update, after a while some of the tasmota going offline in paper ui again.
And as described before the devices are working without any problem, so I assume this is just an error in paperui not reflecting device state correctly