Toon app: Dashticz (no longer working)

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

jozg
Member
Member
Posts: 56
Joined: Wed Nov 15, 2017 1:13 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by jozg »

Hello Rob,

Thanks for the good work. I now marked my 2 scenes as "favorite" but they won't show up in the dashticz screen, even after a reboot of toon.
Here is the result of the command: (i only copied the lines from the not showing scenes)
0
Data "On"
Description ""
Favorite 1
LastUpdate "2017-12-11 07:03:04"
Name "Beneden Aan"
PlanID ""
PlanIDs
0 0
Protected false
Status "On"
Type "Scene"
TypeImg "scene"
UsedByCamera false
XOffset 0
YOffset 0
idx "1"
1
Data "On"
Description ""
Favorite 1
LastUpdate "2017-12-10 23:10:01"
Name "Beneden Uit"
PlanID ""
PlanIDs
0 0
Protected false
Status "On"
Type "Scene"
TypeImg "scene"
UsedByCamera false
XOffset 0
YOffset 0
idx "2"

And for the outdoor temp sensor (it's a 1wire sensor, attached to another domoticz raspberry, in het tuinhuis):
It would be nice to show this temperature next to the toon indoor temperature ;-)
10
AddjMulti 1
AddjMulti2 1
AddjValue 0
AddjValue2 0
BatteryLevel 100
CustomImage 0
Data "0.6 C"
Description ""
Favorite 1
HardwareID 6
HardwareName "Domoticz Tuinhuis"
HardwareType "Domoticz - Remote Server"
HardwareTypeVal 3
HaveTimeout false
ID "FFD7"
LastUpdate "2017-12-11 09:27:41"
Name "Buiten Temp"
Notifications "false"
PlanID "0"

regards,
robgeerts
Starting Member
Starting Member
Posts: 38
Joined: Tue Aug 08, 2017 10:30 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by robgeerts »

Thanks, will be fixed in next version!

Edit: Could you check latest beta?
jozg
Member
Member
Posts: 56
Joined: Wed Nov 15, 2017 1:13 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by jozg »

Hello Rob,

Looks really nice, i now see my 2 scenes, and the outdoor temperature!.
But the settings via the user interface is still not working for me, so i use an improvised manual settings file:
{"domoticzHost":"192.168.1.11","domoticzPassword":"","domoticzPort":"8080","domoticzTileIDX":"47","domoticzUsername":"","ovHalte":""}

But with this new beta, and (i think) a combination of a manual settings file, my toon becomes very slow en unresponsive.
Can you give me a sample of a correct settings file?

Regards,
robgeerts
Starting Member
Starting Member
Posts: 38
Joined: Tue Aug 08, 2017 10:30 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by robgeerts »

The settingsfile you have is correct.
I think the slowness is due to refreshing the state of the tiles... I noticed this too, will look into this!
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by Toonz »

Hi Rob,

Some random comments, feel free to ignore :)

I noticed you have a timer in the DashticzScreen.qml triggered every 2 seconds which is quite fast.
That timer is triggering loading the parameters and doing the http call to domoticz etc which takes some time but within 2 seconds the timer fires again, potentially even before the initial call has finished.
Could be the reason for the slowness...

You could consider using the OnCompleted event in DashticzApp.qml triggering loading the parameters, call domoticz first time at startup and start the timer.
Personally I prefer to have the timers in ....App.qml as well and not in sub screens.
Timer then only triggering updates of the devices/ov data. If parameters are changed manually the update function can be called after clicking 'Opslaan' in the config screen.

Hope this helps a bit.

Regardz,

Toonz
member of the Toon Software Collective
robgeerts
Starting Member
Starting Member
Posts: 38
Joined: Tue Aug 08, 2017 10:30 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by robgeerts »

Thanks for your comments, I appreciate it!
Although, the 2-sec-timer in DashticzScreen.qml is only on startup of the app, it checks for the settings to load, when done, it redirects to the switches screen?
So that specific timer doesnt call Domoticz?
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by Toonz »

got it. Was confused by:
if(loadDevices){
getDevices();
}

in loadSettings(). Later noticed loadDevices is only set to true in the init function of the tile which is not yet started....
member of the Toon Software Collective
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by michel30 »

Hello,

I install this app on my Toon, I also installed Dashticz on my Raspberry PI.

I see my light swith on Dashticz plus in my Domoticz that works okay.

But I can not see the light buttons on my Toon.
dashticz.jpg
dashticz.jpg (54.01 KiB) Viewed 12525 times
On my Toon
dashticz toon.jpg
dashticz toon.jpg (57.24 KiB) Viewed 12525 times
What is IDX? how could I see this on my Raspberry PI maybe that is the issue I could not find it on Dashticz.

Here you see it is searching for the light buttons.
search for light.jpg
search for light.jpg (15.04 KiB) Viewed 12525 times
sattinus
Starting Member
Starting Member
Posts: 2
Joined: Fri Sep 15, 2017 8:49 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by sattinus »

Can someone tell if Dashticz works under software version 4.7.23? Get it but not working, the symbol does not appear unfortunately ....
b1r0n3r
Starting Member
Starting Member
Posts: 8
Joined: Tue Jul 04, 2017 8:17 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by b1r0n3r »

Dashticz - Wow! nice work and potentially a valuable addition!

after a few set-backs, I finally seem to have a few switches displayed on my (4.10.6) Toon.
However; a bunch of favorite items are not (yet) supported, but processing the list seems to slow the Toon down considderably.
So, trying to think along; would it be possible to querry / filter (and display) the devices based on a room index (planID)? It's fairly easy to define a new plan "Dashticz" for example and only add devices there that are supported and important enough to have on the Toon interface to that planID. (The Home-brigde setup uses this method to control in detail which items are made available to homekit this way)

And a Question: What does the IDX entry field do currently?
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by michel30 »

b1r0n3r wrote:Dashticz - Wow! nice work and potentially a valuable addition!

after a few set-backs, I finally seem to have a few switches displayed on my (4.10.6) Toon.
However; a bunch of favorite items are not (yet) supported, but processing the list seems to slow the Toon down considderably.
So, trying to think along; would it be possible to querry / filter (and display) the devices based on a room index (planID)? It's fairly easy to define a new plan "Dashticz" for example and only add devices there that are supported and important enough to have on the Toon interface to that planID. (The Home-brigde setup uses this method to control in detail which items are made available to homekit this way)

And a Question: What does the IDX entry field do currently?
How did you get the light buttons in?
I don't see anyting on my Toon.
See my screenshot 3 toppics above.
b1r0n3r
Starting Member
Starting Member
Posts: 8
Joined: Tue Jul 04, 2017 8:17 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by b1r0n3r »

How did you get the light buttons in?
I don't see anything on my Toon.
See my screenshot 3 topics above.
- I am not entirely sure to be honest.
I think it started working and showing switches after putting in username and password (which is not required on my LAN as configured) in the dashticz.settings file; replacing the [] signs. However; I now do see that I didn't even convert the password base64 or something so.... not sure..


On a side note; this evening I removed dashticz from my Global.qml to confirm it to be the source of the intermittent hanging of the toon ui every 5 or 10 seconds or so and bad wake-up behavior; it was.
Dashticz to me seems a promising development; I truly hope Rob will continue to improve the software and we will be able to try out some newer versions in the near future.
hubble
Starting Member
Starting Member
Posts: 4
Joined: Mon Jan 08, 2018 11:36 am

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by hubble »

Hi michel30.

I managed to get my lights in to first setup the file "dashticz.settings" before rebooting the gui with killall qt-gui:

If you don't use authentication leave the password and username empty like this:

Code: Select all

{"domoticzHost":"<your ip>","domoticzPassword":"","domoticzPort":"<your port>","domoticzUsername":""}

Grz.
Hubble
michel30
Member
Member
Posts: 286
Joined: Fri Aug 25, 2017 4:42 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by michel30 »

That is funny, I did this many times, but I see you using it in a different way and that works :-) super thanks for you info.
Hypermobile
Member
Member
Posts: 76
Joined: Sun Jan 14, 2018 5:12 pm

Re: Toon app: Dashticz (for Toon); NEW: OV Info (NL)

Post by Hypermobile »

robgeerts wrote: (Tiles not yet available)
Is someone able to test this?


i'm willing to test things out.
Like the App on Toon.

Do you also have Idea's to add RSS Feeds into Dasticz ea.?
Locked

Return to “Toon Apps”