Page 10 of 18

Re: Toon app: DomoticzBoard

Posted: Mon Nov 25, 2019 12:19 am
by wifiminime
Hi,

I was wondering if it is possible to create something for a screen? (Up/ down / stop).
I could control my sunscreens with a virtual ON/OFF switch, but that would only allow me to lower the screen completely (or open it fully)
It would be really nice if i would be able to stop it at the desired height.

Thanks so far for the app! Love it! Great addition to the TOON.

Re: Toon app: DomoticzBoard

Posted: Fri Dec 06, 2019 9:46 pm
by PeJeWe
How is the progress of the dimmer states?

Re: Toon app: DomoticzBoard

Posted: Fri Dec 06, 2019 10:42 pm
by Toonz
on the todo list.
First the Afvalwijzer changes...

Re: Toon app: DomoticzBoard

Posted: Fri Dec 20, 2019 11:59 am
by fluxdensity
Hi,

Just want to mention that this app is the most used one in my house. Despite all the switches on the walls, Iphones nearby everybody finds it very easy to just tap on the Toon and select "Mood lighting", switching on Audio etc.

The work going into the app much appreciated.

Regards

Re: Toon app: DomoticzBoard

Posted: Fri Dec 20, 2019 2:43 pm
by Toonz
fluxdensity wrote:Hi,

Just want to mention that this app is the most used one in my house. Despite all the switches on the walls, Iphones nearby everybody finds it very easy to just tap on the Toon and select "Mood lighting", switching on Audio etc.

The work going into the app much appreciated.

Regards
Thanks, that motivates me :-).
During the holidays I might publish another release which will support more dimmers (I think I know what to do now, but the stuff is badly documented and several physical dimmers behave differently)

Re: Toon app: DomoticzBoard

Posted: Tue Dec 31, 2019 1:15 pm
by Micha_123
Maybe an idea voor switch selector.

It wil be nice to have an status on toon from an switch selector on the tile.

Simply a name of the switch selector and on the top (where normaly is an Icon) the state of that selector.

That wil be cool.

The reason is, i have in domoticz made 2 switch selectors and made dzvents script voor my washing machine and voor the dishwasher (the script measuers the wattages of that machines and gives the states on an switch selector)

The selectors shown voor the washingmachine

"Uit" "StandBy" "Aan" "Klaar"

And vor the dishwasher

"Uit" "StandBy" "Aan" "Droogen"

It wil be nice to see it on the toon.


That wil be verry cool.

Re: Toon app: DomoticzBoard

Posted: Tue Dec 31, 2019 5:35 pm
by Toonz
Hi,

this is possible, the data is available.
I just need to update the app to also start reading 'selectors' as well as the normal lights/switches.
A bit of work but doable for sure, somewhere next year :-)

Kind regardz,

Toonz

Re: Toon app: DomoticzBoard

Posted: Thu Jan 02, 2020 5:01 pm
by Xavier
Toonz wrote:
fluxdensity wrote:Hi,

Just want to mention that this app is the most used one in my house. Despite all the switches on the walls, Iphones nearby everybody finds it very easy to just tap on the Toon and select "Mood lighting", switching on Audio etc.

The work going into the app much appreciated.

Regards
Thanks, that motivates me :-).
During the holidays I might publish another release which will support more dimmers (I think I know what to do now, but the stuff is badly documented and several physical dimmers behave differently)
Also in our house the Toon is used primairy to control lights and blinds, before the use with a smartphone or tablet.

Re: Toon app: DomoticzBoard

Posted: Fri Jan 03, 2020 1:03 am
by Toonz
Micha_123 wrote:Maybe an idea voor switch selector.

It wil be nice to have an status on toon from an switch selector on the tile.

The selectors shown voor the washingmachine
"Uit" "StandBy" "Aan" "Klaar"

And vor the dishwasher
"Uit" "StandBy" "Aan" "Droogen"
Hi all,

happy to announce version 1.1.7 in the ToonStore 5.
Changelog:
- support for selector type switches

quick explanation:
A selector type switch will show the current state in the list of switches with an 'edit' icon.
Pressing that icon will show a list of buttons with all available options for that selector to chose from. The current state is marked with an '*'.
Press one of the buttons to change the state (or select the current state to do nothing) to go back to the list of switches.

Pressing on the name of the switch will add that switch to the left position on the tile.
The former left switch on the tile will move to the right position on the tile.
For 'selectors' the current state is shown under the switch name on the tile.

Happy to take feedback of course.

N.B. Setting dimlevels for dimmers will not work correctly with all types of dimmers, still some work to do there but very cumbersome without having any myself.

Kind regardz,

Toonz

Re: Toon app: DomoticzBoard

Posted: Fri Jan 03, 2020 8:10 am
by PeJeWe
I can confirm that the dimmer works well.

Re: Toon app: DomoticzBoard

Posted: Fri Jan 03, 2020 3:14 pm
by Micha_123
Wooow thank you, scenes are working NICE

Thank you verry much.

Dimmers are working the same as in the version before in my case.

Foor toon1 is this Maybe good to set an timeout of sec 2

So then i can set the dimstate fast, and after stop setting dimmstade toon send the dimstate after one or 2 seconds.


But with the selectors is that realy NICE. Thank you

Re: Toon app: DomoticzBoard

Posted: Mon Feb 03, 2020 11:43 pm
by Timeless
First, great work on the rewrite! DomoticzBoard is hugely improved. Thanks.

I have 2 suggestions:
1. I think it would be nice to have basic support for RGB(WWZ) devices as well, they support basic dimmer commands just like a regular dimmer.
Toonz wrote: I cannot guarantee it will work with all dimmers so feedback is welcome (I don't have any myself actually ).
They can be identified by:

Code: Select all

Type	"Color Switch"
Instead of:

Code: Select all

Type	"Light"
I updated DomoticzboardApp.qml and changed the following line:

Code: Select all

if (domoticzConfigJSON["result"][i]["Type"].substring(0,5) == "Light") {
into

Code: Select all

if (domoticzConfigJSON["result"][i]["Type"].substring(0,5) == "Light" || domoticzConfigJSON["result"][i]["Type"].substring(0,5) == "Color") {
which gave me dimming control over my RGB(WWZ) devices

2. Add password support:
This will not increase security (plain-text anyway) but to limit the devices Toon is able to control. In my case I have presence (Phone/TV/Appliances) detection devices that should not by controlled by Toon but are defined as 'Switch' type in Domoticz and are therefor visible in Toon without adding user/pass support.
witteherder wrote: I have a username and password on my domoticz
This can be added in future versions by changing:

Code: Select all

xmlhttp.open("GET", "http://"+connectionPath+"/json.htm?type=devices&filter=all&used=true&order=Name", true);
into:

Code: Select all

property string username: "" //pre-base64 encoded or by using btoa()
property string password: "" //pre-base64 encoded or by using btoa()
xmlhttp.open("GET", "http://"+connectionPath+"/json.htm?type=devices&filter=all&used=true&order=Name&username=" + username + "&password=" + password, true);
This should then also be added to the simpleSynchronous() functions. And can be further improved by adding parameters as settings to the config file.

Re: Toon app: DomoticzBoard

Posted: Tue Feb 04, 2020 12:13 am
by Toonz
Thanks, good suggestions.
Will add it to the next release (not this week, fully tight up with work).

By the way, you can also create a pull request on our github: https://github.com/ToonSoftwareCollective :-)

Kind regardz,

Toonz

Re: Toon app: DomoticzBoard

Posted: Tue Feb 04, 2020 1:25 am
by Timeless
Sure! if I find the time and you've not added this feature before me, I will happily create a pull request.
Hopefully also integrate the username/password settings to make it more complete.
To be continued :)

Re: Toon app: DomoticzBoard

Posted: Mon May 11, 2020 7:55 pm
by Xavier
Hi any News about this update?

I have running some Shelly dimmers at the moment.
They work fine within Domoticz based on MQTT, But they don't show up in the Toon Domoticzboard app.
When checking Domoticz I see that "Type" is "Color Switch, white, dimmer".
Can this be fixed so I can make my wife happy again :) ?