Jump to content
C4 Forums | Control4

RussellB

c4Forums Member
  • Posts

    149
  • Joined

  • Last visited

Everything posted by RussellB

  1. Yup just another room I placed at the top of the room list.
  2. I'm addicted now! Now I'm looking for good graphics of a "Projector", "Curtain", and "Theater Cups with Lights". I use GIMP to darken and lighten the images for default vs. selected.
  3. I've taken the code from zaphod and modified it to handle creation of new and updating of existing experience button drivers. Also some tweaks, like the name of the driver will be uibutton_image_name.c4z, the name of the control will be Image Name - Experience Button. Updating will update the icon images and the version of the driver so it can be easily updated within a project. Also automatically downloads the experience_scenario_button driver on initial creation and deletes it afterwards. The build.bat file is used to execute the script. Python3 must be previously installed. The script requires two additional Python libraries and will download them and install them if not detected. build.bat "image_file_name" will create a single driver file. build.bat - without any parameter will process all images (except the ones with '_selected') in their name in the current folder. https://github.com/EnsignRutherford/C4driverbuilder Questions or enhancement requests are welcome.
  4. Like the sauce... it's in there (well, in Github). It will use a pre-existing c4z instead of the base one if it exists. so 'build calendar' will use uibutton_calendar.c4z if it exists and update its version number.
  5. All roads lead to Munich. I will be tweaking it over the next couple of days. I posted an update to the build.bat to check if the required python packages are installed and if not install them. Also the program now auto-downloads the template c4z file and deletes it afterwards. I was annoyed to have to say no to overwriting the experience file every time I copied them to the Drivers folder. I'm going to make a major change to update an EXISTING c4z if found. So let's say you change the Christmas tree icons. If found in the same folder it will update the version as well so it can be upgraded easily.
  6. build "name of default image" will build the driver. if the "_selected" image is also in the folder it will be used otherwise ignored. build without any parameter will build drivers for all the default images (non '_selected') and again use the _selected image if its there. I'm still doing some error handling and cleanup, but I just built 6 controls in one shot with it and it works great. The programming behind the buttons is a little more elaborate. They act like radio buttons as only one can be selected at a time. If you deselect any button other than Normal Normal becomes enabled. I think I'll rename it to Everyday or something like that. Get the idea?
  7. I've forked a branch of the python code here: https://github.com/EnsignRutherford/C4driverbuilder This version has added error handling, proper character conversion, and saves the final driver as "uibutton_<image name>.c4z", e.g. uibutton_christmas.c4z. I also added a Windows batch file to call, 'build.bat.' Still doing some tweaking, like the batch file can process all images in a folder and create drivers for all of them. I have some free time.
  8. Hi, I had to change line 77 in order to get this to work with the current version of the driver: fin = open(file_name, "rt", errors="ignore") Some extended characters were added into the description, custom quotes around "ON" and "OFF": Driver Properties Driver Version: Current driver version. Current State: Current State of the Experience Button (On, Off) On Name: The text value to display on list navigators when the experience button is set to “On”. Off Name: The text value to display on list navigators when the experience button is set to “Off”. Toggle State Each Time Selected: Toggle the state of the experience button when selected from a navigator (Yes), or do not toggle when selected (No). On LED Color: The color to set a bound keypad button’s LED to when the experience button is set to “On” (Selected). Off LED Color: The color to set a bound keypad button’s LED to when the experience button is set to “Off” (Default). Rich-text character formatting that was preventing the read from succeeding. RussellB Ugh.. need to make some additional fixes because the OUTPUT XML was then not UTF8. So I'm fixing the character set issue and defaulting to creating a driver called "uibutton_" + the name of the image. I'll post a link to my github with the updated script.
  9. Swapping out previous cables for shielded cables fixed the issue! Does anyone want a write-up on this? My approach doesn't require any voice programming at all. For example, by naming the Echo Dot 'Kitchen' via the Alexa App, I can tell Alexa 'Alexa, play Ed Sheeran on Kitchen' So Ed Sheeran starts playing on the Kitchen Echo Dot attached to the Audio Matrix port which then triggers the programming to select the Echo Dot in the Kitchen as the source.
  10. Update to fix the icon ready support. The driver had defaults for Optimum. Now it will use the icons from the my_cable_provider.c4z driver, renamed from the proper ICON pack. Also now works with the Control4 channel capability and switched the default logo to be the Samsung logo in the Composer. cable_ir_samsung_SMT-C5320.c4z
  11. I should have noted that I modified the programming to check to see if the the 'Stops Sensing Audio' event is triggered for the Kitchen Echo Dot and if the Kitchen Echo Dot is the selected Audio Source in the kitchen THEN turn off the room.
  12. That's somewhat similar to how I set it up. I'm going to get some shielded cables and give it another try.
  13. I disabled the skill and now it fails re-enabling the skill. I'm Northeast coast. Everything else is working. Follow-up: Successfully linked Alexa/Control4 as of 10:22AM ET
  14. Forgot to mention that was my default configuration of the Dot. I muted the mike input and disabled all notifications so it wouldn't make a 'noise'. I was wondering if it was possible that the cable connecting the Dot to the Audio Matrix might be picking up some interference. A long shot.
  15. Hi all, I was asked for this a few times so I thought I'd post it here as I also fixed a bug in it where the 'PREV' button, or 'RECALL' was not working. Now using the Control4 remotes 'PREV' button will display the previously selected channel so you can ping-pong between two channels. It also supports the icon package for the proper icon for the cable provider. RussellB cable_ir_samsung_SMT-C5320.c4z
  16. Hi all, I hooked up an Amazon Echo Dot called 'Kitchen' to the Audio Matrix Switch as an input, and added programming such that when output was detected it switched the room to the Echo Dot as the source. That way anyone could say "Alexa, play 'Ed Sheeran' in 'Kitchen'" and it would start to play on the Kitchen's speakers. The problem I started to see was that if no output was coming out of the 'Kitchen' Echo Dot it would switch the room on and set it as the audio device. So basically the room would always be 'on'. When I added the programming so that when it doesn't detect any audio to turn the Kitchen off I watched as the Kitchen flipped between 'Kitchen Dot' and off without any audio playing. I also disabled notifications on the Kitchen Echo Dot. At this point I've abandoned the idea because it was too flaky. Has anyone else gotten this to work? Or even wanted this to work? I'm somewhat obsessed with Voice Commanding the house. RussellB
  17. Hi sooo sorry for the late reply... too long a story... ended up in the hospital.... blood clots in my lungs.... yada yada yada, I'm still here. Worked perfectly... and look beautiful under 3.2.4!
  18. Thanks for all the ideas guys. Yeah programming is the fun part!
  19. I'm an AmeriCAN, not an AmeriCAN'T! So I realized that the problem might be that after initially hitting the c4 button in an off room that the room was turned on so it never hit that if statement condition as the room was already on, so I did this: 1) Add a variable "IS_KITCHEN_TV_NAVIGATION" default to FALSE 2) Add this program to the 'When command 'CONTROL4' is received in Kitchen TV Room If Variables->IS_KITCHEN_TV_NAVIGATION is False Select the Cable TV as the video source in the Kitchen TV Room Variables->IS_KITCHEN_TV_NAVIGATION = True Else Send command 'CONTROL4' to Kitchen TV Room 3) Add this program to 'When the room turns off' in Kitchen TV Room Variables->IS_KITCHEN_TV_NAVIGATION = False So now when the room is off and I hit the c4 button, it starts up as controlling the Cable TV box. Subsequent presses bring up the on-screen navigator as expected. EDIT: Had to add setting the navigator variable to true when 'Video Selection' changes to catch if the 'Watch' button is pressed to have the navigator work after that. An early Valentine's gift for my wife! And I'm going to copy this to the other rooms where I have remotes. Thanks for the inspiration! RussellB
  20. Hi all, This is one of those "Da misses hates Control4 because it's too complicated issues". My wife wants to hit ONE button to turn on the cable TV in the kitchen. I setup the 'green' command button on the SR-250 to set the video source to the cable tv, but her comment was "Can't I just hit the big red '4' button?" So I tried to do an if/else program on the button such that if the room is off when it's pressed it sets the cable tv, and if the room is on it brings up the navigator: When command 'CONTROL4' is received If the Kitchen TV Room Room is off Select the Optimum as the video source in Kitchen TV Room Else Send command 'CONTROL4' to the Kitchen TV Room The else case works but when the room is off and I hit the 4 button it always brings up the navigator. If I just put "Select the Optimum as the video source in Kitchen TV Room" and hit '4' it brings up the cable tv, but then of course I lose the navigator when the tv is on. It's almost like the room being off is not. Any ideas? RussellB
  21. Hi, Cleaning up an installation... Telling Alexa "Turn on Theater Curtains" closes the curtains; "Turn off Theater Curtains" opens them. It's more natural to say "Close Theater Curtains" or "Open Theater Curtains". I can't figure out if I can configure this properly. Anyone else run into this? RussellB
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.