Sorry. Hopefully the following allows more clarity:
I’m using the app in Configure -> System -> Settings -> Devices and Things -> X10 Firecracker Modules. I have three widgets setup to use three X10 modules. I can control any module with the address 1 through 15. It’s not possible to control anything with 16, even though that’s a valid module number.
Looking at the code in Configure -> Automation -> Programs -> Devices and Things -> X10 Firecracker Modules (PID: 25), the Program Code tab has the following snippet:
# Add in the unit code. Ignore if bright or dim command,
# which just applies to last unit.
if unit > 0 and unit < MAX_UNIT:
if action.upper() != 'BRT' and action.upper() != 'DIM':
cmd = cmd | UNIT_LIST[ unit - 1 ]
print "Invalid Unit Code", unit
Since MAX_UNIT is defined as 16, the code will just print “Invalid Unit Code16” in the log file.
Fixing the range check to include MAX_UNIT (“if unit > 0 and unit <= MAX_UNIT:”) will allow modules with the number 16 to be used.
Hopefully that clarifies.