Hi Dan,
I tried out the combine_stations plugin today.
It works. Also the activated stations are correctly displayed on SSD1306. Nice.
I also want to report an inconsistency.
My system contains 16 stations and two virtual stations, one of which (V17) is switched on here.
V17 combines stations 1, 3, and 5.
When V17 is switched on, stations 1, 3 and 5 are correctly switched on, as can be seen in the OLED display SSD1306 and also through the three green LED's in the attached.
However, in the SIP web UI, the program schedule shows, in addition to the above three stations, another three stations are also active: 9, 11, and 13.
These latter three stations (9,11,13) are at a constant offset (+8) to the former three stations (1,3,5).
I looked at the plugin code in combine_stations.py.
In line numbers 71-77, the program_schedule variable (gv.ps) and the run_schedule variable (gv.rs) employ different bitwise in-place operators:
"|=" for the program_schedule, and
"&=" for the run_schedule.
Why should the program_schedule and the run_schedule employ different logic?
Regards,
Paul