Jump to content
AT&T to end email-to-text ×

einstein.42

Members
  • Posts

    637
  • Joined

  • Last visited

Everything posted by einstein.42

  1. Isibarra, Sorry for the delay in answer. I was engaged in another project and couldn't stop last night. I would agree with Xathros yet again, the only thing I can think of is that you used an integer variable instead of state in the ISY config. That being said, try ./myq-garage.py status This is what I get when I run it: Big Door is Closed. Last changed at Fri 18 Dec 2015 07:36:36 MyQ_Big_Door is already set to 0 3rd Car is Closed. Last changed at Tue 15 Dec 2015 19:49:02 MyQ_3rd_Car is already set to 0 Paste me what you get. Next I would try to do this: Open up IE or whatever browser you use, and go to http://<your isy ip>/rest/vars/definitions/2 It will ask you for a username/password that is your normal ISY username/password. Paste me the section for e id="38" Thanks, E
  2. Not on the DSCLink relay server. Login to your raspberry pi on command line and go to the folder that has the dsclink. THEN type the command: "./myq-garage open garage door" without quotes. Paste me the output. Your DSCLink stuff looks fine.
  3. Hey Isibarra sorry for the delayed response. In my previous post I said I changed the door number (0 or 1) to the actual doorname. So login via ssh to the raspberry pi. Go to your dsclink folder where the myq-garage.py file is and type this (if your garage door is named Garage Door). ./myq-garage open garage door See if it produces any errors. I need to update my README I apologize. I must have missed that part.
  4. Not a problem. Good luck, and I hope it works ok for you. -E
  5. Isibarra. When you edit the myq-garage.py there is a variable in the ISY section called ISY_VAR_PREFIX. My default it is "MyQ_" So when you add the state variables in the ISY you would add "MyQ_Garage_Door" if the name was Garage Door. Without the quotes obviously.
  6. Let me know if you run into any issues and I'll try to walk you through it. Thanks, E
  7. As usual Xathros is correct. I have updated the code to fully integrate with dsclink(or any of his relay servers), and report back state variables to the ISY. Instructions as usual are here. Edit the myq-garage.py and add in your ISY information. I tried to create the state variables for you, but can't via the REST interface as far as I can tell, so you'll have to create them manually the first time. After that every time 'status' is called, the variables are updated. As well as when you open and close it by the relay server. You will have to poll 'status' on a timer to get 'live data'. ALSO, I added the ability to have as many doors as needed (no limit that I know of), instead of just 2. I also changed over to 'named' calling. So from now on, ./myq-garage.py open big door big door would be whatever name you named it in the myq interface. case insensitive.
  8. In fact that is about as easy as it gets. The only problem is you can't get status. Copy the myq-garage.py file to the same folder as your dsclink program. Then in DSCLink go to the relay server tab. Under the custom relay commands put: COMMAND: Program: Arguments: MYQ_OPEN_0 ./myq-garage.py open 0 MYQ_CLOSE_0 ./myq-garage.py close 0 Then add the network resource in your ISY under Configuration>Networking>Network Resources Name: OPEN FIRST DOOR Protocol: tcp Host: <your pi ip> Port: 2402 (by default) Timeout 500 Mode: C Escaped Body: MYQ_OPEN_0 Hit save then save again, then test. Your door should open. Add another resource for close. Then you can control it whenever you'd like. Like I said, you still can't get status for now though.
  9. Ahh that is a good point. Eventually I'll make this a polyglot node server (with other stuff), but that might be a while. I run io_guy's dsclinkas well, so I'll get that scripted asap and set it up. -James
  10. Isibarra this is the raw code right now, so while you can control your garage doors with it, it is not built into an interface from the ISY yet. (Coming soon). I updated the readme on the code to include the steps required to install it. Let me know if you have any other questions above and beyond that. Thanks, James <Myq-garage github page>
  11. There is no direct access to the chamberlain bridge as far as I know. This routes through the cloud API interface. Works pretty quick though.
  12. Python Chamberlain Garage Door interface Python used to interface with my MyQ garage doors. Load it as a module, or download it on a linux box or rpi and 'chmod 755 myq-garage.py' Edit the file and put your myq username and password. Then use like so: Command Line options: ./myq-garage.py [open/close/status] [door number] # If you do a ./myq-garage.py status the door numbers are listed in order starting with 0 https://github.com/Einstein42/myq-garage I have a larger project I'm working on that I will add it into for direct consumption from the ISY, but here is the raw code for now.
×
×
  • Create New...