|
Post by mks123 on Aug 31, 2013 7:26:21 GMT -8
Hi, I seem to be missing files in the ExecuteFiles directory for some of the controls, specifically
Remote Picture Webview Feedback Button Voltmeter Barmeter Speedometer
Should these be added automatically when a new version of Raspiconnect is released if I run apt-get update and apt-get upgrade as this doesn't seem to be happening.
If I need to download these extra files manually how do I do this please?
Thanks for you assistance.
|
|
|
Post by SDL on Aug 31, 2013 8:02:06 GMT -8
Mks123,
All of the above are contained in the existing Execute Files. In the manual, each one of the controls above are given a UITYPE. Look in the RasPiConnectServer.py to see what UITYPE is contained in which Execute File. Execute Files are grouped by similar functions.
For example (line 207 in RasPiConnectServer.py)
if (objectType == REMOTE_WEBVIEW_UITYPE): if (Config.debug()): print "REMOTE_WEBVIEW_UITYPE found" outgoingData += ExecuteRemoteWebView.Generate_Remote_WebView(element, Config.localURL()) elif (objectType == PICTURE_REMOTE_WEBVIEW_UITYPE): if (Config.debug()): print "PICTURE_REMOTE_WEBVIEW_UITYPE found" outgoingData += ExecuteRemoteWebView.Generate_Remote_WebView(element, Config.localURL())
Both REMOTE_WEBVIEW_UITYPE and PICTURE_REMOTE_WEBVIEW_UITYPE are contained in the ExecuteRemoteWebView.py Execute file.
and similarly on line 226 in RasPiConnectServer.py FEEDBACK_ACTION_BUTTON_UITYPE calls ExecuteActionButton.py
To update RasPiConnectServer go to the download page on milocreek.com and clone the GIT repository from github. You don't use apt-get to clone this repository.
All of the files will be downloaded and updated.
Hoep this helps! Ask for more help if you need to. Check out the "Getting Started" section of the documentation too (for information on cloning git repositories).
Best regards,
BP
|
|
|
Post by mks123 on Sept 1, 2013 0:12:32 GMT -8
BP
That's a great help - I'll give it a go.
Many thanks for your help and very quick response!
Mks123
|
|