Hey, this is a Zigbee module. Why would you want to reprogram that? It can already work without a cloud when you use, for example, zigbee2mqtt with Home Assistant.
By the way, it looks like a Zigbee version of WBLC9:
The following images are from the WBLC9 docs and the similiarity is very high. Still, it's a Zigbee module, not WiFi, so it should work with zigbee2mqtt out of the box.