Fixed uninitialized value usage in EventSystem.cpp.
WBHomaBridge: store domoticz DeviceIDs in MQTT retained messages.
WBHomaBridge: made switches work.
WBHomaBridge: fix 'hardware ... thread seems to have ended unexpectedly' warnings.