AMX_Mobile
vining
Posts: 4,368
AMX_Mobile.AXW This is a mobile device app that allows you to use your iPhone/iTouch, blackberry, or any device with a web browser to control an AMX system with this installed. You configure it in the .axi file and that will determine how the HTML file is written that the server the module created serves out. It sort of uses a little bit of AJAX to provide feedback with an HTML refresh but that was getting into an area that my brain didn't want to be in so it's limited.
This module was originally conceived of by bcirrisi who first posted this on the forums. When I finally got a chance to play with it I got a little carried away and turned it into this which I also posted earlier on the forum but now it can have a home too. Although I think an iPhone or BB app or something else would be much better which uses a direct TCP (telnet type) connection but I understand the argument that there are so many different devices and you can make apps for all of them. Now the HTML route isn't all that bad and someone w/ AJAX experience could possibly take this to the next level.
I did manage to create lighting levels on the lighting page so it does have simple possibilites (button back glow changes intensity). It could do var text and other typical TP like things but I decided to stop with a simple multi page, confgurable display keypad.
The pics show the results on a safari iPhone browser and an IE browser (I think). The iPhone does change orientation and resize and for all the browsers there's a CSS function specifically for that browser. I didn't have a BlackBerry so that needs work. Links to Blackberry info is in the module in the function.
This module was originally conceived of by bcirrisi who first posted this on the forums. When I finally got a chance to play with it I got a little carried away and turned it into this which I also posted earlier on the forum but now it can have a home too. Although I think an iPhone or BB app or something else would be much better which uses a direct TCP (telnet type) connection but I understand the argument that there are so many different devices and you can make apps for all of them. Now the HTML route isn't all that bad and someone w/ AJAX experience could possibly take this to the next level.
I did manage to create lighting levels on the lighting page so it does have simple possibilites (button back glow changes intensity). It could do var text and other typical TP like things but I decided to stop with a simple multi page, confgurable display keypad.
The pics show the results on a safari iPhone browser and an IE browser (I think). The iPhone does change orientation and resize and for all the browsers there's a CSS function specifically for that browser. I didn't have a BlackBerry so that needs work. Links to Blackberry info is in the module in the function.
0
Comments
I've spent a bit of time but cannot get this to work.
The code makes mention of a file, checkvalues.txt.
This file is not in the supplied AXW. Is it created in the code? (I couldn't see how/where).
Cheers
Mush
buttons.html is created by the code and sent to the browser that conected to the server and checkvalues.txt is just a value passed in the html so that it could be used in a GET request. GET /checkvalues.txt. The code parses this request from the bowser and responds accordingly. The file doesn't actaully exist or need to.
Also change the .axi name
PROGRAM_NAME='AMX_Moobile_v1' to PROGRAM_NAME='AMX_Mobile_v1'
I'd initially set the code port to be 81, I will try later today to set it to 80 and the master to 8080.
Okay, cool.
Yep, had already seen that too.
Thanks for your time VAV.
I'll post some diagnostic results later if it still doesn't work.
Cheers
Mush
https://github.com/jordevorstenbosch/AMXMobile
There we go.