bugfix: expectedMsgId must be uint8_t. Thanx to MarcelK@fhem-forum