Toon app: DomoticzBoard

Forum about forum-provided applications on Toon

Moderators: marcelr, Toonz, TheHogNL, TerrorSource

Re: Toon app: DomoticzBoard

Postby wifiminime » Sun Nov 24, 2019 11:19 pm

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.
wifiminime
Starting Member
Starting Member
 
Posts: 6
Joined: November 2019

Re: Toon app: DomoticzBoard

Postby PeJeWe » Fri Dec 06, 2019 8:46 pm

How is the progress of the dimmer states?
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
PeJeWe
Member
Member
 
Posts: 62
Joined: April 2019

Re: Toon app: DomoticzBoard

Postby Toonz » Fri Dec 06, 2019 9:42 pm

on the todo list.
First the Afvalwijzer changes...
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1545
Joined: December 2016

Re: Toon app: DomoticzBoard

Postby fluxdensity » Fri Dec 20, 2019 10:59 am

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
fluxdensity
Starting Member
Starting Member
 
Posts: 2
Joined: August 2015

Re: Toon app: DomoticzBoard

Postby Toonz » Fri Dec 20, 2019 1:43 pm

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
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1545
Joined: December 2016

Re: Toon app: DomoticzBoard

Postby Micha_123 » Tue Dec 31, 2019 12:15 pm

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.
Micha_123
Starting Member
Starting Member
 
Posts: 20
Joined: September 2019

Re: Toon app: DomoticzBoard

Postby Toonz » Tue Dec 31, 2019 4:35 pm

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
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1545
Joined: December 2016

Re: Toon app: DomoticzBoard

Postby Xavier » Thu Jan 02, 2020 4:01 pm

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 5.33.9 firmware TSC 2.1.1
Apps: Sonos, Calender, garbagecalender, traffic information, webcam, doorcam, PostNL, public transport, Onkyo, Domoticzboard and weather app.
Xavier
Member
Member
 
Posts: 125
Joined: January 2019

Re: Toon app: DomoticzBoard

Postby Toonz » Fri Jan 03, 2020 12:03 am

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
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1545
Joined: December 2016

Re: Toon app: DomoticzBoard

Postby PeJeWe » Fri Jan 03, 2020 7:10 am

I can confirm that the dimmer works well.
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
PeJeWe
Member
Member
 
Posts: 62
Joined: April 2019

Re: Toon app: DomoticzBoard

Postby Micha_123 » Fri Jan 03, 2020 2:14 pm

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
Micha_123
Starting Member
Starting Member
 
Posts: 20
Joined: September 2019

Re: Toon app: DomoticzBoard

Postby Timeless » Mon Feb 03, 2020 10:43 pm

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 -
Timeless
Member
Member
 
Posts: 51
Joined: January 2017

Re: Toon app: DomoticzBoard

Postby Toonz » Mon Feb 03, 2020 11:13 pm

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
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1545
Joined: December 2016

Re: Toon app: DomoticzBoard

Postby Timeless » Tue Feb 04, 2020 12:25 am

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 -
Timeless
Member
Member
 
Posts: 51
Joined: January 2017

Re: Toon app: DomoticzBoard

Postby Xavier » Mon May 11, 2020 6:55 pm

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 5.33.9 firmware TSC 2.1.1
Apps: Sonos, Calender, garbagecalender, traffic information, webcam, doorcam, PostNL, public transport, Onkyo, Domoticzboard and weather app.
Xavier
Member
Member
 
Posts: 125
Joined: January 2019

PreviousNext

Return to Toon Apps

Who is online

Users browsing this forum: Edgar and 1 guest

cron