Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • in reply to: Bypass Status #16664
    maczrool
    Participant

    Seconded! This works great, thanks. Really cool features buried in there.

    in reply to: Bypass Status #16661
    maczrool
    Participant

    I edited my original post to include the “code” option, and it definitely looks better.

    Yep, that was it!

    Maybe AHK could be your friend again. Unless you have several copies of BA1, there would only be one default connection showing, so, using Window Spy, you could plot a mouse click position over the “Connect” button and it should automatically connect.

    Yes that’s what I ended up doing, just wanted to make sure there wasn’t a more direct approach. Seems to work more consistently than it did reading the state of the onscreen Bypass indicator.

    All seems to be working. On to drawing up some circuitry! Thanks again!

    in reply to: Bypass Status #16658
    maczrool
    Participant

    Do you know if it is possible to get BARemote to automatically connect to the BA1 service and open into full display mode or to issue a command to do so?

    in reply to: Bypass Status #16657
    maczrool
    Participant

    Glad you got it sorted! I copied and pasted the code from my test program, so I was sure it should work, but the forum software tampered with my code.

    Thanks for going to all that trouble. I noticed it corrupts the code too. I see there is code flag in the options in the post window. Perhaps that would have helped.

    If you are familiar with AHK, you could define some buttons to execute the code, and even interrogate the current status and display a message.

    Yes I am semi-familiar with it. I have everything working in AHK now. It writes to a file as you suggested and then at startup uses the file to restore the previous state. I also light a Blink1 USB LED when BA1 is active and use a single USB key dongle to toggle between on and off. In the future I may build a circuit to electrically switch the PC audio hardware out of the chain when BA1 is inactive.

    in reply to: Bypass Status #16653
    maczrool
    Participant

    Fixed it! Needed an additional “-” for each switch so:

    REM DISABLE BreakAwayOne
    curl –silent –output nul http://192.168.1.114:8282/parameter/hd1/proc/bypass_proxy=1

    It seems the forum software is removing the extra “-” so it does not publish correctly. Each switch requires two hyphens preceding it even if the example code does not appear that way.

    Thanks again for your help!

    • This reply was modified 3 years, 1 month ago by maczrool.
    • This reply was modified 3 years, 1 month ago by maczrool.
    in reply to: Bypass Status #16652
    maczrool
    Participant

    The batches work if I take the switches you have in there out. So this works:

    REM DISABLE BreakAwayOne
    curl http://192.168.1.114:8282/parameter/hd1/proc/bypass_proxy=1

    in reply to: Bypass Status #16651
    maczrool
    Participant

    Thanks! That’s what I got working. I can control BA1 with a browser but the batches won’t resolve the host. Even when I use the IP it says that so I’m not sure what resolving there is to do.

    in reply to: Bypass Status #16649
    maczrool
    Participant

    I’m making progress. It seems I needed to add the host IP to the “HTTP Port:8282” Box. Now I can reach the server. Batch files still report unable to resolve host though.

    in reply to: Bypass Status #16648
    maczrool
    Participant

    I can’t seem to get the batch files working. Is there anything I need to have running besides BreakawayOne? Any particular configuration I need to get BA to accept commands? All I get is Could not resolve host. Tried using the PC name with and without the brackets as well as the PC’s IP address with and without brackets but no luck. Thanks so much!

    in reply to: Bypass Status #16647
    maczrool
    Participant

    Thanks for your invaluable contribution Milky! I’ll give these a shot and see how they go.

    in reply to: Bypass Status #16644
    maczrool
    Participant

    Thank you so much! If there is a command to turn the bypass function on and off that would be even better.

Viewing 11 posts - 1 through 11 (of 11 total)