Dear @phenriques3000,
I think I got the seq mistery solved.
If you send something like the following to turn the system on:
<msg msgid="SetMessage" type="Control" seq="999">
<SetMessage>
<TurnOn>on</TurnOn>
</SetMessage>
</msg>
Then you get a response like:
<msg msgid="ACKSetMessage" type="Control" seq="999">
<ACKSetMessage>
<Return>ok</Return>
</ACKSetMessage>
</msg>
And again if you send:
<msg msgid="SyncStatusReq" type="Control" seq="555">
<SyncStatusReq></SyncStatusReq>
</msg>
Then again you get:
<msg msgid="statusUpdateMsg" type="Control" seq="555">
<statusUpdateMsg>
<BaseMode>selfFeel</BaseMode>
<TurnOn>on</TurnOn>
<Opt_display>on</Opt_display>
<Opt_ECO>off</Opt_ECO>
<Opt_super>off</Opt_super>
<SetTemp>77</SetTemp>
<WindSpeed>Low</WindSpeed>
<Degree_Half>off</Degree_Half>
<Opt_healthy>off</Opt_healthy>
<Opt_antiMildew>off</Opt_antiMildew>
<Opt_StereoWind>off</Opt_StereoWind>
<Opt_heating>off</Opt_heating>
<Countdown_Timer_Off>00:00</Countdown_Timer_Off>
<Countdown_Timer_On>00:00</Countdown_Timer_On>
<Infrared_Direct>off</Infrared_Direct>
<Infrared_TurnOn>off</Infrared_TurnOn>
<HumidityEnable>off</HumidityEnable>
<CleannessEnable>off</CleannessEnable>
<WindDirection_H>off</WindDirection_H>
<WindDirection_V>off</WindDirection_V>
<IndoorTemp>70</IndoorTemp>
<Opt_sleepMode>off:0:0:0:0:0:0:0:0:0:0</Opt_sleepMode>
<OutdoorTemp>0</OutdoorTemp>
<ErrorCode>0</ErrorCode>
<BeepEnable>on</BeepEnable>
<DeviceName>Katie AC</DeviceName>
<WifiVer>1</WifiVer>
</statusUpdateMsg>
</msg>
Therefore my conclusion is that the seq number is only an id of the message that is then used in the response. Apparently you can set that seq to anything you want, and then you can check if the response have the same seq to be sure that is the answer to your message.
I did not find the need to set the seq 12345 or 1, like you said in your previous message.
By the way, Packet Sender is a very useful tool I didn’ t know about.
Therefore we may start developing a custom component for Home Assistant and this way contribute to this awesome project.
Regards,
Pablo
Note: I formatted the XML messages for a better reading experience. But they are sent and received in a single line.