RFXcom: Adding Fan

After ‘defected from’ Domoticz I’m looking for a way to use my Westinghouse Fan. I’ve read some topics about adding it to the Harmony Hub but mine isn’t working anymore.

In Domoticz I used a selector switch that called one of the codes that I got from using RFXManager.

Fan On:
sudo /home/pi/domoticz/scripts/rfxcmd/rfxcmd.py -d /dev/ttyUSB0 -s "48 7F 00 0F 06 01 03 03 40 01 2E 03 3F 01 30 03 3F 01 2E 03 45 01 2C 01 B6 02 B6 01 BB 02 B5 03 44 01 2C 01 BA 02 B5 01 B8 02 B7 03 45 01 2C 03 43 01 28 03 44 01 2E 03 43 01 2C 03 40 01 2D 03 45 01 2C 03 40 01 2D 23 28"

Fan Off:
sudo /home/pi/domoticz/scripts/rfxcmd/rfxcmd.py -d /dev/ttyUSB0 -s "48 7F 00 07 06 01 04 03 41 01 29 03 45 01 2B 03 43 01 2C 03 44 01 29 01 BD 02 B1 01 BB 02 B4 01 BE 02 B1 01 BE 02 B1 01 BD 02 B5 03 45 01 2A 03 45 01 2A 03 44 01 2A 03 44 01 2B 03 44 01 2B 03 42 01 2A 03 45 01 2A 23 28"

Fan Low:
sudo /home/pi/domoticz/scripts/rfxcmd/rfxcmd.py -d /dev/ttyUSB0 -s "48 7F 00 08 06 01 03 03 40 01 2E 03 3F 01 30 03 3F 01 2E 03 45 01 2C 01 B6 02 B6 01 BB 02 B5 03 44 01 2C 01 BA 02 B5 01 B8 02 B7 03 45 01 2C 03 43 01 28 03 44 01 2E 03 43 01 2C 03 40 01 2D 03 45 01 2C 03 40 01 2D 23 28"

Fan Med_Low:
sudo /home/pi/domoticz/scripts/rfxcmd/rfxcmd.py -d /dev/ttyUSB0 -s "48 7F 00 09 06 00 E8 03 3A 01 2F 03 40 01 2E 03 42 01 2E 03 40 01 2E 03 41 01 2B 03 43 01 2E 01 B6 02 B7 01 BA 02 B7 01 B5 02 B5 03 45 01 2C 03 42 01 2F 03 41 01 2C 03 40 01 30 03 3F 01 2F 03 41 01 30 03 42 01 2B 23 28"

<s>Fan Med</s>  (doesn't work]
<s>sudo /home/pi/domoticz/scripts/rfxcmd/rfxcmd.py -d /dev/ttyUSB0 -s "48 7F 00 0A 06 01 19 03 42 01 2D 03 3E 01 2F 03 40 01 30 03 3E 01 2E 01 BA 02 B5 03 44 01 2C 01 B7 02 B6 01 BA 02 B7 01 B9 02 B6 03 44 01 2D 03 40 01 2F 03 41 01 2F 01 B7 02 B5 01 BC 02 B6 01 B8 02 B6 01 BA 02 B6 23 28"</s>

Fan High:
sudo /home/pi/domoticz/scripts/rfxcmd/rfxcmd.py -d /dev/ttyUSB0 -s "48 7F 00 0C 06 01 1A 03 3B 01 32 03 3E 01 35 03 3C 01 34 03 3E 01 33 03 3A 01 38 01 B1 02 BD 01 B5 02 BC 01 B4 02 BF 01 B4 02 BC 03 3F 01 36 03 39 01 33 03 3F 01 35 03 3C 01 36 03 3A 01 34 03 3D 01 36 03 39 01 38 23 28"

I can’t seem to find what I need here. There are other things to sort out with HA, but this has priority as the warm season is about to start.