Forum Replies Created
-
AuthorPosts
-
maczrool
ParticipantSeconded! This works great, thanks. Really cool features buried in there.
maczrool
ParticipantI 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!
maczrool
ParticipantDo 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?
maczrool
ParticipantGlad 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.
maczrool
ParticipantFixed 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=1It 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!
maczrool
ParticipantThe 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=1maczrool
ParticipantThanks! 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.
maczrool
ParticipantI’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.
maczrool
ParticipantI 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!
maczrool
ParticipantThanks for your invaluable contribution Milky! I’ll give these a shot and see how they go.
maczrool
ParticipantThank you so much! If there is a command to turn the bypass function on and off that would be even better.
-
AuthorPosts