
lsibarra
Members-
Posts
137 -
Joined
-
Last visited
Everything posted by lsibarra
-
Do you know if I need to change the DSCServer.exe file to 755 permission? Could that be an issue? It is currently at 644. Also, below is a section of the config.xml data for the dsc server. This confirms the custom relay is written correctly. </section> <section name="relay server"> <item key="repeater" value="False" /> </section> <section name="customcommands"> <item key="command0" value="" trigger="MYQ_CLOSE_GARAGE_DOOR" program="./myq-garage.py" args="close garage door" /> <item key="command1" value="" trigger="MYQ_OPEN_GARAGE_DOOR" program="./myq-garage.py" args="open garage door" /> <item key="command2" value="" trigger="MYQ_STATUS_GARAGE_DOOR" program="./myq-garage.py" args="status" /> </section> However, it also not working when the trigger is kicked off. Larry
-
Hi einstein.42, I uploaded your updated version 0.5 of myq-garage.py. Here is the log. 2015-12-18 22:19:07,583 INFO Get_Var_ID: Request response: 200 <CList type="VAR_INT"><e id="1" name="sAlarmZone1_Garage_Rollup_Door" /><e id="2" name="sAlarmZone9_FrontEntyExitDoor" /><e id="3" name="sAlarmZone10_GarageEntryExitDoor" /><e id="4" name="sAlarmZone11_GarageEntryExitSideDoor" /><e id="5" name="sAlarmZone12_FamilyRoomPatioDoor" /><e id="6" name="sAlarmZone13_DiningRoomPatioDoor" /><e id="7" name="sAlarmZone14_LivingRoomWindow_Left" /><e id="8" name="sAlarmZone15_LivingRoomWindow_Right" /><e id="9" name="sAlarmZone16_KitchenSmallWindow" /><e id="10" name="sAlarmZone17_KitchenLargeWindow" /><e id="11" name="sAlarmZone18_DownstairsBathroomWindow" /><e id="12" name="sAlarmZone19_BedroomWindow_Right" /><e id="13" name="sAlarmZone20_BedroomWindow_Left" /><e id="14" name="sAlarmZone21_MastersBedroomWindow_Left" /><e id="15" name="sAlarmZone22_MastersBedroomWindow_Right" /><e id="16" name="sAlarmZone23_MastersBathroom" /><e id="17" name="sAlarmZone24_HallwayBathroom" /><e id="18" name="sAlarmZone25_LivingRoomMotion" /><e id="19" name="sAlarmZone26_FamilyRoomMotion" /><e id="20" name="sAlarmZone40_KeypadNonTouchscreen" /><e id="21" name="sAlarmZone41_WirelessKeyfob1" /><e id="22" name="sAlarmZone42_WirelessKeyfob2" /><e id="23" name="sAlarmStatus_Alarmed" /><e id="24" name="sAlarmStatus_Disarmed" /><e id="25" name="sAlarmStatus_Ready" /><e id="26" name="sAlarmStatus_ExitDelay" /><e id="27" name="sAlarmStatus_EntryDelay" /><e id="28" name="sAlarmStatus_ArmedStay" /><e id="29" name="sAlarmStatus_ArmedAway" /><e id="30" name="sAlarm_Heartbeat" /><e id="31" name="sAlarm_PanelTrouble" /><e id="32" name="sAlarm_DisarmingUser" /><e id="33" name="mLarry_android" /><e id="34" name="mVirginia_android" /><e id="35" name="Kitchen_Nook_Light_Count" /><e id="36" name="mJohn_android" /><e id="37" name="MyQ_Garage_Door" /></CList> 2015-12-18 22:19:07,585 INFO Searching ISY Definitions for MyQ_Garage_Door The state variable i entered shows but is cannot find it through the script. Hope this log helps. Larry
-
Hi einstein.42, Thank you for offering to do a webex. I am currently at work and running those screenshot from my phone via VPN. My VPN within my work network does not work.... hahaha too many "work" words in there... Here is the screenshot link for the status: https://drive.google.com/file/d/0B9dzdbhY3LB1UDltWGVVVkFiSFE/view?usp=sharing
-
I know this is like a mystery... I'll get you a screenshot for the status... but would you know if the myq-garage.py is written in what python version? My co-worker mentioned some incompatibilities between python 2 and python 3.
-
The output is Garage Door is Closed. Last changed at Fri 18 Dec 2015 08:49:06 State variable: MyQ_Garage_Door not found in ISY variable list Fix your state variables on the ISY. Then enable the ISY section again The myq-garage.py file is in the same folder as the dsclink server. See link for the screenshot. https://drive.google.com/file/d/0B9dzdbhY3LB1Q3NlN19JSEVaUWs/view?usp=sharing
-
Hi einstein.42 & Xathros, Yes, I created the variable under state variables. I apologize if I didnt include that on my last screenshot. See the new link below. https://drive.google.com/file/d/0B9dzdbhY3LB1Qy0wa2dzaGMyVGc/view?usp=sharing einstein.42, you indicated to provide you the section for e id="38". I am wondering how did you get that id#. I do not have id="38". The max id # i have is 37. Perhaps could be this could be the issue if the python script is looking for this id="38" instead of id="37"? If so, how do I correct that? Also, running the custom relay commands inside the DSCLink is not working. If I run the command inside terminal, the garage door is responsive but when the command is run inside the DSCLink custom relay, it is not responding. Any idea? Thanks again to both of you.
-
Hi einstein.42, I just tried running that command in the terminal while I am in the file directory where myq-garage.py was saved. First the permission was off. I guess I forgot to run the 'chmod 755 myq-garage.py'. As soon as I did that it worked. I was able to open and close my garage door when running that command in the terminal file directory. However, here is my new problem. Everytime I run the command, I get the error "State variable: MyQ_Garage_Door not found in ISY variable list..." See the link below for a screenshot. The screenshot in blue is the ISY state variable I set. However, I still get the error message that it cannot find the state variable in ISY. Do you have any idea why this is? https://drive.google.com/file/d/0B9dzdbhY3LB1dzY2Q2hfdld4YUE/view?usp=sharing I feel that I am so close getting this completed and I wouldn't be able to accomplish this without your great help. Thank you.
-
Hey einstein.42, Thanks again. I will try this tonight and provide you the output. Thanks. -Larry
-
Hi einstein.42, Thanks for getting back to me and I apologize for being such a novice on this. However, I am a little confused. I did try both ways where I replaced door number to the actual doorname. Thus, I entered this in the relay server section of DSCLink COMMAND: Program: Arguments: MYQ_OPEN_GARAGE_DOOR ./myq-garage.py open garage door MYQ_CLOSE_GARAGE_DOOR ./myq-garage.py close garage door I also then updated the network resource as follows: Name: MyQ_Garage_Door_Open Protocol: tcp Host: <your pi ip> Port: 2402 (by default) Timeout 500 Mode: C Escaped Body: MYQ_OPEN_GARAGE_DOOR However, it still didn't work. Could you help guide me what I should really enter in the relay server section of DSCLink and also the Network Resource in ISY? I didn't fully understand your comment regarding adding this line ./myq-garage open garage door to the myq-garage.py file. What section of the myq-garage.py file I should add this line ./myq-garage open garage door Should I add it on row 244 of your script? Thanks for your help.
-
HI, I edited the required fields from your script and uploaded it in the same folder where the DSCLink is saved. I created the state variable in ISY as well. Also, I entered the information below in the Relay Server of DSCLink COMMAND: Program: Arguments: MYQ_OPEN_0 ./myq-garage.py open 0 MYQ_CLOSE_0 ./myq-garage.py close 0 I also made these entries in the Network Resource Module in ISY: Name: MyQ_Garage_Door_Open Protocol: tcp Host: <your pi ip> Port: 2402 (by default) Timeout 500 Mode: C Escaped Body: MYQ_OPEN_0 When I tested it I see the log from the DSCLink below. However, the garage door does not respond. 2015-12-17 07:55:09 - Relay Server: Running program (./myq-garage.py) 2015-12-17 07:59:25 - Relay Server: Running program (./myq-garage.py) 2015-12-17 08:02:25 - Relay Server: Running program (./myq-garage.py) 2015-12-17 08:04:11 - Relay Server: Running program (./myq-garage.py) Any idea? Please let me know. Thanks. Larry
-
Thanks again einstein.42 I think I got it.
-
Hi einstein.42, Thank you again for your willing to assist. me. I am reading again your instructions on creating the state variables in ISY. Per your instructions, the Variable format is ISY_VAR_PREFIX + MyQ Door name. If my door name is "Garage Door", does it mean the name of the variable will be as follows: ISY_VAR_PREFIX MyQ_Garage_Door Also, do I install the python pip package first before copying myq-garage.py to the same folder as the DSCLink Server? Really appreciate all your help. Thanks, Larry
-
Hi Xathros and einstein.42, Thank you so much. I will try this but being a noob, it may take me awhile to get everything up and running. The way is sounds like it should be no different on how DSCLink server is integrated to ISY. You guys are so awesome. Thank you again for all your help. I will report back as soon as I get everything set. Thanks, Larry
-
Thanks for the quick reply James. I am looking forward to see your work when the interface to ISY is complete. I will try to install your script tonight per your instructions on the readme page. Thanks again, Larry
-
Hi einstein.42, I currently have an RPi2 with Raspbian Jessie installed and running it mono to install DSCLink Server for my ISY994 automation. I would love if possible to install this module in it or download your script to the same RPi. Is this something possible? If so, do you have sometime to guide me how to install your python to control my MyQ garage door? I am a noob on linux but technical enough to learn if you have any instructions. Thank you.