Page 4 of 18

Re: Toon app: DomoticzBoard

Posted: Sat Feb 23, 2019 5:14 pm
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!

Re: Toon app: DomoticzBoard

Posted: Sat Feb 23, 2019 8:44 pm
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

Re: Toon app: DomoticzBoard

Posted: Sun Feb 24, 2019 10:55 am
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?

Re: Toon app: DomoticzBoard

Posted: Sun Feb 24, 2019 11:43 am
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

Re: Toon app: DomoticzBoard

Posted: Thu Mar 07, 2019 10:11 pm
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!!

Re: Toon app: DomoticzBoard

Posted: Thu Mar 07, 2019 10:18 pm
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.

Re: Toon app: DomoticzBoard

Posted: Fri Mar 08, 2019 8:40 am
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:

Re: Toon app: DomoticzBoard

Posted: Fri May 17, 2019 2:32 pm
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

Re: Toon app: DomoticzBoard

Posted: Fri May 17, 2019 8:22 pm
by hansgrave
Good News! I really miss DomoticzBoard since firmware v5...

Re: Toon app: DomoticzBoard

Posted: Fri May 17, 2019 9:00 pm
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!

Re: Toon app: DomoticzBoard

Posted: Fri May 17, 2019 10:44 pm
by marcelr
I did that. It's not a dating site ;-)

Re: Toon app: DomoticzBoard

Posted: Wed May 22, 2019 7:41 am
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

Re: Toon app: DomoticzBoard

Posted: Wed May 22, 2019 8:20 am
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

Re: Toon app: DomoticzBoard

Posted: Wed May 22, 2019 8:23 am
by Blacky's Boss
Mine works! This is Nice!

Re: Toon app: DomoticzBoard

Posted: Wed May 22, 2019 9:27 am
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.