There is a section in the RFXCOM user guide about over length packets.
"If you receive multiple RAW packet with more than 62 pulses, try to find the gap. This is normally a higher value and smaller than 8000. Here an example with a gap value of 6600 and the next 6596."
Page 51
This may be a case of the blind leading the blind
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
So these are the raw codes captured for a Lucci AirfusionDCII fan with the default dip switches. Other versions of this fan may or may not have the same codes but they can be captured as explained above.
I created "sh" scripts for each of the button presses and these scripts all called by virtual switches in domoticz. I made the virtual switches "push on" switches and the script is loaded for the "on" action with scripts like;
"On action = script://luccion1.sh"
Once the scripts are in place in the "scripts" folder and the virtual switches have been created, they can be called from any other Blockly etc script.
For Fan "OFF"
sudo /home/pi/domoticz/scripts/rfxcmd/rfxcmd.py -d /dev/ttyUSB0 -s "38 7F 00 03 19 00 C2 01 94 02 3B 02 DB 00 F2 02 DD 00 EF 02 DD 00 F0 02 DE 00 F0 01 9D 02 30 02 E3 00 EB 02 E1 00 EE 02 DE 00 F1 02 DC 00 F2 01 9B 02 31 02 E0 00 EF 27 10"
I also have the serial port closed error, it appears rfxcmd takes exclusive control of the RFXCOM device when it transmits but Domoticz gracefully recovers the connection. Thanks also to you edwin
Intel NUC with Ubuntu Server VM (Proxmox),mosquitto(docker),RFXtrx433E,zwavejsUI (docker),Zigbee2mqtt(docker),SMA Hub (docker),Harmony Hub plugin, Kodi plugin,Homebridge(docker)+Google Home,APC UPS,SMA Modbus,Mitsubishi MQTT, Broadlink,Dombus
nobody an idea ? What should the command be if it sends RAW data via WIFI/LAN ?? I've been looking for a few days on the net but can't find anything there and my knowledge is also limited.
I would be very happy about a help.
ilkaskim wrote: ↑Wednesday 07 September 2022 4:39
nobody an idea ? What should the command be if it sends RAW data via WIFI/LAN ?? I've been looking for a few days on the net but can't find anything there and my knowledge is also limited.
I would be very happy about a help.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee