Page 17 of 18

Re: Toon app: DomoticzBoard

Posted: Mon Dec 11, 2023 10:36 am
by Xavier
Sure,

Here's the code:

Code: Select all

		{
			"AddjMulti" : 1.0,
			"AddjMulti2" : 1.0,
			"AddjValue" : 0.0,
			"AddjValue2" : 0.0,
			"BatteryLevel" : 255,
			"CustomImage" : 0,
			"Data" : "Open",
			"Description" : "",
			"DimmerType" : "none",
			"Favorite" : 1,
			"HardwareDisabled" : false,
			"HardwareID" : 14,
			"HardwareName" : "MQTT Auto discovery",
			"HardwareType" : "MQTT Auto Discovery Client Gateway with LAN interface",
			"HardwareTypeVal" : 125,
			"HaveDimmer" : true,
			"HaveGroupCmd" : true,
			"HaveTimeout" : false,
			"ID" : "shellyswitch25-XXXXXXX-roller-0",
			"Image" : "blinds",
			"IsSubDevice" : false,
			"LastUpdate" : "2023-12-11 09:32:53",
			"Level" : 100,
			"LevelInt" : 100,
			"MaxDimLevel" : 100,
			"Name" : "Rolluik keuken",
			"Notifications" : "false",
			"PlanID" : "0",
			"PlanIDs" : 
			[
				0
			],
			"Protected" : false,
			"ReversePosition" : false,
			"ReverseState" : false,
			"ShowNotifications" : true,
			"SignalLevel" : "-",
			"Status" : "Open",
			"StrParam1" : "",
			"StrParam2" : "",
			"SubType" : "Switch",
			"SwitchType" : "Blinds + Stop",
			"SwitchTypeVal" : 21,
			"Timers" : "true",
			"Type" : "Light/Switch",
			"TypeImg" : "blinds",
			"Unit" : 1,
			"Used" : 1,
			"UsedByCamera" : false,
			"XOffset" : "0",
			"YOffset" : "0",
			"idx" : "621"
		},

Re: Toon app: DomoticzBoard

Posted: Mon Dec 11, 2023 10:45 am
by Toonz
got it, will update the app accordingly

Re: Toon app: DomoticzBoard

Posted: Mon Dec 11, 2023 11:31 am
by Xavier
Great, thanks, please notify me when done, then I can test ;)

Re: Toon app: DomoticzBoard

Posted: Mon Dec 11, 2023 12:27 pm
by Toonz
hi,

can you test the attached fix please?
Unzip the attachment and put the file DomoticzboardApp.qml file in the folder /qmf/qml/apps/domoticzboard on Toon and restart the gui.

If it works ok I will release it in the ToonStore as well.

Kind regards,

Toonz

Re: Toon app: DomoticzBoard

Posted: Mon Dec 11, 2023 2:24 pm
by Xavier
Thanks Toonz!

Just tested, it works. Blinds are now visible again in DomoticzBoard.

Re: Toon app: DomoticzBoard

Posted: Mon Dec 11, 2023 2:51 pm
by Toonz
Great! Thanks for the feedback.

Re: Toon app: DomoticzBoard

Posted: Mon Dec 18, 2023 9:58 am
by Xavier
Hi Toonz,

My wife noticed that the blinds are visible again, the issue that I checked, but she noticed this weekend that the blinds are not responsive.
Pressing the button to open or close doesn't work, the blinds do not react.
Any idea about this issue why they do not react?

Re: Toon app: DomoticzBoard

Posted: Mon Dec 18, 2023 8:56 pm
by Toonz
Probably a change in the API, will check the documentation.

EDIT: indeed a change in the API : "Open-Close Blinds (changed behavior from stable 2022.2)........"

Re: Toon app: DomoticzBoard

Posted: Mon Dec 18, 2023 10:02 pm
by Toonz
hi,

can you test the attached fix please?
Unzip the attachment and put the file DomoticzboardScreen.qml file in the folder /qmf/qml/apps/domoticzboard on Toon and restart the gui.
If it works ok I will release it in the ToonStore as well.

P.S. This is exactly why I stopped using Domoticz in the past, most upgrades created issues :D

Kind regards,

Toonz

Re: Toon app: DomoticzBoard

Posted: Tue Dec 19, 2023 10:46 am
by Xavier
Thanks again for your work.
Using the number field (percentage) works but using the slider/switch doesn't work.
Switch on should be 0%
Switch off should be 100%

Re: Toon app: DomoticzBoard

Posted: Tue Dec 19, 2023 4:56 pm
by Toonz
try this one.... on/off should work now

Re: Toon app: DomoticzBoard

Posted: Tue Dec 19, 2023 5:28 pm
by Xavier
just tested but no, still not working.
Ofcourse rebooted Toonv2 after new qml file
Using the numbers/percentage works, on/off button has no reaction.

Re: Toon app: DomoticzBoard

Posted: Tue Dec 19, 2023 6:43 pm
by Toonz
weird, let me send you a version for debugging this later......
Maybe we can connect via Teamviewer so I can see whats happening at your end.
If that's ok with you, drop me a PM

Re: Toon app: DomoticzBoard

Posted: Fri Dec 22, 2023 12:18 pm
by Xavier
I sent you a PM.

Re: Toon app: DomoticzBoard

Posted: Sat Jan 20, 2024 11:30 pm
by Xavier
@Toonz: Any time to have a look at this issue?