mfg786 Posted June 2, 2019 Share Posted June 2, 2019 what could be the best way to program, if TV OFF schedule is enable or a variable is set to true then if any tries to watch, the command never passes to turn on TV etc basically want to prevent anyone to watch when schedule is ON will appreciate some help Quote Link to comment Share on other sites More sharing options...
sonic30101 Posted June 2, 2019 Share Posted June 2, 2019 A controllable outlet that kills power to the TV. It can be done entirely with programming but the TV will turn on then immediately turn back off so not as clean Quote Link to comment Share on other sites More sharing options...
pkkaiser Posted June 2, 2019 Share Posted June 2, 2019 Or a Boolean variable that is set to true of room is ON and false if OFF. Then every schedule call or tv on call would first check Boolean. If OFF nothing happens. Quote Link to comment Share on other sites More sharing options...
brucecampbell Posted June 19, 2019 Share Posted June 19, 2019 The controls for the tv are generally through the driver and bindings, so any code you add would be run alongside the tv turning on and source selection. Sonic's suggestion of a controllable outlet probably suits your needs best - just turn on and off the outlet on your schedule. You would also have to add code to turn off the source(s) if they are turned on while the outlet is off - because if they are only one way control (IR) then C4 would think the tv is on when it is not actually. Quote Link to comment Share on other sites More sharing options...
Crustyloafer Posted June 19, 2019 Share Posted June 19, 2019 Lots of ways to do this. A solid way to prevent any operations would be to make sure TV is IR controlled from a local EA-1 running its own ZigBee mesh and the SR260 for that room is identified to the local EA-1 for the room. You could then via a schedule kill power to the EA-1 via either an IP controlled power outlet device for standard EA-1 or via a managed PoE switch for a PoE powered EA-1. That way the EA-1 would be offline completely and the SR260 for that room would be non-functional until the EA-1 came back online again. Quote Link to comment Share on other sites More sharing options...
Crustyloafer Posted June 29, 2019 Share Posted June 29, 2019 Another suggested solution: Use a fake hidden room, put all A/V gear and binding to that room, make the "real" room just follow the CURRENT_SELECTED_DEVICE of the fake room with a time-based condition. You room will never turn on within those hours this way, it's a clean solution transparent for the user, without having to cut power on any equipment. South Africa C4 user 1 Quote Link to comment Share on other sites More sharing options...
South Africa C4 user Posted July 1, 2019 Share Posted July 1, 2019 On 6/29/2019 at 11:45 AM, Crustyloafer said: Another suggested solution: Use a fake hidden room, put all A/V gear and binding to that room, make the "real" room just follow the CURRENT_SELECTED_DEVICE of the fake room with a time-based condition. You room will never turn on within those hours this way, it's a clean solution transparent for the user, without having to cut power on any equipment. This is a neat solution to something I always thought was programmatically impossible. I wonder if you know of a similar work around for keypads and / or Touchscreens. Ideally, I want to make some of my keypads and Touchscreens at my Beach house inactive when we are not there. I realize that for keypads that one answer is to program using if statements against all buttons... but that is quite a hassle as I have hundreds of keypads and lots of bindings on each... I have done this already (did it originally) for double clicks and any programming (as opposed to bindings). Quote Link to comment Share on other sites More sharing options...
Crustyloafer Posted July 1, 2019 Share Posted July 1, 2019 10 hours ago, South Africa C4 user said: This is a neat solution to something I always thought was programmatically impossible. I wonder if you know of a similar work around for keypads and / or Touchscreens. Ideally, I want to make some of my keypads and Touchscreens at my Beach house inactive when we are not there. I realize that for keypads that one answer is to program using if statements against all buttons... but that is quite a hassle as I have hundreds of keypads and lots of bindings on each... I have done this already (did it originally) for double clicks and any programming (as opposed to bindings). If the keypad buttons you want to disable just control light loads you could set a schedule to change the preset level for all those loads to 0%, that way the toggle command for the loads on the keypad buttons would only ever switch it between 0 and 0 and never come on. If the keypads were ZigBee then you add a dedicated controller and create a separate mesh just for the keypads you wish to disable, then when you are away, you could programmatically kill power to the controller running the ZigBee mesh for those keypads via a smart plug or controllable PoE outlet. Likewise for the touchscreens, set them all up on WiFi on a dedicated SSID and then create a scheduled on/off for that Wi-Fi SSID. Quote Link to comment Share on other sites More sharing options...
South Africa C4 user Posted July 1, 2019 Share Posted July 1, 2019 3 hours ago, Crustyloafer said: If the keypad buttons you want to disable just control light loads you could set a schedule to change the preset level for all those loads to 0%, that way the toggle command for the loads on the keypad buttons would only ever switch it between 0 and 0 and never come on. If the keypads were ZigBee then you add a dedicated controller and create a separate mesh just for the keypads you wish to disable, then when you are away, you could programmatically kill power to the controller running the ZigBee mesh for those keypads via a smart plug or controllable PoE outlet. Likewise for the touchscreens, set them all up on WiFi on a dedicated SSID and then create a scheduled on/off for that Wi-Fi SSID. Thanks! I like the second suggestion... my problems are blind related and other non-lighting items, so the separate zigbee mesh and SSID sound worth while exploring... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.