Toon app: DomoticzBoard

Forum about forum-provided applications on Toon

Moderators: marcelr, TheHogNL, Toonz

justsomeguy
Starting Member
Starting Member
Posts: 3
Joined: Sat Feb 23, 2019 5:10 pm

Re: Toon app: DomoticzBoard

Post by justsomeguy »

I am trying to install DomoticzBoard (from Github, but it is not visible. I have followed the hints on the other forum topic "custom apps on fw 5.0.4" but it didn't help. Is there anything else I should do? To be clear, the apps should be visible on the 'add tile' page, right?

Thanks!
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: DomoticzBoard

Post by Toonz »

Note that from 4.22 onwards or so the filenames need to comply to certain rules : viewtopic.php?f=103&t=12303#p89271

If that's ok it can be that the app contains errors or is not made compatible with recent firmwares.

E.g. If it is written for firmwares 3.x or 4.x it will not work on firmware 5 by default
member of the Toon Software Collective
justsomeguy
Starting Member
Starting Member
Posts: 3
Joined: Sat Feb 23, 2019 5:10 pm

Re: Toon app: DomoticzBoard

Post by justsomeguy »

But the code from DomoticzBoard is in 5.0.4 format? If not, can somebody give me DomoticzBoard in 5.0.4. format?
Toonz
Forum Moderator
Forum Moderator
Posts: 1873
Joined: Mon Dec 19, 2016 1:58 pm

Re: Toon app: DomoticzBoard

Post by Toonz »

justsomeguy wrote:But the code from DomoticzBoard is in 5.0.4 format? If not, can somebody give me DomoticzBoard in 5.0.4. format?
you can run this script in 5.0.4 to convert older apps. Note that images are now taking from the resource files and not from the drawables folder anymore.

Code: Select all

for i in `find /qmf/qml/apps -name "*.qml"` 
do
 sed -i 's/QtQuick 1/QtQuick 2/' $i		#change to QtQuick 2.1
 sed -i '/import Effects 1.0/d' $i		#remove effects module - can break the qml if it uses it
 sed -i 's/"\.\/drawables/"qrc:\/tsc/' $i	#change images location ./drawables/ to qrc:/
 sed -i 's/"drawables/"qrc:\/tsc/' $i		#change images location drawables/ to qrc:/ 
done
and restart the gui...
if it still doesn't show up you will need to check the console output
member of the Toon Software Collective
Blacky's Boss
Starting Member
Starting Member
Posts: 36
Joined: Tue Jul 11, 2017 10:39 am

Re: Toon app: DomoticzBoard

Post by Blacky's Boss »

@TerrorSource: Is there any possibility to make DomoticzBoard 5.0.4-proof and maybe available in ToonStore?
This is the only reason for me to not update Toon.... I love Domoticzboard in all it's simplicity!!
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Toon app: DomoticzBoard

Post by TerrorSource »

Blacky's Boss wrote:@TerrorSource: Is there any possibility to make DomoticzBoard 5.0.4-proof and maybe available in ToonStore?
This is the only reason for me to not update Toon.... I love Domoticzboard in all it's simplicity!!
Well, i created this app as a "quick&dirty" copy-paste app once, didnt thought that so many users are using it :roll:

The code needs to be rebuild from scratch, not just images/lay-out. that's a nice2have while the code is a must.
I have an idea on how it should be but i lack the knowledge to do it and spare in time to learn it.
Blacky's Boss
Starting Member
Starting Member
Posts: 36
Joined: Tue Jul 11, 2017 10:39 am

Re: Toon app: DomoticzBoard

Post by Blacky's Boss »

TerrorSource wrote:i created this app as a "quick&dirty" copy-paste app once
I know :mrgreen: , but it's kind of brilliant, just because of that :mrgreen: :mrgreen:
I have an idea on how it should be but i lack the knowledge to do it and spare in time to learn it.
Maybe Toonz can help out? :roll:
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Toon app: DomoticzBoard

Post by TerrorSource »

Guys, i'm working on an "official" ToonStore release together with Toonz.

1 annoying bug left between the current state and the ToonStore release.

Downloading DomoticzBoard from my github is however NOT supported.
Github is for me to track changes in files, have others see the code and let them place PR's if they want to so the code can be improved.

Please hold on untill an "official" ToonStore release :D
hansgrave
Starting Member
Starting Member
Posts: 49
Joined: Sat Dec 23, 2017 12:42 pm

Re: Toon app: DomoticzBoard

Post by hansgrave »

Good News! I really miss DomoticzBoard since firmware v5...
Homey, rooted Toon 1 and HomeAssistent.
Blacky's Boss
Starting Member
Starting Member
Posts: 36
Joined: Tue Jul 11, 2017 10:39 am

Re: Toon app: DomoticzBoard

Post by Blacky's Boss »

I see my earlier post has been deleted. I'm sorry. I Just wanted to say thanks for doing this. Much appreciated!
marcelr
Global Moderator
Global Moderator
Posts: 1153
Joined: Thu May 10, 2012 10:58 pm
Location: Ehv

Re: Toon app: DomoticzBoard

Post by marcelr »

I did that. It's not a dating site ;-)
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Toon app: DomoticzBoard

Post by TerrorSource »

Version 1.0.0 of DomoticzBoard was released in the Toonstore a few minutes ago.

Changes since the last version are a lot, here's a sum-up:
- configurable ip/poort/switches
- maximum 5 switches, if you set idx value at "0" it will no longer show a unused button.
- scene1-5 is automatically retreived from Domoticz, only the used one's are shown
- a lot of code was removed

Please refresh the ToonStore and give it a try. There are a few things we have in mind to improve it but that's for long-term. It's working now, that's all that matters :D
hansgrave
Starting Member
Starting Member
Posts: 49
Joined: Sat Dec 23, 2017 12:42 pm

Re: Toon app: DomoticzBoard

Post by hansgrave »

Nice work, thanx for your effort.

I installed the app, filld in the IP, port and idx but it did't work. I can see 5 grey buttons wihthout text.

Greetz Hans
Homey, rooted Toon 1 and HomeAssistent.
Blacky's Boss
Starting Member
Starting Member
Posts: 36
Joined: Tue Jul 11, 2017 10:39 am

Re: Toon app: DomoticzBoard

Post by Blacky's Boss »

Mine works! This is Nice!
TerrorSource
Administrator
Administrator
Posts: 494
Joined: Thu May 04, 2017 9:28 pm

Re: Toon app: DomoticzBoard

Post by TerrorSource »

hansgrave wrote:Nice work, thanx for your effort.

I installed the app, filld in the IP, port and idx but it did't work. I can see 5 grey buttons wihthout text.

Greetz Hans
Do you have username/password set up in Domoticz?
The app will check the status/name of each idx/scene every 10 secondes so that can be the case too.
Post Reply

Return to “Toon Apps”