Page 16 of 18

Re: Toon app: DomoticzBoard

Posted: Sun Jan 29, 2023 5:28 pm
by Toonz
not sure if you have access to your Toon, but you can try the following:

Update all occurrences of 'http://' into 'https://' in the following two files:

/qmf/qml/apps/domoticzboard-1.1.13/DomoticzboardApp.qml
/qmf/qml/apps/domoticzboard-1.1.13/DomoticzboardScreen.qml


save the files and restart the gui (menu, instellingen, TSC, Restart Gui).

Kind regardz,

Toonz

Re: Toon app: DomoticzBoard

Posted: Tue Mar 28, 2023 8:20 pm
by ZH92
Hello Toonz,

I am a satisfied user of domoticzboard. unfortunately I also have the problem that after the last update 2023. Toon no longer works, or better said Domoticzboard.
Now I can log into the rooted toon using SSH. But can't change the files.. tried with vi. then I get into the file, but with which command do I save the file (perhaps a stupid question, but ctrl+O, etc does not work).

Thank you in advance!

Re: Toon app: DomoticzBoard

Posted: Thu Mar 30, 2023 10:54 am
by Toonz
To save a file in Vim / vi, press Esc key, type :w and hit Enter key

Re: Toon app: DomoticzBoard

Posted: Tue Sep 19, 2023 8:34 pm
by PeJeWe
after domoticz update i get every minute a error in the domoticz log:

Code: Select all

[WebServer] Deprecated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command! (192.168.IP_toon)
DomoticzBoard is now making a wrong api call to domoticz

Re: Toon app: DomoticzBoard

Posted: Tue Sep 19, 2023 9:01 pm
by Toonz
I am not running Domoticz anymore myself. Not sure if anyone is maintaining this app actually.
You can edit the api calls yourself in the qml files on Toon in /qml/qml/apps/domoticzboard/domoticzboardApp.qml and /qml/qml/apps/domoticzboard/domoticzboardScreen.qml.
Happy to publish the changes in the ToonStore when you're done.

Re: Toon app: DomoticzBoard

Posted: Wed Sep 20, 2023 8:01 pm
by PeJeWe
Toonz wrote: Tue Sep 19, 2023 9:01 pm I am not running Domoticz anymore myself. Not sure if anyone is maintaining this app actually.
You can edit the api calls yourself in the qml files on Toon in /qml/qml/apps/domoticzboard/domoticzboardApp.qml and /qml/qml/apps/domoticzboard/domoticzboardScreen.qml.
Happy to publish the changes in the ToonStore when you're done.
I am not that good programmer to find that particular code and to change it.
would you be so kind to help me with that?

Re: Toon app: DomoticzBoard

Posted: Fri Sep 22, 2023 8:39 am
by Toonz
When I have time I can have a look, also need to setup a raspberry first and install domoticz again....
I cannot commit to any timeline yet.....

Re: Toon app: DomoticzBoard

Posted: Mon Sep 25, 2023 10:07 am
by Xavier
Since the update to 2023.2 version of Domoticz this issue appears as an error in Domoticz log.
This is the error message:

Code: Select all

WebServer] Deprecated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command!
The mentioned IP-address resolves to my 2 Toonsv2.
Enabeling the "API Protection - Allow Basic-Auth authentication over plain HTTP (API only)." option did not fix the issue.

Perhaps also check this topic:
https://www.domoticz.com/forum/viewtopic.php?t=40415

Not really a pain in the ass but would be nice if fixed :)

Re: Toon app: DomoticzBoard

Posted: Tue Sep 26, 2023 12:42 pm
by Toonz
I think the fix is rather easy:

In /qmf/qml/apps/domoticzboard-1.1.13/DomoticzboardApp.qml please change line 266 into:

Code: Select all

		xmlhttp.open("GET", "http://"+connectionPath+"/json.htm?type=command&param=getdevices&filter=all&used=true&order=Name&username=" + Qt.btoa(username) + "&password=" + Qt.btoa(password), true);
This should get rid of the Deprecated messages in the Domoticz log
Let me know if this helps so I can release this in the ToonStore as well.
I have not tested it myself.

Re: Toon app: DomoticzBoard

Posted: Mon Oct 02, 2023 9:36 am
by Xavier
Sorry for the late reaction.
Hereby I can confirm that this fix works.
In Domoticz I don't have the "error" / message anymore.

Thanks Toonz!

Re: Toon app: DomoticzBoard

Posted: Mon Oct 02, 2023 3:23 pm
by Toonz
thanks for letting me know, I will update the app in the ToonStore as well

Re: Toon app: DomoticzBoard

Posted: Sun Dec 03, 2023 2:57 pm
by Xavier
Hi all,

I need some help, since a time (don't know exactly when) none of my blinds are being displayed in the app.
So in Domoticz (v2023.2) I have marked all blinds as "Favorite", in Domoticz Dashbord I can see them.
In the app on Toon I can see all other devices (which are marked as Favorite) except the blinds.

I undid favorite in Domoticz: no result

Any toughts about this?

Re: Toon app: DomoticzBoard

Posted: Sun Dec 03, 2023 3:45 pm
by Toonz
what is the "SwitchType" of your blinds in domoticz?

Re: Toon app: DomoticzBoard

Posted: Mon Dec 04, 2023 11:45 am
by Xavier
it's set to type: "Light/switch, Switch, Blinds + Stop":
Domoticz blinds type.png
Domoticz blinds type.png (17.27 KiB) Viewed 4323 times

Re: Toon app: DomoticzBoard

Posted: Wed Dec 06, 2023 11:32 am
by Toonz
can you share the details of this switch as you get it via the api: <domoticz_IPaddress>/json.htm?type=command&param=getdevices ?