Took me 2 hrs to 1) create a dummy door lock device, 2) create a couple of linux bash small script (using nc to listen on a port and jq to decode the json msgs) to act on lock state changes and update the dummy device. Works like a charm but ultimately, proper domoticz integration is the way to go ...