bitfocus / companion-module-thelightingcontroller

MIT License
4 stars 1 forks source link

Variable ID naming more restrictive in Version 3 #14

Open tacvideo opened 7 months ago

tacvideo commented 7 months ago

Companion: 3.2.2 Host Mac: 14.4 Every time this Instance is enabled this error is reported in the logs, listing what looks like every listed button/scene in TheLightingController, any idea why?

Instance/Wrapper/DMX: Got variable definitions with invalid ids:
[
  "button_House~_Back_Full~Front_Full__Pressed",
  "button_House~_Back_Full~Front_Full__Page",
  "button_House~_Back_Full~Front_Full__Type",
  "button_House~_Back_Full~Front_Full__Flash",
  "button_House~Message_Pressed",
  "button_House~Message_Page",
  "button_House~Message_Type",
  "button_House~Message_Flash",
  "button_House~Worship_Pressed",
  "button_House~Worship_Page",
  "button_House~Worship_Type",
  "button_House~Worship_Flash",
  "button_House~_Back_Only__Pressed",
  "button_House~_Back_Only__Page",
  "button_House~_Back_Only__Type",
  "button_House~_Back_Only__Flash",
  "button_House~Video_Pressed",
  "button_House~Video_Page",
  "button_House~Video_Type",
  "button_House~Video_Flash",
  "button_House~Video~_Dark__Pressed",
  "button_House~Video~_Dark__Page",
  "button_House~Video~_Dark__Type",
  "button_House~Video~_Dark__Flash",
  "button_LED_Tape~_ColorCycle__Pressed",
  "button_LED_Tape~_ColorCycle__Page",
  "button_LED_Tape~_ColorCycle__Type",
  "button_LED_Tape~_ColorCycle__Flash",
  "button_Speaker~_I.Cue_Positions__Pressed",
  "button_Speaker~_I.Cue_Positions__Page",
  "button_Speaker~_I.Cue_Positions__Type",
  "button_Speaker~_I.Cue_Positions__Flash",
  "button_Baptismal~_Frez_&~Elips__Pressed",
  "button_Baptismal~_Frez_&~Elips__Page",
  "button_Baptismal~_Frez_&~Elips__Type",
  "button_Baptismal~_Frez_&~Elips__Flash",
  "button_Message~Live~_Sets_~House=MedHi~Stage=On__Pressed",
  "button_Message~Live~_Sets_~House=MedHi~Stage=On__Page",
  "button_Message~Live~_Sets_~House=MedHi~Stage=On__Type",
  "button_Message~Live~_Sets_~House=MedHi~Stage=On__Flash",
  "button_Worship~_Sets_~House=Low~Stage=Off__Pressed",
  "button_Worship~_Sets_~House=Low~Stage=Off__Page",
  "button_Worship~_Sets_~House=Low~Stage=Off__Type",
  "button_Worship~_Sets_~House=Low~Stage=Off__Flash",
  "button_Video~_Sets_~House=Frnt_Off~Stage=Off__Pressed",
  "button_Video~_Sets_~House=Frnt_Off~Stage=Off__Page",
  "button_Video~_Sets_~House=Frnt_Off~Stage=Off__Type",
  "button_Video~_Sets_~House=Frnt_Off~Stage=Off__Flash",
  "button_Welcome~_Sets_~House=Full__Pressed",
  "button_Welcome~_Sets_~House=Full__Page",
  "button_Welcome~_Sets_~House=Full__Type",
  "button_Welcome~_Sets_~House=Full__Flash",
  "button_Message~Video~_Sets_~House=Video~Stage=Off__Pressed",
  "button_Message~Video~_Sets_~House=Video~Stage=Off__Page",
  "button_Message~Video~_Sets_~House=Video~Stage=Off__Type",
  "button_Message~Video~_Sets_~House=Video~Stage=Off__Flash",
  "button_Communion~_*Worship*__Pressed",
  "button_Communion~_*Worship*__Page",
  "button_Communion~_*Worship*__Type",
  "button_Communion~_*Worship*__Flash",
  "button_Communion~_\"Message\"__Pressed",
  "button_Communion~_\"Message\"__Page",
  "button_Communion~_\"Message\"__Type",
  "button_Communion~_\"Message\"__Flash",
  "button_Special~_Seder__Pressed",
  "button_Special~_Seder__Page",
  "button_Special~_Seder__Type",
  "button_Special~_Seder__Flash",
  "button_Gingerbread~Bash_Pressed",
  "button_Gingerbread~Bash_Page",
  "button_Gingerbread~Bash_Type",
  "button_Gingerbread~Bash_Flash",
  "button_House~Message~73%_Pressed",
  "button_House~Message~73%_Page",
  "button_House~Message~73%_Type",
  "button_House~Message~73%_Flash",
  "button_House~Message~63%_Pressed",
  "button_House~Message~63%_Page",
  "button_House~Message~63%_Type",
  "button_House~Message~63%_Flash",
  "button_House~Message~53%_Pressed",
  "button_House~Message~53%_Page",
  "button_House~Message~53%_Type",
  "button_House~Message~53%_Flash",
  "button_House~Full~73%_Pressed",
  "button_House~Full~73%_Page",
  "button_House~Full~73%_Type",
  "button_House~Full~73%_Flash",
  "button_House~Full~63%_Pressed",
  "button_House~Full~63%_Page",
  "button_House~Full~63%_Type",
  "button_House~Full~63%_Flash",
  "button_House~Full~53%_Pressed",
  "button_House~Full~53%_Page",
  "button_House~Full~53%_Type",
  "button_House~Full~53%_Flash",
  "button_Worship~_Position__Pressed",
  "button_Worship~_Position__Page",
  "button_Worship~_Position__Type",
  "button_Worship~_Position__Flash",
  "button_Message~_Position__Pressed",
  "button_Message~_Position__Page",
  "button_Message~_Position__Type",
  "button_Message~_Position__Flash",
  "button_Baptism~wMessage~_Position__Pressed",
  "button_Baptism~wMessage~_Position__Page",
  "button_Baptism~wMessage~_Position__Type",
  "button_Baptism~wMessage~_Position__Flash",
  "button_Off_Stage~Speaker~_iCue_2&3__Pressed",
  "button_Off_Stage~Speaker~_iCue_2&3__Page",
  "button_Off_Stage~Speaker~_iCue_2&3__Type",
  "button_Off_Stage~Speaker~_iCue_2&3__Flash",
  "button_Worship~Funeral~_Position__Pressed",
  "button_Worship~Funeral~_Position__Page",
  "button_Worship~Funeral~_Position__Type",
  "button_Worship~Funeral~_Position__Flash",
  "button_Elem~Dance~2023~_Position__Pressed",
  "button_Elem~Dance~2023~_Position__Page",
  "button_Elem~Dance~2023~_Position__Type",
  "button_Elem~Dance~2023~_Position__Flash",
  "button_Disable~Keyboard~Lighting_Pressed",
  "button_Disable~Keyboard~Lighting_Page",
  "button_Disable~Keyboard~Lighting_Type",
  "button_Disable~Keyboard~Lighting_Flash",
  "button_Movers~_Power_~w/Off_Delay_Pressed",
  "button_Movers~_Power_~w/Off_Delay_Page",
  "button_Movers~_Power_~w/Off_Delay_Type",
  "button_Movers~_Power_~w/Off_Delay_Flash",
  "button_Fade~Out~_House__Pressed",
  "button_Fade~Out~_House__Page",
  "button_Fade~Out~_House__Type",
  "button_Fade~Out~_House__Flash",
  "button_Fade~Out~_Stage__Pressed",
  "button_Fade~Out~_Stage__Page",
  "button_Fade~Out~_Stage__Type",
  "button_Fade~Out~_Stage__Flash",
  "button_Fade~Out~_Stage_LEDs__Pressed",
  "button_Fade~Out~_Stage_LEDs__Page",
  "button_Fade~Out~_Stage_LEDs__Type",
  "button_Fade~Out~_Stage_LEDs__Flash",
  "button_Off_Stage~Speaker~_iCue_2&3~Power__Pressed",
  "button_Off_Stage~Speaker~_iCue_2&3~Power__Page",
  "button_Off_Stage~Speaker~_iCue_2&3~Power__Type",
  "button_Off_Stage~Speaker~_iCue_2&3~Power__Flash",
  "button_Stage~Left_Pressed",
  "button_Stage~Left_Page",
  "button_Stage~Left_Type",
  "button_Stage~Left_Flash",
  "button_Stage~Center_Pressed",
  "button_Stage~Center_Page",
  "button_Stage~Center_Type",
  "button_Stage~Center_Flash",
  "button_Stage~Right_Pressed",
  "button_Stage~Right_Page",
  "button_Stage~Right_Type",
  "button_Stage~Right_Flash",
  "button_Christmas~Lights_Pressed",
  "button_Christmas~Lights_Page",
  "button_Christmas~Lights_Type",
  "button_Christmas~Lights_Flash",
  "button_Raise_A~Hallelujah_Pressed",
  "button_Raise_A~Hallelujah_Page",
  "button_Raise_A~Hallelujah_Type",
  "button_Raise_A~Hallelujah_Flash",
  "button_Same~God_Pressed",
  "button_Same~God_Page",
  "button_Same~God_Type",
  "button_Same~God_Flash",
  "button_O_Praise~The_Name_Pressed",
  "button_O_Praise~The_Name_Page",
  "button_O_Praise~The_Name_Type",
  "button_O_Praise~The_Name_Flash",
  "button_Stage~Off_Pressed",
  "button_Stage~Off_Page",
  "button_Stage~Off_Type",
  "button_Stage~Off_Flash",
  "button_Rehearsal~White_Pressed",
  "button_Rehearsal~White_Page",
  "button_Rehearsal~White_Type",
  "button_Rehearsal~White_Flash",
  "button_Funeral~Yellow_Pressed",
  "button_Funeral~Yellow_Page",
  "button_Funeral~Yellow_Type",
  "button_Funeral~Yellow_Flash",
  "button_Communion~_Blue_&~Wheat__Pressed",
  "button_Communion~_Blue_&~Wheat__Page",
  "button_Communion~_Blue_&~Wheat__Type",
  "button_Communion~_Blue_&~Wheat__Flash",
  "button_Tithes_&~Offerings~_Blue__Pressed",
  "button_Tithes_&~Offerings~_Blue__Page",
  "button_Tithes_&~Offerings~_Blue__Type",
  "button_Tithes_&~Offerings~_Blue__Flash",
  "button_Message~_Love_God~Love_People__Pressed",
  "button_Message~_Love_God~Love_People__Page",
  "button_Message~_Love_God~Love_People__Type",
  "button_Message~_Love_God~Love_People__Flash",
  "button[House:1,1]Name",
  "button[House:1,1]Pressed",
  "button[House:1,1]Page",
  "button[House:1,1]Type",
  "button[House:1,1]Flash",
  "button[House:4,1]Name",
  "button[House:4,1]Pressed",
  "button[House:4,1]Page",
  "button[House:4,1]Type",
  "button[House:4,1]Flash",
  "button[House:2,1]Name",
  "button[House:2,1]Pressed",
  "button[House:2,1]Page",
  "button[House:2,1]Type",
  "button[House:2,1]Flash",
  "button[House:5,1]Name",
  "button[House:5,1]Pressed",
  "button[House:5,1]Page",
  "button[House:5,1]Type",
  "button[House:5,1]Flash",
  "button[House:3,1]Name",
  "button[House:3,1]Pressed",
  "button[House:3,1]Page",
  "button[House:3,1]Type",
  "button[House:3,1]Flash",
  "button[House:3,2]Name",
  "button[House:3,2]Pressed",
  "button[House:3,2]Page",
  "button[House:3,2]Type",
  "button[House:3,2]Flash",
  "button[Individual_Lights__Power_:1,1]Name",
  "button[Individual_Lights__Power_:1,1]Pressed",
  "button[Individual_Lights__Power_:1,1]Page",
  "button[Individual_Lights__Power_:1,1]Type",
  "button[Individual_Lights__Power_:1,1]Flash",
  "button[Individual_Lights__Power_:1,2]Name",
  "button[Individual_Lights__Power_:1,2]Pressed",
  "button[Individual_Lights__Power_:1,2]Page",
  "button[Individual_Lights__Power_:1,2]Type",
  "button[Individual_Lights__Power_:1,2]Flash",
  "button[Individual_Lights__Power_:1,3]Name",
  "button[Individual_Lights__Power_:1,3]Pressed",
  "button[Individual_Lights__Power_:1,3]Page",
  "button[Individual_Lights__Power_:1,3]Type",
  "button[Individual_Lights__Power_:1,3]Flash",
  "button[Individual_Lights__Power_:1,4]Name",
  "button[Individual_Lights__Power_:1,4]Pressed",
  "button[Individual_Lights__Power_:1,4]Page",
  "button[Individual_Lights__Power_:1,4]Type",
  "button[Individual_Lights__Power_:1,4]Flash",
  "button[Individual_Lights__Power_:1,5]Name",
  "button[Individual_Lights__Power_:1,5]Pressed",
  "button[Individual_Lights__Power_:1,5]Page",
  "button[Individual_Lights__Power_:1,5]Type",
  "button[Individual_Lights__Power_:1,5]Flash",
  "button[Individual_Lights__Power_:1,6]Name",
  "button[Individual_Lights__Power_:1,6]Pressed",
  "button[Individual_Lights__Power_:1,6]Page",
  "button[Individual_Lights__Power_:1,6]Type",
  "button[Individual_Lights__Power_:1,6]Flash",
  "button[Individual_Lights__Power_:1,7]Name",
  "button[Individual_Lights__Power_:1,7]Pressed",
  "button[Individual_Lights__Power_:1,7]Page",
  "button[Individual_Lights__Power_:1,7]Type",
  "button[Individual_Lights__Power_:1,7]Flash",
  "button[Individual_Lights__Power_:1,8]Name",
  "button[Individual_Lights__Power_:1,8]Pressed",
  "button[Individual_Lights__Power_:1,8]Page",
  "button[Individual_Lights__Power_:1,8]Type",
  "button[Individual_Lights__Power_:1,8]Flash",
  "button[Individual_Lights__Power_:1,9]Name",
  "button[Individual_Lights__Power_:1,9]Pressed",
  "button[Individual_Lights__Power_:1,9]Page",
  "button[Individual_Lights__Power_:1,9]Type",
  "button[Individual_Lights__Power_:1,9]Flash",
  "button[Individual_Lights__Power_:2,1]Name",
  "button[Individual_Lights__Power_:2,1]Pressed",
  "button[Individual_Lights__Power_:2,1]Page",
  "button[Individual_Lights__Power_:2,1]Type",
  "button[Individual_Lights__Power_:2,1]Flash",
  "button[Individual_Lights__Power_:2,2]Name",
  "button[Individual_Lights__Power_:2,2]Pressed",
  "button[Individual_Lights__Power_:2,2]Page",
  "button[Individual_Lights__Power_:2,2]Type",
  "button[Individual_Lights__Power_:2,2]Flash",
  "button[Individual_Lights__Power_:2,3]Name",
  "button[Individual_Lights__Power_:2,3]Pressed",
  "button[Individual_Lights__Power_:2,3]Page",
  "button[Individual_Lights__Power_:2,3]Type",
  "button[Individual_Lights__Power_:2,3]Flash",
  "button[Individual_Lights__Power_:2,4]Name",
  "button[Individual_Lights__Power_:2,4]Pressed",
  "button[Individual_Lights__Power_:2,4]Page",
  "button[Individual_Lights__Power_:2,4]Type",
  "button[Individual_Lights__Power_:2,4]Flash",
  "button[Individual_Lights__Power_:2,5]Name",
  "button[Individual_Lights__Power_:2,5]Pressed",
  "button[Individual_Lights__Power_:2,5]Page",
  "button[Individual_Lights__Power_:2,5]Type",
  "button[Individual_Lights__Power_:2,5]Flash",
  "button[Individual_Lights__Power_:2,6]Name",
  "button[Individual_Lights__Power_:2,6]Pressed",
  "button[Individual_Lights__Power_:2,6]Page",
  "button[Individual_Lights__Power_:2,6]Type",
  "button[Individual_Lights__Power_:2,6]Flash",
  "button[Individual_Lights__Power_:2,7]Name",
  "button[Individual_Lights__Power_:2,7]Pressed",
  "button[Individual_Lights__Power_:2,7]Page",
  "button[Individual_Lights__Power_:2,7]Type",
  "button[Individual_Lights__Power_:2,7]Flash",
  "button[Individual_Lights__Power_:2,8]Name",
  "button[Individual_Lights__Power_:2,8]Pressed",
  "button[Individual_Lights__Power_:2,8]Page",
  "button[Individual_Lights__Power_:2,8]Type",
  "button[Individual_Lights__Power_:2,8]Flash",
  "button[Individual_Lights__Power_:3,1]Name",
  "button[Individual_Lights__Power_:3,1]Pressed",
  "button[Individual_Lights__Power_:3,1]Page",
  "button[Individual_Lights__Power_:3,1]Type",
  "button[Individual_Lights__Power_:3,1]Flash",
  "button[Individual_Lights__Power_:3,2]Name",
  "button[Individual_Lights__Power_:3,2]Pressed",
  "button[Individual_Lights__Power_:3,2]Page",
  "button[Individual_Lights__Power_:3,2]Type",
  "button[Individual_Lights__Power_:3,2]Flash",
  "button[Individual_Lights__Power_:3,3]Name",
  "button[Individual_Lights__Power_:3,3]Pressed",
  "button[Individual_Lights__Power_:3,3]Page",
  "button[Individual_Lights__Power_:3,3]Type",
  "button[Individual_Lights__Power_:3,3]Flash",
  "button[Individual_Lights__Power_:3,4]Name",
  "button[Individual_Lights__Power_:3,4]Pressed",
  "button[Individual_Lights__Power_:3,4]Page",
  "button[Individual_Lights__Power_:3,4]Type",
  "button[Individual_Lights__Power_:3,4]Flash",
  "button[Individual_Lights__Power_:3,6]Name",
  "button[Individual_Lights__Power_:3,6]Pressed",
  "button[Individual_Lights__Power_:3,6]Page",
  "button[Individual_Lights__Power_:3,6]Type",
  "button[Individual_Lights__Power_:3,6]Flash",
  "button[Individual_Lights__Power_:3,7]Name",
  "button[Individual_Lights__Power_:3,7]Pressed",
  "button[Individual_Lights__Power_:3,7]Page",
  "button[Individual_Lights__Power_:3,7]Type",
  "button[Individual_Lights__Power_:3,7]Flash",
  "button[Individual_Lights__Power_:3,8]Name",
  "button[Individual_Lights__Power_:3,8]Pressed",
  "button[Individual_Lights__Power_:3,8]Page",
  "button[Individual_Lights__Power_:3,8]Type",
  "button[Individual_Lights__Power_:3,8]Flash",
  "button[Individual_Lights__Power_:3,9]Name",
  "button[Individual_Lights__Power_:3,9]Pressed",
  "button[Individual_Lights__Power_:3,9]Page",
  "button[Individual_Lights__Power_:3,9]Type",
  "button[Individual_Lights__Power_:3,9]Flash",
  "button[Individual_Lights__Power_:2,9]Name",
  "button[Individual_Lights__Power_:2,9]Pressed",
  "button[Individual_Lights__Power_:2,9]Page",
  "button[Individual_Lights__Power_:2,9]Type",
  "button[Individual_Lights__Power_:2,9]Flash",
  "button[Individual_Lights__Power_:3,5]Name",
  "button[Individual_Lights__Power_:3,5]Pressed",
  "button[Individual_Lights__Power_:3,5]Page",
  "button[Individual_Lights__Power_:3,5]Type",
  "button[Individual_Lights__Power_:3,5]Flash",
  "button[Individual_Lights__Power_:4,1]Name",
  "button[Individual_Lights__Power_:4,1]Pressed",
  "button[Individual_Lights__Power_:4,1]Page",
  "button[Individual_Lights__Power_:4,1]Type",
  "button[Individual_Lights__Power_:4,1]Flash",
  "button[Individual_Lights__Power_:4,2]Name",
  "button[Individual_Lights__Power_:4,2]Pressed",
  "button[Individual_Lights__Power_:4,2]Page",
  "button[Individual_Lights__Power_:4,2]Type",
  "button[Individual_Lights__Power_:4,2]Flash",
  "button[Individual_Lights__Power_:5,3]Name",
  "button[Individual_Lights__Power_:5,3]Pressed",
  "button[Individual_Lights__Power_:5,3]Page",
  "button[Individual_Lights__Power_:5,3]Type",
  "button[Individual_Lights__Power_:5,3]Flash",
  "button[Individual_Lights__Power_:5,4]Name",
  "button[Individual_Lights__Power_:5,4]Pressed",
  "button[Individual_Lights__Power_:5,4]Page",
  "button[Individual_Lights__Power_:5,4]Type",
  "button[Individual_Lights__Power_:5,4]Flash",
  "button[Individual_Lights__Power_:4,3]Name",
  "button[Individual_Lights__Power_:4,3]Pressed",
  "button[Individual_Lights__Power_:4,3]Page",
  "button[Individual_Lights__Power_:4,3]Type",
  "button[Individual_Lights__Power_:4,3]Flash",
  "button[Individual_Lights__Power_:5,1]Name",
  "button[Individual_Lights__Power_:5,1]Pressed",
  "button[Individual_Lights__Power_:5,1]Page",
  "button[Individual_Lights__Power_:5,1]Type",
  "button[Individual_Lights__Power_:5,1]Flash",
  "button[Individual_Lights__Power_:5,2]Name",
  "button[Individual_Lights__Power_:5,2]Pressed",
  "button[Individual_Lights__Power_:5,2]Page",
  "button[Individual_Lights__Power_:5,2]Type",
  "button[Individual_Lights__Power_:5,2]Flash",
  "button[Macros:4,1]Name",
  "button[Macros:4,1]Pressed",
  "button[Macros:4,1]Page",
  "button[Macros:4,1]Type",
  "button[Macros:4,1]Flash",
  "button[Macros:2,1]Name",
  "button[Macros:2,1]Pressed",
  "button[Macros:2,1]Page",
  "button[Macros:2,1]Type",
  "button[Macros:2,1]Flash",
  "button[Macros:1,1]Name",
  "button[Macros:1,1]Pressed",
  "button[Macros:1,1]Page",
  "button[Macros:1,1]Type",
  "button[Macros:1,1]Flash",
  "button[Macros:3,2]Name",
  "button[Macros:3,2]Pressed",
  "button[Macros:3,2]Page",
  "button[Macros:3,2]Type",
  "button[Macros:3,2]Flash",
  "button[Macros:5,1]Name",
  "button[Macros:5,1]Pressed",
  "button[Macros:5,1]Page",
  "button[Macros:5,1]Type",
  "button[Macros:5,1]Flash",
  "button[Macros:3,1]Name",
  "button[Macros:3,1]Pressed",
  "button[Macros:3,1]Page",
  "button[Macros:3,1]Type",
  "button[Macros:3,1]Flash",
  "button[Macros:4,2]Name",
  "button[Macros:4,2]Pressed",
  "button[Macros:4,2]Page",
  "button[Macros:4,2]Type",
  "button[Macros:4,2]Flash",
  "button[Macros:2,2]Name",
  "button[Macros:2,2]Pressed",
  "button[Macros:2,2]Page",
  "button[Macros:2,2]Type",
  "button[Macros:2,2]Flash",
  "button[Macros:5,2]Name",
  "button[Macros:5,2]Pressed",
  "button[Macros:5,2]Page",
  "button[Macros:5,2]Type",
  "button[Macros:5,2]Flash",
  "button[Macros:6,1]Name",
  "button[Macros:6,1]Pressed",
  "button[Macros:6,1]Page",
  "button[Macros:6,1]Type",
  "button[Macros:6,1]Flash",
  "button[Macros:6,2]Name",
  "button[Macros:6,2]Pressed",
  "button[Macros:6,2]Page",
  "button[Macros:6,2]Type",
  "button[Macros:6,2]Flash",
  "button[Macros__Hidden_:1,1]Name",
  "button[Macros__Hidden_:1,1]Pressed",
  "button[Macros__Hidden_:1,1]Page",
  "button[Macros__Hidden_:1,1]Type",
  "button[Macros__Hidden_:1,1]Flash",
  "button[Macros__Hidden_:1,2]Name",
  "button[Macros__Hidden_:1,2]Pressed",
  "button[Macros__Hidden_:1,2]Page",
  "button[Macros__Hidden_:1,2]Type",
  "button[Macros__Hidden_:1,2]Flash",
  "button[Macros__Hidden_:1,3]Name",
  "button[Macros__Hidden_:1,3]Pressed",
  "button[Macros__Hidden_:1,3]Page",
  "button[Macros__Hidden_:1,3]Type",
  "button[Macros__Hidden_:1,3]Flash",
  "button[Macros__Hidden_:2,1]Name",
  "button[Macros__Hidden_:2,1]Pressed",
  "button[Macros__Hidden_:2,1]Page",
  "button[Macros__Hidden_:2,1]Type",
  "button[Macros__Hidden_:2,1]Flash",
  "button[Macros__Hidden_:2,2]Name",
  "button[Macros__Hidden_:2,2]Pressed",
  "button[Macros__Hidden_:2,2]Page",
  "button[Macros__Hidden_:2,2]Type",
  "button[Macros__Hidden_:2,2]Flash",
  "button[Macros__Hidden_:2,3]Name",
  "button[Macros__Hidden_:2,3]Pressed",
  "button[Macros__Hidden_:2,3]Page",
  "button[Macros__Hidden_:2,3]Type",
  "button[Macros__Hidden_:2,3]Flash",
  "button[Positions:1,1]Name",
  "button[Positions:1,1]Pressed",
  "button[Positions:1,1]Page",
  "button[Positions:1,1]Type",
  "button[Positions:1,1]Flash",
  "button[Positions:2,1]Name",
  "button[Positions:2,1]Pressed",
  "button[Positions:2,1]Page",
  "button[Positions:2,1]Type",
  "button[Positions:2,1]Flash",
  "button[Positions:3,1]Name",
  "button[Positions:3,1]Pressed",
  "button[Positions:3,1]Page",
  "button[Positions:3,1]Type",
  "button[Positions:3,1]Flash",
  "button[Positions:4,1]Name",
  "button[Positions:4,1]Pressed",
  "button[Positions:4,1]Page",
  "button[Positions:4,1]Type",
  "button[Positions:4,1]Flash",
  "button[Positions:5,1]Name",
  "button[Positions:5,1]Pressed",
  "button[Positions:5,1]Page",
  "button[Positions:5,1]Type",
  "button[Positions:5,1]Flash",
  "button[Positions:6,1]Name",
  "button[Positions:6,1]Pressed",
  "button[Positions:6,1]Page",
  "button[Positions:6,1]Type",
  "button[Positions:6,1]Flash",
  "button[Special:1,1]Name",
  "button[Special:1,1]Pressed",
  "button[Special:1,1]Page",
  "button[Special:1,1]Type",
  "button[Special:1,1]Flash",
  "button[Special:2,1]Name",
  "button[Special:2,1]Pressed",
  "button[Special:2,1]Page",
  "button[Special:2,1]Type",
  "button[Special:2,1]Flash",
  "button[Special:3,1]Name",
  "button[Special:3,1]Pressed",
  "button[Special:3,1]Page",
  "button[Special:3,1]Type",
  "button[Special:3,1]Flash",
  "button[Special__Hidden_:2,2]Name",
  "button[Special__Hidden_:2,2]Pressed",
  "button[Special__Hidden_:2,2]Page",
  "button[Special__Hidden_:2,2]Type",
  "button[Special__Hidden_:2,2]Flash",
  "button[Special__Hidden_:2,1]Name",
  "button[Special__Hidden_:2,1]Pressed",
  "button[Special__Hidden_:2,1]Page",
  "button[Special__Hidden_:2,1]Type",
  "button[Special__Hidden_:2,1]Flash",
  "button[Special__Hidden_:1,3]Name",
  "button[Special__Hidden_:1,3]Pressed",
  "button[Special__Hidden_:1,3]Page",
  "button[Special__Hidden_:1,3]Type",
  "button[Special__Hidden_:1,3]Flash",
  "button[Special__Hidden_:1,1]Name",
  "button[Special__Hidden_:1,1]Pressed",
  "button[Special__Hidden_:1,1]Page",
  "button[Special__Hidden_:1,1]Type",
  "button[Special__Hidden_:1,1]Flash",
  "button[Special__Hidden_:1,2]Name",
  "button[Special__Hidden_:1,2]Pressed",
  "button[Special__Hidden_:1,2]Page",
  "button[Special__Hidden_:1,2]Type",
  "button[Special__Hidden_:1,2]Flash",
  "button[Special__Hidden_:3,1]Name",
  "button[Special__Hidden_:3,1]Pressed",
  "button[Special__Hidden_:3,1]Page",
  "button[Special__Hidden_:3,1]Type",
  "button[Special__Hidden_:3,1]Flash",
  "button[Special__Hidden_:4,1]Name",
  "button[Special__Hidden_:4,1]Pressed",
  "button[Special__Hidden_:4,1]Page",
  "button[Special__Hidden_:4,1]Type",
  "button[Special__Hidden_:4,1]Flash",
  "button[Special__Hidden_:4,2]Name",
  "button[Special__Hidden_:4,2]Pressed",
  "button[Special__Hidden_:4,2]Page",
  "button[Special__Hidden_:4,2]Type",
  "button[Special__Hidden_:4,2]Flash",
  "button[Special__Hidden_:4,3]Name",
  "button[Special__Hidden_:4,3]Pressed",
  "button[Special__Hidden_:4,3]Page",
  "button[Special__Hidden_:4,3]Type",
  "button[Special__Hidden_:4,3]Flash",
  "button[Special__Hidden_:5,1]Name",
  "button[Special__Hidden_:5,1]Pressed",
  "button[Special__Hidden_:5,1]Page",
  "button[Special__Hidden_:5,1]Type",
  "button[Special__Hidden_:5,1]Flash",
  "button[Today's_Order__Colors_&_On/Off_:1,1]Name",
  "button[Today's_Order__Colors_&_On/Off_:1,1]Pressed",
  "button[Today's_Order__Colors_&_On/Off_:1,1]Page",
  "button[Today's_Order__Colors_&_On/Off_:1,1]Type",
  "button[Today's_Order__Colors_&_On/Off_:1,1]Flash",
  "button[Today's_Order__Colors_&_On/Off_:2,1]Name",
  "button[Today's_Order__Colors_&_On/Off_:2,1]Pressed",
  "button[Today's_Order__Colors_&_On/Off_:2,1]Page",
  "button[Today's_Order__Colors_&_On/Off_:2,1]Type",
  "button[Today's_Order__Colors_&_On/Off_:2,1]Flash",
  "button[Today's_Order__Colors_&_On/Off_:3,1]Name",
  "button[Today's_Order__Colors_&_On/Off_:3,1]Pressed",
  "button[Today's_Order__Colors_&_On/Off_:3,1]Page",
  "button[Today's_Order__Colors_&_On/Off_:3,1]Type",
  "button[Today's_Order__Colors_&_On/Off_:3,1]Flash",
  "button[Today's_Order__Colors_&_On/Off_:4,1]Name",
  "button[Today's_Order__Colors_&_On/Off_:4,1]Pressed",
  "button[Today's_Order__Colors_&_On/Off_:4,1]Page",
  "button[Today's_Order__Colors_&_On/Off_:4,1]Type",
  "button[Today's_Order__Colors_&_On/Off_:4,1]Flash",
  "button[Today's_Order__Colors_&_On/Off_:6,1]Name",
  "button[Today's_Order__Colors_&_On/Off_:6,1]Pressed",
  "button[Today's_Order__Colors_&_On/Off_:6,1]Page",
  "button[Today's_Order__Colors_&_On/Off_:6,1]Type",
  "button[Today's_Order__Colors_&_On/Off_:6,1]Flash",
  "button[Today's_Order__Colors_&_On/Off_:7,1]Name",
  "button[Today's_Order__Colors_&_On/Off_:7,1]Pressed",
  "button[Today's_Order__Colors_&_On/Off_:7,1]Page",
  "button[Today's_Order__Colors_&_On/Off_:7,1]Type",
  "button[Today's_Order__Colors_&_On/Off_:7,1]Flash",
  "button[Today's_Order__Colors_&_On/Off_:9,1]Name",
  "button[Today's_Order__Colors_&_On/Off_:9,1]Pressed",
  "button[Today's_Order__Colors_&_On/Off_:9,1]Page",
  "button[Today's_Order__Colors_&_On/Off_:9,1]Type",
  "button[Today's_Order__Colors_&_On/Off_:9,1]Flash",
  "button[Today's_Order__Colors_&_On/Off_:5,1]Name",
  "button[Today's_Order__Colors_&_On/Off_:5,1]Pressed",
  "button[Today's_Order__Colors_&_On/Off_:5,1]Page",
  "button[Today's_Order__Colors_&_On/Off_:5,1]Type",
  "button[Today's_Order__Colors_&_On/Off_:5,1]Flash",
  "button[Today's_Order__Colors_&_On/Off_:8,1]Name",
  "button[Today's_Order__Colors_&_On/Off_:8,1]Pressed",
  "button[Today's_Order__Colors_&_On/Off_:8,1]Page",
  "button[Today's_Order__Colors_&_On/Off_:8,1]Type",
  "button[Today's_Order__Colors_&_On/Off_:8,1]Flash",
  "button[Today's_Order__Colors_&_On/Off_:8,2]Name",
  "button[Today's_Order__Colors_&_On/Off_:8,2]Pressed",
  "button[Today's_Order__Colors_&_On/Off_:8,2]Page",
  "button[Today's_Order__Colors_&_On/Off_:8,2]Type",
  "button[Today's_Order__Colors_&_On/Off_:8,2]Flash",
  "button[Today's_Order__Colors_&_On/Off_:7,2]Name",
  "button[Today's_Order__Colors_&_On/Off_:7,2]Pressed",
  "button[Today's_Order__Colors_&_On/Off_:7,2]Page",
  "button[Today's_Order__Colors_&_On/Off_:7,2]Type",
  "button[Today's_Order__Colors_&_On/Off_:7,2]Flash",
  "button[Worship_Extras:1,1]Name",
  "button[Worship_Extras:1,1]Pressed",
  "button[Worship_Extras:1,1]Page",
  "button[Worship_Extras:1,1]Type",
  "button[Worship_Extras:1,1]Flash"
]
thargy commented 7 months ago

Hi,

This is not an error from this module but from the instance wrapper (see here).

They added the instance wrapper to support legacy modules from Companion v.2 in v.3. As such, this code wasn't there when I wrote the module. You can see here the Regex they use to validate variable 'ids', which was added two years ago:

const idCheckRegex = /^([a-zA-Z0-9-_\.]+)$/

This only allows alphanumerics and -, _ and .. However, that's a breaking change from version 2 to version 3 of Companion, as previously, the variable names were much more permissive. See here, where I check for invalid ID characters ($, :, (, ) and whitespace characters which were used internally in v.2 of Companion) and replaces them:

/**
 * Detects unsafe characters for variable names.
 */
button.REGEX_SAFEVARIABLE = /[$:()\s)]/g;

One of the nice features my module used to add is a set of variables for each button that you could use as substitutions in your definitions. However, it named these variables as shown in your list above (I've reformatted for you for clarity).

You could expose the 'by name' variables by avoiding new lines (mapped to ~ by TLC) and other newly invalid characters (like &), halving the reported errors. However, my existing code uses [, : and , to distinguish TLC Page and Position in the 'by position' variables, so there is no way of avoiding that error or exposing those variables.

The changes added in the legacy wrapper for Companion v.3 appear to have broken the automatic variable functionality. It is unclear how I would efficiently support the same functionality in v.3. For now, the side effect is the error log you're seeing.

Sadly, this is just one of the many reasons that updating this module from v.2 to v.3 of Companion is far from trivial and is not something I plan on undertaking in the near future (if ever), as you can read here.

In the meantime, I will leave this case open as it identifies an incompatibility area if anyone undertakes an upgrade in the future. Alternatively, you could raise this to the Companion developers as an area where their legacy wrapper breaks compatibility for version 2 modules. Sadly, I expect they made the IDs more restrictive by necessity and are unlikely to loosen the restriction.

tacvideo commented 7 months ago

Thanks for that detailed explanation, it’s been a decade or so since I wrote any kind of code, but I get the gist of the problem!

But essentially, is this something I should be concerned about?

What are you using now instead of TLC? I really like how we can see the status of a TLC button and that it’s not MIDI based, but I probably need to find something more stable…

thargy commented 7 months ago

But essentially, is this something I should be concerned about?

Not really. If you don't use the variable functionality, then it doesn't matter it's not working.

What are you using now instead of TLC? I really like how we can see the status of a TLC button and that it’s not MIDI based, but I probably need to find something more stable…

The way I get Companion to synchronise the colours, text and states of buttons with TLC isn't really something Companion was designed for, and it is what makes this module fun.

Sadly, it's also why migrating to the new version of Companion is non-trivial.

I was running live streams, sound, cameras, presentations/overlays and lights for my church through the pandemic and so I needed something that could control all of those devices. I set up Companion to integrate to all of those and that allowed me to control everything on my own using two streamdecks.

I took a break after the pandemic, and sadly they 'rearranged everything' whilst I wasn't doing it. The thought of fixing everything again is too much (all those systems are now not working) so I have stopped volunteering. Now none of the lights or cameras are used. So I've moved on to other projects, mostly around home automation.

Sadly, that's the nature of Open Source software. I try to be helpful to anyone using the module and I would make code tweaks happily, but Bitfocus decided to require a non-trivial upgrade before accepting further pull requests. Realistically, it requires a full rewrite and it's not clear I can replicate all the existing functionality.