TapoControl Binding configuration

Hi all,

I have installed Tapo bindig and I have configured it using the example provided in the TapoControl Bindig page.

This is my tapocontrol.thigs:

tapocontrol:bridge:myTapoBridge						"Tapo Cloud-Login"				[ username="xxx@xxx.com", password="PWD" ]
tapocontrol:P100:myTapoBridge:smartPlug1			"Tapo SmartPlug1"				[ ipAddress="192.168.1.60", pollingInterval=30 ]

Ad this is my tapocontrol.items:

Switch		TapoSmartPlug1			"Tapo P100 Smart Plug  [%s]"				{ channel="tapocontrol:P100:myTapoBridge:smartPlug1:actuator#output" }

From the UI I can se that my item TapoSmartPlug1 don’t have bridgeUID set.
I have this error in the log file:

2021-12-27 20:48:38.468 [INFO ] [el.core.internal.ModelRepositoryImpl] - Loading model 'tapocontrol.items'
2021-12-27 20:48:38.599 [ERROR] [ore.common.registry.AbstractRegistry] - Cannot inform the listener "org.openhab.core.thing.internal.ChannelLinkNotifier@1390ffa" about the "ADDED" event: null
java.lang.NullPointerException: null
	at org.openhab.binding.tapocontrol.internal.device.TapoDevice.queryDeviceInfo(TapoDevice.java:320) ~[?:?]
	at org.openhab.binding.tapocontrol.internal.device.TapoSmartPlug.handleCommand(TapoSmartPlug.java:73) ~[?:?]
	at org.openhab.core.thing.binding.BaseThingHandler.channelLinked(BaseThingHandler.java:177) ~[?:?]
	at org.openhab.core.thing.internal.ChannelLinkNotifier.lambda$3(ChannelLinkNotifier.java:72) ~[?:?]
	at org.openhab.core.thing.internal.ChannelLinkNotifier.call(ChannelLinkNotifier.java:96) ~[?:?]
	at org.openhab.core.thing.internal.ChannelLinkNotifier.added(ChannelLinkNotifier.java:72) ~[?:?]
	at org.openhab.core.thing.internal.ChannelLinkNotifier.added(ChannelLinkNotifier.java:1) ~[?:?]
	at org.openhab.core.common.registry.AbstractRegistry.notifyListeners(AbstractRegistry.java:367) [bundleFile:?]
	at org.openhab.core.common.registry.AbstractRegistry.notifyListenersAboutAddedElement(AbstractRegistry.java:400) [bundleFile:?]
	at org.openhab.core.thing.link.ItemChannelLinkRegistry.notifyListenersAboutAddedElement(ItemChannelLinkRegistry.java:138) [bundleFile:?]
	at org.openhab.core.thing.link.ItemChannelLinkRegistry.notifyListenersAboutAddedElement(ItemChannelLinkRegistry.java:1) [bundleFile:?]
	at org.openhab.core.common.registry.AbstractRegistry.added(AbstractRegistry.java:175) [bundleFile:?]
	at org.openhab.core.common.registry.AbstractRegistry.added(AbstractRegistry.java:1) [bundleFile:?]
	at org.openhab.core.common.registry.AbstractProvider.notifyListeners(AbstractProvider.java:60) [bundleFile:?]
	at org.openhab.core.common.registry.AbstractProvider.notifyListeners(AbstractProvider.java:79) [bundleFile:?]
	at org.openhab.core.common.registry.AbstractProvider.notifyListenersAboutAddedElement(AbstractProvider.java:83) [bundleFile:?]
	at org.openhab.core.model.thing.internal.GenericItemChannelLinkProvider.createItemChannelLink(GenericItemChannelLinkProvider.java:106) [bundleFile:?]
	at org.openhab.core.model.thing.internal.GenericItemChannelLinkProvider.processBindingConfiguration(GenericItemChannelLinkProvider.java:76) [bundleFile:?]
	at org.openhab.core.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:372) [bundleFile:?]
	at org.openhab.core.model.item.internal.GenericItemProvider.internalDispatchBindings(GenericItemProvider.java:341) [bundleFile:?]
	at org.openhab.core.model.item.internal.GenericItemProvider.processBindingConfigsFromModel(GenericItemProvider.java:212) [bundleFile:?]
	at org.openhab.core.model.item.internal.GenericItemProvider.modelChanged(GenericItemProvider.java:407) [bundleFile:?]
	at org.openhab.core.model.core.internal.ModelRepositoryImpl.notifyListeners(ModelRepositoryImpl.java:301) [bundleFile:?]
	at org.openhab.core.model.core.internal.ModelRepositoryImpl.addOrRefreshModel(ModelRepositoryImpl.java:128) [bundleFile:?]
	at org.openhab.core.model.core.internal.folder.FolderObserver.checkFile(FolderObserver.java:249) [bundleFile:?]
	at org.openhab.core.model.core.internal.folder.FolderObserver.processWatchEvent(FolderObserver.java:312) [bundleFile:?]
	at org.openhab.core.service.WatchQueueReader.run(WatchQueueReader.java:240) [bundleFile:?]
	at java.lang.Thread.run(Thread.java:829) [?:?]

How can I set it from the config file ?

Thanks
Bye Mirko

I had the same issue.
For me a Bridge added via UI and things added via .things file work.
I suggest to move the discussion to the Add-On topic:

Can you please share your .thigs file ?

Thanks

tapocontrol:bridge:myTapoBridge           "Cloud-Login"               [ username="e-@mail.com, password="Super Safe Password", cloudDiscovery=true ]

The Tapo Things i added via UI, as this was the only way to get them online, the items i created again via file:

Switch Tapo1 "Tapo 1" <poweroutlet_eu> ["Light", "Switch"] {channel="tapocontrol:P100:myTapoBridge:6C5AB0BB74A5:actuator#output"}
Switch Tapo2 "Tapo 2" <poweroutlet_eu> ["PowerOutlet"] {channel="tapocontrol:P100:myTapoBridge:6C5AB0BB88CE:actuator#output"}