OH3: automatically open/close popup depending on item.State

as the title almost says, does anybody know what to do to have a popup automatically open and close depending on an item.state?

A popup on the OH3 system or on any other computer ( windows or linux or mac or smartphone ) ?

openhab popup.
basically the new built-in action „Open popup“ in Yannicks new UI