Moderators: marcelr, TerrorSource, Toonz, TheHogNL
TheHogNL wrote:You could also try to port this to the Toon https://gist.github.com/apk/2414478
oepi-loepi wrote:Would it be possible to post a trigger file to Toon by ftp containing 'true' or 'false' which is read every x seconds by the camera app? In this case the app status will be triggered by the contents of the trigger file instead of a click event. I is a big puzzle i agree and i do not have all knowledge of linux and qml... (more VB6 and Javascript).
oepi-loepi wrote:Yesterday i did some qml with just a simple notepad from the Toon. It was the first time programming qml but must say that is is quite easy if you know some JavaScript.
This is what i have done so far (using the 1.0.4 Webcam app fom the ToonStore).
1. I added a new string variable to Domoticz "ShowDoorCamToon". Set to "150".
2. A new timer is created to the webcam widget (3 seconds).
3. Every timer instance a get HTTP is send to Domoticz requesting the variable status of "ShowDoorCamToon".
4. The result is JSON so JSON is parsed and the variable result.value is checked.
5. If result is "200" then the camera app is shown full screen on Toon.
6. After the camera app is full screen a get HTTP is send to Domoticz setting the value of "ShowDoorCamToon" to 150.
7. The widget is still checking the Domoticz variable "ShowDoorCamToon" every 3 seconds.
8. If result is "100" then the camera app is closed (hidden).
Next to do is to modify the config/setup screens.
I will keep you all informed and thanks for the basic ideas. They were really a great help allready.
roykaandorp wrote:Really great! This was what I'm looking for, but somehow I can't get the tile visible.
I just unzipped it in os x, after that I first edited the variables and copied it by scp to Toon within the right directore (/qmf/qml/apps/) and after that a "shutdown -r now"
But it doesn't appear, I've also tried to unzip in linux and then scp to toon.
What am I missing?
Toonz wrote:Is the foldername 'doorcam' (no capitals)?
Users browsing this forum: No registered users and 1 guest