jbuehl
0
Re: Control your Jandy equipment from your PC with a $15 ada
I haven't sprung for the iOS license either. I sort of got put off by needing to use objective C, so I'm just using the web browser from my iPhone for now.
Ah! Now I understand. I was serving controller.html from Apache when I was trying your code earlier. I went back and moved all the web files to the directory where the aqualinkd executable is and stopped httpd. It's not working any better, however. I put the url http://localhost:6500/controller.html in my browser (firefox) and it paints the picture of the controller with all zero values. I don't see any errors in the log fie. It's not an issue with message formats to the Aqualink controller, however, because I can see that it is successfully talking to my controller and getting all the values when it starts up.agent-P said:My code, even the version I uploaded, doesn't require a web server. That is built into the daemon using the websockets library. I have apache (httpd) disabled on the server, and my daemon uses port 80, just so I don't have to specify a port in the URL to access it. I also keep the client code in /var/www/html for convenience. If apache was serving it, it wouldn't work.Simply a convenience. My clients do use a web browser, since I wrote them in javascript. I didn't want to write an app for every device. Though, I have been toying with writing an app that wraps a web view. I have one working in android, but didn't bother with iOS since Apple requires the $90 / year developer subscription to deploy to an actual device, even your own for testing.
I haven't sprung for the iOS license either. I sort of got put off by needing to use objective C, so I'm just using the web browser from my iPhone for now.