Hi Mohammed!
The IoT Open Platform is not Open Source (even though some parts of it is). It can be hosted locally but that is only an option to commercial customers.
However the Edge Client can be hosted locally (and that is preferred). If you want an open source solution for you home that supports Zwave you can take a look at Home Assistant.
/Marcus