Toon app: DomoticzBoard

Forum about forum-provided applications on Toon

Moderators: marcelr, Toonz, TheHogNL, TerrorSource

Re: Toon app: DomoticzBoard

Postby PeJeWe » Thu Oct 10, 2019 3:59 pm

Toonz wrote:Think I got it now:

from JSON:
"Level" : 6,
"LevelInt" : 1,
"MaxDimLevel" : 15,


level 6 means 6% lumination on the scale of 100%
MaxDimLevel are the number of dim steps, 16 in this case
LevelInt is then the current dim step (1 out of the max 16, equals to 6%)

I did interpreted these values differently before: I am sending the percentage as level value now.
Meaning set level to e.g. 80 (80%) which sets the dim level to 16 (max step) which equals to 100% illumination.
Instead of sending percentages I simply can up or down step level counter

Will be fixed in 1.1.4 soonish


Sounds good.
So far great work.
I like this a lot.
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 » Tue Oct 29, 2019 12:18 pm

Toonz,

Are you still busy with it?

I know it is nothing to do within 5 min, a small info wil be nice about it.

Thabk you
Micha_123
Starting Member
Starting Member
 
Posts: 20
Joined: September 2019

Re: Toon app: DomoticzBoard

Postby Toonz » Tue Oct 29, 2019 7:51 pm

Thanks for the reminder, was carried away by other stuff …… ;-)
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1517
Joined: December 2016

Re: Toon app: DomoticzBoard

Postby Toonz » Tue Oct 29, 2019 10:53 pm

Hi all,

Thanks for reminding me. The dimmers are now controlled in 10 steps from min to max.
I cannot guarantee it will work with all dimmers so feedback is welcome (I don't have any myself actually ).
New version is available in the ToonStore now.

Changelog 1.1.4
- improved handling of dimmer levels, now in 10 steps from min to max
- simplified install package (dropped firmware 4 support)

Kind regardz,

Toonz
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1517
Joined: December 2016

Re: Toon app: DomoticzBoard

Postby Micha_123 » Wed Oct 30, 2019 12:04 am

Thank you, it is working like a charm,

Scenes can be disabled NICE,
Also the timeout is working very good.


Maybe for the next Release 16 steps? Most dimmers (also kaku) have 16 steps. Or maybe configurable steps.

Also the timeout wil be better to do it after setting dimm state,

So if i set an dimm state it wait a second or two befor send command, so it wil be possible to set fast an dimmstate from 100 to 10 and if not changed anymore the command wil be send directly to 10.


But it os now realy good working, thank you.
Micha_123
Starting Member
Starting Member
 
Posts: 20
Joined: September 2019

Re: Toon app: DomoticzBoard

Postby Toonz » Wed Oct 30, 2019 6:56 am

Good suggestion on the timeout.
for 16 step dimmers I could use all 16 indeed
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1517
Joined: December 2016

Re: Toon app: DomoticzBoard

Postby PeJeWe » Wed Oct 30, 2019 8:50 pm

i stil have the problem that i can't lower the dim setting, it stays at 100%
i use kaku dimmers by the way.
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
PeJeWe
Member
Member
 
Posts: 62
Joined: April 2019

Re: Toon app: DomoticzBoard

Postby Edwin66 » Sat Nov 09, 2019 6:39 pm

Not sure if it's the reason I've problems with Toon right now, but since I activated this app, Toon is really slow. It can take up to 5 minutes (and more) to respond to a tap on the touchscreen. Is there an easy way to delete this app from my Toon.

Would deleting the app from /qmf/qml/apps/ be enough to remove it?
Toon® (rooted) | Hue bulbs | TRÅDFRI bulbs | Smart Plug | Domoticz latest BETA |

I'm not a programmer, just wish things work MY way
Edwin66
Member
Member
 
Posts: 74
Joined: August 2018

Re: Toon app: DomoticzBoard

Postby Toonz » Sat Nov 09, 2019 6:43 pm

yes, removing the domoticzboard folder from the apps folder will remove the app, restart the gui afterwards
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1517
Joined: December 2016

Re: Toon app: DomoticzBoard

Postby Edwin66 » Sat Nov 09, 2019 6:47 pm

Thanks. Now my Toon is working as it should. Nice and quick.


(now where is the 'thank you' button on this forum).
Toon® (rooted) | Hue bulbs | TRÅDFRI bulbs | Smart Plug | Domoticz latest BETA |

I'm not a programmer, just wish things work MY way
Edwin66
Member
Member
 
Posts: 74
Joined: August 2018

Re: Toon app: DomoticzBoard

Postby marcelr » Sat Nov 09, 2019 8:12 pm

Edwin66 wrote:Thanks.
(now where is the 'thank you' button on this forum).


There isn't any. Your way of saying thank you will do nicely, thank you.
marcelr
Global Moderator
Global Moderator
 
Posts: 1149
Joined: May 2012
Location: Ehv

Re: Toon app: DomoticzBoard

Postby PeJeWe » Sat Nov 09, 2019 8:30 pm

Dimmer states:
Domoticzurl:8080/json.htm?type=command&param=getlightswitches

"DimmerLevels" : "0,6,13,20,26,33,40,46,53,60,66,73,80,86,93,100",
"IsDimmer" : true,
"Name" : "Keuken buitenr.",
"SubType" : "AC",
"Type" : "Lighting 2",
"idx" : "369"
and http://domoticzurl:8080/json.htm?type=d ... order=Name

"AddjMulti" : 1.0,
"AddjMulti2" : 1.0,
"AddjValue" : 0.0,
"AddjValue2" : 0.0,
"BatteryLevel" : 255,
"CustomImage" : 0,
"Data" : "Off",
"Description" : "",
"DimmerType" : "abs",
"Favorite" : 1,
"HardwareID" : 11,
"HardwareName" : "RFXCOM",
"HardwareType" : "RFXCOM - RFXtrx433 USB 433.92MHz Transceiver",
"HardwareTypeVal" : 1,
"HaveDimmer" : true,
"HaveGroupCmd" : true,
"HaveTimeout" : false,
"Image" : "Light",
"IsSubDevice" : false,
"LastUpdate" : "2019-11-09 13:54:48",
"Level" : 100,
"LevelInt" : 15,
"MaxDimLevel" : 15,
"Name" : "Keuken buitenr.",
"Notifications" : "false",
"PlanID" : "0",
"PlanIDs" : [ 0 ],
"Protected" : false,
"ShowNotifications" : true,
"SignalLevel" : 6,
"Status" : "Off",
"StrParam1" : "",
"StrParam2" : "",
"SubType" : "AC",
"SwitchType" : "Dimmer",
"SwitchTypeVal" : 7,
"Timers" : "true",
"Type" : "Lighting 2",
"TypeImg" : "dimmer",
"Unit" : 1,
"Used" : 1,
"UsedByCamera" : false,
"XOffset" : "0",
"YOffset" : "0",
"idx" : "369"

It stil flips back to 100% and can't set dim state wright :(
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 » Sun Nov 10, 2019 12:43 pm

aha , I see that the dimmer levels are specified in the json as well.
Will need to read those as well.
The level indicator is then just an index in the array with dimlevels.

Can be done in next release
member of the Toon Software Collective
User avatar
Toonz
Forum Moderator
Forum Moderator
 
Posts: 1517
Joined: December 2016

Re: Toon app: DomoticzBoard

Postby witteherder » Tue Nov 12, 2019 5:02 pm

I have a small problem with the Domoticz Board Configuration

I have a username and password on my domoticz

Where can I put that somewhere in the Toon2?
Toon 2 Rooted User
Firmware version: 5.9.6
Raspberry Pi 3B+
Domoticz V4.10717
7 Neo Coolcam PowerPlus
Domotica Beginner (need little help in beginning)
witteherder
Starting Member
Starting Member
 
Posts: 23
Joined: January 2019

Re: Toon app: DomoticzBoard

Postby PeJeWe » Tue Nov 12, 2019 8:40 pm

witteherder wrote:I have a small problem with the Domoticz Board Configuration

I have a username and password on my domoticz

Where can I put that somewhere in the Toon2?


you have to white list your toon ip adres in domoticz settings.

in domoticz go to settings > settings > and fill in : LOKALE NETWERKEN (GEEN GEBRUIKERSNAAM/WACHTWOORD): an IP range like 192.168.1.* this is from 1-254

reboot your domoticz and toon.
Rooted Toon 1, Domoticz running on a RPI3b+, RFXCOM XL, RFLINK.
PeJeWe
Member
Member
 
Posts: 62
Joined: April 2019

PreviousNext

Return to Toon Apps

Who is online

Users browsing this forum: No registered users and 1 guest