Re: Software: modifications and extensions Toon
Posted: Fri Sep 22, 2017 9:55 pm
How did you make these double tile with 3 days of gas use?walberg wrote:
Domotica - Home Automation Forum
https://www.domoticaforum.eu/
How did you make these double tile with 3 days of gas use?walberg wrote:
Should be possible. If you can get the sensor to work with toon, influencing the heating sequence should not be an issue.Vibestar wrote:Maybe more hardware and software related: is there a way to controle the state of the boiler with a movementsensor?
I had a thermostat of ICY for many years. Of I wasnt in the room for 30 min the thermostat was set back to a colder state. I was wondering if it could be done by the TOON?
michel30 wrote:How did you make these double tile with 3 days of gas use?
My point of view on this, just put such kind of intellegence in domoticz. You can then also use geofencing etc.Vibestar wrote:Maybe more hardware and software related: is there a way to controle the state of the boiler with a movementsensor?
I had a thermostat of ICY for many years. Of I wasnt in the room for 30 min the thermostat was set back to a colder state. I was wondering if it could be done by the TOON?
Even better, Domoticz can directly change the selected program on Toon via an http request to Toon. This can be triggered via any event in Domoticz.TheHogNL wrote:My point of view on this, just put such kind of intellegence in domoticz. You can then also use geofencing etc.
Based on what domoticz decides, you can then try to set the correct program of the Toon (away, at home, comfort, sleeping). This would need something which could interact with domoticz and toon. I think the best option for now is let the toon poll domoticz each minute (a virtual sensor or something in which domoticz puts the requested mode) and then change the program of the thermostat accordingly. The builtin thermostat app will probably guide you how to set the program using your script.
Owh didn't now that. Which http requests are available then? I only know about the ones getting info from the ToonToonz wrote:[
Even better, Domoticz can directly change the selected program on Toon via an http request to Toon. This can be triggered via any event in Domoticz.
A cleaner solution than having Toon polling Domoticx in my view.
In other words, connect a motion sensor to Domoticz and of you go......
@ Makkie;makkie2002 wrote:Hi all. I made my first app! It is showing images from my webcam on a Toon tile. If you click on the tile you get a fullscreen image of the webcam.
The app uses the fact that my webcam has an URL with the latest jpg image. The images are refreshed every 10s for now. If I refresh more quickly the Toon processor is too heavily loaded. I would like to have the refresh rate for the full screen somewhat faster than for the tile, but I am afraid my programming skills hold me back. So if someone wants to look into the code and help out ... very much appreciated !
Martin101010 wrote:@ Makkie;makkie2002 wrote:Hi all. I made my first app! It is showing images from my webcam on a Toon tile. If you click on the tile you get a fullscreen image of the webcam.
The app uses the fact that my webcam has an URL with the latest jpg image. The images are refreshed every 10s for now. If I refresh more quickly the Toon processor is too heavily loaded. I would like to have the refresh rate for the full screen somewhat faster than for the tile, but I am afraid my programming skills hold me back. So if someone wants to look into the code and help out ... very much appreciated !
Nice idea, unfortunatly all I get is a white screen and the GUI keeps restarting. What I did was;
I've copied the app to /HCBv2/qml/apps
added webcam-0.05 to globals file,
reset with: killall -9 qt-gui
Do I miss something?
Edit: Found it, I indeed missed something, forgot a semicolon in de globals file. App is working fine
Any progress on the time out when closed?
Regards,
Martin
Code: Select all
Tile {
id: wastecollectionTile
property bool dimState: screenStateController.dimmedColors
onClicked: {
if (app.wastecollectionConfigurationScreen)
app.wastecollectionConfigurationScreen.show();
}
Image {
id: wasteIconzzBig
source: app.wasteIcon
anchors {
baseline: parent.top
baselineOffset: 10
horizontalCenter: parent.horizontalCenter
}
cache: false
visible: dimState ? app.wasteIconShow : false // only show if one icon
}
Image {
id: wasteIconzzSmall1
height: 100
width: 100
source: app.wasteIcon
anchors {
baseline: parent.top
baselineOffset: 10
left: parent.left
leftMargin: 10
}
cache: false
visible: dimState ? app.wasteIcon2Show : false // only show if two icons
}
....