Toon app: DomoticzBoard

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

wifiminime
Starting Member
Starting Member
Posts: 6
Joined: Mon Nov 25, 2019 12:11 am

Re: Toon app: DomoticzBoard

Post 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.
PeJeWe
Member
Member
Posts: 80
Joined: Thu Apr 25, 2019 6:51 am

Re: Toon app: DomoticzBoard

Post by PeJeWe »

How is the progress of the dimmer states?
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: DomoticzBoard

Post by Toonz »

on the todo list.
First the Afvalwijzer changes...
member of the Toon Software Collective
fluxdensity
Starting Member
Starting Member
Posts: 3
Joined: Fri Aug 21, 2015 4:45 pm

Re: Toon app: DomoticzBoard

Post 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
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: DomoticzBoard

Post 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)
member of the Toon Software Collective
Micha_123
Starting Member
Starting Member
Posts: 39
Joined: Mon Sep 09, 2019 6:51 pm

Re: Toon app: DomoticzBoard

Post 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.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: DomoticzBoard

Post 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
member of the Toon Software Collective
Xavier
Member
Member
Posts: 174
Joined: Wed Jan 16, 2019 1:40 am

Re: Toon app: DomoticzBoard

Post 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.
Toon2 with 6.0.2 firmware TSC 2.1.7
Apps: Sonos, Calender, garbagecalender, webcam, doorcam, Onkyo, Domoticzboard, Solar and weather app.
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: DomoticzBoard

Post 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
member of the Toon Software Collective
PeJeWe
Member
Member
Posts: 80
Joined: Thu Apr 25, 2019 6:51 am

Re: Toon app: DomoticzBoard

Post by PeJeWe »

I can confirm that the dimmer works well.
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
Micha_123
Starting Member
Starting Member
Posts: 39
Joined: Mon Sep 09, 2019 6:51 pm

Re: Toon app: DomoticzBoard

Post 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
Timeless
Member
Member
Posts: 54
Joined: Fri Jan 06, 2017 12:51 pm

Re: Toon app: DomoticzBoard

Post 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.
"The greatest good you can do for another, is not to share your own riches, but to reveal to him, his own."
- Benjamin Disraeli -
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: DomoticzBoard

Post 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
member of the Toon Software Collective
Timeless
Member
Member
Posts: 54
Joined: Fri Jan 06, 2017 12:51 pm

Re: Toon app: DomoticzBoard

Post 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 :)
"The greatest good you can do for another, is not to share your own riches, but to reveal to him, his own."
- Benjamin Disraeli -
Xavier
Member
Member
Posts: 174
Joined: Wed Jan 16, 2019 1:40 am

Re: Toon app: DomoticzBoard

Post 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 :) ?
Toon2 with 6.0.2 firmware TSC 2.1.7
Apps: Sonos, Calender, garbagecalender, webcam, doorcam, Onkyo, Domoticzboard, Solar and weather app.
Post Reply

Return to “Toon Apps”