Dashticz v3.9.6 Beta

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Dashticz v3.9.6 Beta

Post by Lokonli »

A new Dashticz release.

In the Domoticz versions since October 2022 approximately, the behavior of the Open/Close commands for blinds was changed.

This version makes Dashtics consistent with the new Domoticz behavior, while maintaining backwards compatibility with older Domoticz versions.

For release notes see:
https://dashticz.readthedocs.io/en/beta ... 18-10-2022
ksacca
Posts: 80
Joined: Thursday 31 May 2018 21:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.9.6 Beta

Post by ksacca »

Thanks a lot for this, really appreciate your dedication towards this project. I will try it asap.
This was actually one of the last things (together with homebridge) that held me back to switch my test environment to production.
ksacca
Posts: 80
Joined: Thursday 31 May 2018 21:49
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.9.6 Beta

Post by ksacca »

Hi Lokonli,

Just tested with an older version of domoticz (OK) and a recent version where the behavior of blinds has changed. At first, I had to press the down button to open blinds and up to close the blinds. I noticed a tested with a beta version before 14560.
The behavior of blinds actually changed in 14542, so the latest version with old blinds is 14535.

I replaced this code in switches.js

Code: Select all

var asOn=domoBuild>14560?true:false;
by

Code: Select all

var asOn=domoBuild>14535?true:false;
And then it worked perfectly! It's not really a big deal and you don't have to change this, but just wanted to let you know.

Also gizmocus mentioned it would be better to use the commands Open and Close for blinds instead of On and Off. See https://github.com/domoticz/domoticz/is ... 1282466295. I suppose it's to be future proof. I know changing this would break backwards compatibility, but it would be good to keep this in mind for the future.

And again, thank you for these changes.
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.9.6 Beta

Post by Lokonli »

Thanks for testing! I'll change the version number of the start of new behavior.
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.9.6 Beta

Post by HansieNL »

After update to beta 3.9.6 I get the following error message on my iPad: Can't find variable: initVersion and Dashticz will not load.
Beta version 3.9.5 works without a problem.
@Lokonli : Any idea how to solve this problem
Blah blah blah
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz v3.9.6 Beta

Post by madpatrick »

HansieNL wrote: Sunday 23 October 2022 14:39 After update to beta 3.9.6 I get the following error message on my iPad: Can't find variable: initVersion and Dashticz will not load.
Beta version 3.9.5 works without a problem.
@Lokonli : Any idea how to solve this problem
same problem with an iPad.
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
geertvercamer
Posts: 84
Joined: Friday 12 May 2017 20:03
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v3.9.6 Beta

Post by geertvercamer »

some devices don't render properly anymore.
Schermafbeelding 2022-11-03 142735.png
Schermafbeelding 2022-11-03 142735.png (151.76 KiB) Viewed 1644 times
should look like
Schermafbeelding 2022-11-03 142919.png
Schermafbeelding 2022-11-03 142919.png (82.15 KiB) Viewed 1644 times
These are 'selector' switches in Domoticz for MELCloud (Mitshubishi AirCo), but the same problem with selector on Dummy hardware
User avatar
HansieNL
Posts: 964
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.9.6 Beta

Post by HansieNL »

Can you try to load the page in private mode and see if you still have the problem?
If you don't have the problem in private mode you have to clear the cache of your browser.
Blah blah blah
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz v3.9.6 Beta

Post by madpatrick »

I'm havinf the same problem after the last update.
In private mode it is the same
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.9.6 Beta

Post by Lokonli »

That's strange.
From a certain Domoticz version onwards the switch levels became encoded. The version detection doesn't seem to work correctly anymore.

What is the exact Domoticz version as reported in Dashticz?
(click on the Cog icon in the upper right of the Dashticz window, then on info tab)

Do you also have this problem with a Windows browser?
If yes, can you open DevTools (press F12), refresh Dashticz. Are there any errors reported on the Console tab of DevTools?
geertvercamer
Posts: 84
Joined: Friday 12 May 2017 20:03
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v3.9.6 Beta

Post by geertvercamer »

Yes, I did clean the cash.

Dashticz 3.9.6.1 beta reports Domoticz version 2022.1

Tried Edge, Chrome, Brave browsers on W10, all the same
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz v3.9.6 Beta

Post by madpatrick »

I've have it on every device/
Windows/Iphone/Android
Running Domoticz 2022.1 stable and this also reported by Dashticz

When i press F12 i see these error.
No clue if is related

Code: Select all

Uncaught TypeError: Cannot read properties of null (reading '1')
    at Object.success (version.js:104:72)
    at fire (bundle.js?t=49:309:27086)
    at Object.fireWith [as resolveWith] (bundle.js?t=49:309:27891)
    at done (bundle.js?t=49:309:84932)
    at XMLHttpRequest.<anonymous> (bundle.js?t=49:309:87586)
domoticz-api.js:122 Setting up websocket
domoticz-api.js:187 [open] Connection established
css2:1          Failed to load resource: the server responded with a status of 400 ()
DevTools failed to load source map: Could not load content for chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND
DevTools failed to load source map: Could not load content for http://192.168.1.1:9000/html/js/vue-virtual-scroller.min.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
css2:1          Failed to load resource: the server responded with a status of 400 ()
DevTools failed to load source map: Could not load content for http://dashticz.pdebrabander.nl/css/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
geertvercamer
Posts: 84
Joined: Friday 12 May 2017 20:03
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v3.9.6 Beta

Post by geertvercamer »

more or less the same as @madpatrick.

Code: Select all

The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page.
(anonymous) @ bundle.js?t=50:349                                                                     bundle.js?t=50:349

        
Uncaught TypeError: Cannot read properties of null (reading '1')                                         version.js:104 
    at Object.success (version.js:104:72)
    at fire (bundle.js?t=50:309:27086)
    at Object.fireWith [as resolveWith] (bundle.js?t=50:309:27891)
    at done (bundle.js?t=50:309:84932)
    at XMLHttpRequest.<anonymous> (bundle.js?t=50:309:87586)
Setting up websocket                                                                                domoticz-api.js:122
[open] Connection established                                                                       domoticz-api.js:187
websocket closed before first update.                                                               domoticz-api.js:249
DevTools failed to load source map: Could not load content for http://192.168.1.13/dashticz-beta/css/bootstrap.min.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Lokonli
Posts: 2290
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v3.9.6 Beta

Post by Lokonli »

Thanks!

I think I've found, and fixed, this bug.

Can you test latest beta?

Update with:

Code: Select all

git checkout beta
git pull
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz v3.9.6 Beta

Post by madpatrick »

Yes !
It is working again.
Thanks for the quick fix
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
User avatar
Sjonnie2017
Posts: 365
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Dashticz v3.9.6 Beta

Post by Sjonnie2017 »

Weirdest thing! I am having a problem showing my dashboard in FireFox on Linux since I updated to 2022.2. Using the latest beta for Dashticz. Cleared browser cache and data for the site but no luck. Works OK in Private session and on other machines with (for instance) Chromium. Rebooted the machine but nothing changed.

This is what I see in a regular Firefox browser session:

Image

This is how it is supposed to look (in this case a Private Session in Firefox):

Image

Does this have anything to do with the graphs? I have multiple dashboards (phone, tablet, desktop) but I only use graphs on the desktop dashboard. The other dashboards work fine.
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
geertvercamer
Posts: 84
Joined: Friday 12 May 2017 20:03
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v3.9.6 Beta

Post by geertvercamer »

madpatrick wrote: Saturday 05 November 2022 14:43 Yes !
It is working again.
Thanks for the quick fix
Confirmed.
Thanks!
User avatar
Sjonnie2017
Posts: 365
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Dashticz v3.9.6 Beta

Post by Sjonnie2017 »

Silly question I am sure but I can't really find the answer to how I switch from main branch to beta (or back). I need to switch to beta to see if I can get my weather forecast back based on KNMI this time.

Hope someone will be able to shed some light ;-)
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
User avatar
madpatrick
Posts: 667
Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2025.1
Location: Netherlands
Contact:

Re: Dashticz v3.9.6 Beta

Post by madpatrick »

Git checkout beta
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2025.1 -=- Dashticz v3.14b on Tab8" =-
User avatar
Sjonnie2017
Posts: 365
Joined: Wednesday 02 August 2017 19:43
Target OS: Linux
Domoticz version: Latest ß
Location: The Netherlands
Contact:

Re: Dashticz v3.9.6 Beta

Post by Sjonnie2017 »

I tried that but I got his:

Code: Select all

Sjonnie2017@docker:~/dev/dashticz$ git checkout beta
error: Your local changes to the following files would be overwritten by checkout:
	.vscode/settings.json
	css/creative.css
	dist/assets/fonts/fa-brands-400.ttf
	dist/assets/fonts/fa-brands-400.woff2
	dist/assets/fonts/fa-regular-400.ttf
	dist/assets/fonts/fa-regular-400.woff2
	dist/assets/fonts/fa-solid-900.ttf
	dist/assets/fonts/fa-solid-900.woff2
	dist/bundle.js
	docs/blocks/domoticzblocks.rst
	docs/blocks/specials/dial.rst
	docs/blocks/specials/garbage.rst
	docs/blocks/specials/publictransport.rst
	docs/customjs/customjs.rst
	docs/gettingstarted/manualinstall.rst
	docs/releasenotes/releasenotes.rst
	index.html
	index2.html
	js/colorpicker.js
	js/components/calendar.js
	js/components/dial.js
	js/components/frame.js
	js/components/garbage.js
	js/components/graph.js
	js/components/news.js
	js/components/publictransport.js
	js/components/simpleblock.js
	js/dashticz.js
	js/domoticz-api.js
	js/dt_function.js
	js/main.js
	js/settings.js
	js/switches.js
	js/version.js
	lang/bs_BA.json
	lang/ca_ES.json
	lang/cs_CZ.json
	lang/da_DK.json
	lang/de_DE.json
	lang/en_US.json
	lang/es_ES.json
	lang/fi_FI.json
	lang/fr_FR.json
	lang/hu_HU.json
	lang/it_IT.json
	lang/ja_JP.json
	lang/lt_LT.json
	lang/nb_NO.json
	lang/nl_NL.json
	lang/nn_NO.json
	lang/pl_PL.json
	lang/pt_PT.json
	lang/ro_RO.json
	lang/ru_RU.json
	lang/sk_SK.json
	lang/sr_RS.json
	lang/sv_SE.json
	lang/tr_TR.json
	lang/uk_UA.json
	lang/zh_CN.json
	package-lock.json
	package.json
	src/index.js
	tpl/calendar_0.tpl
	tpl/calendar_1.tpl
	tpl/pubtrans_treinen.tpl
	vendor/dashticz/garbage/index.php
	vendor/dashticz/ical/composer.json
	vendor/dashticz/ical/composer.lock
	vendor/dashticz/ical/index.php
	vendor/dashticz/ical/vendor/composer/autoload_namespaces.php
	vendor/dashticz/ical/vendor/composer/autoload_static.php
	vendor/dashticz/ical/vendor/composer/installed.json
	version.txt
Please commit your changes or stash them before you switch branches.
Aborting
I didn't make all that much changes ;)
ConBee II - TRÅDFRI lights + switches, loads of ChingLing dimmers and switches, Heiman and Xiaomi sensors
SolarEdge SE4000H (with active modbus_tcp)
YouLess Energy meter
Shelly 2.5 in roller shutter mode
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest