Dashticz, alternative dashboard based on HTML, CSS, jQuery
Moderators: leecollings , htilburgs , robgeerts
Lokonli
Posts: 2287 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Thursday 31 December 2020 19:03
and can you post the output of:
red73390
Posts: 16 Joined: Wednesday 30 December 2020 13:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: Belgium
Contact:
Post
by red73390 » Thursday 31 December 2020 19:36
Lokonli wrote: ↑ Thursday 31 December 2020 19:03
and can you post the output of:
Extract of the config.js
Spoiler: show var config = {}
config['language'] = 'fr_FR'; //or: en_US, de_DE, fr_FR, hu_HU, it_IT, pt_PT, sv_SE
config['domoticz_ip'] = 'https://192.168.0.54:443 ';
config['app_title'] = 'Domotique';
config['domoticz_refresh'] = '5';
config['dashticz_refresh'] = '60';
config['use_favorites'] = 0; //Request all Domoticz Devices, not only favorites
config['auto_positioning'] = 0; // Use 0 this if you have defined your own columns
config['selector_instead_of_buttons'] = 1;
config['default_news_url'] = 'https://www.lalibre.be/rss.xml ';
config['calendarlanguage'] = 'fr_FR';
config['auto_swipe_back_to'] = 1;
config['auto_swipe_back_after'] = '600';
config['batteryThreshold'] = 256;
Git Log.
Spoiler: show dashticz $ git log --oneline
33fc76e (HEAD -> beta, origin/beta) Merge pull request #731 from lokonli/batteryLevel
946bcca battery level
bf81581 Merge pull request #730 from lokonli/index2
dd29e29 Update index2.html as well
d91342d Merge pull request #729 from lokonli/fixDoc
75b41d7 Fix update instructions
cd4f3a6 Merge pull request #728 from lokonli/agendaEmpty
3486e27 Calendar: agenda-empty class
b93bfcb Merge pull request #727 from lokonli/v3.7.2-beta
e354ad0 Security panel parameters
11821e9 Merge branch 'popups' into gitignore
234b73d 3.7.2-beta
59b00db Untrack files in custom and custom_2
d4e5e96 popup css changes
95b7750 Merge pull request #726 from HansieNL/patch-1
821fb6b Update clock.rst
23491c1 Merge pull request #725 from lokonli/graphAxis
efb8328 Graph: parameters axisLeft, axisAlternating
694ba5a Merge pull request #724 from lokonli/flipclock
735ad81 Flipclock showseconds and clockface
ee5d986 Merge pull request #722 from lokonli/colorpickerWhites
bb9ed4b Colorpicker warm/cold white improvements
Lokonli
Posts: 2287 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Thursday 31 December 2020 19:48
That all looks fine.
Can you open Devtools in Chrome by pressing F12. Refresh Dashticz. Do you see any error in the Devtools console tab?
Sent from my SM-A320FL using Tapatalk
red73390
Posts: 16 Joined: Wednesday 30 December 2020 13:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: Belgium
Contact:
Post
by red73390 » Thursday 31 December 2020 20:06
Lokonli wrote: ↑ Thursday 31 December 2020 19:48
That all looks fine.
Can you open Devtools in Chrome by pressing F12. Refresh Dashticz. Do you see any error in the Devtools console tab?
Sent from my SM-A320FL using Tapatalk
Spoiler: show
bundle.js?t=9:349 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page.
bundle.js?t=9:309 GET http://192.168.0.54:8082/custom/custom. ... 9441258830 404 (Not Found)
js/main.js:347 No valid custom css file: custom/custom.css. Skipping.
bundle.js?t=9:309 HEAD http://192.168.0.54:8082/custom/custom. ... 9441258830 404 (Not Found)
bundle.js?t=9:309 [Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/ .
I can see 2 errors and 2 warnings.
Lokonli
Posts: 2287 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Thursday 31 December 2020 20:09
Ok, those are no problem.
Sent from my SM-A320FL using Tapatalk
michelscholte
Posts: 75 Joined: Friday 08 January 2016 10:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:
Post
by michelscholte » Friday 01 January 2021 12:35
Many thanks for implementing.
I've tested it, but to show the batterylevel I had to remove the "z-index: -1" within my "Devtools in Chrome" or change it to "z-index: 1". Am I doing something wrong?
Lokonli
Posts: 2287 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Friday 01 January 2021 14:31
michelscholte wrote: ↑ Friday 01 January 2021 12:35
Many thanks for implementing.
I've tested it, but to show the batterylevel I had to remove the "z-index: -1" within my "Devtools in Chrome". Am I doing soething wrong?
Great that you found that!
Might be the same issue as @red73390 is experiencing.
I've made a fix in latest beta. Could you test? Update with 'git pull'
michelscholte
Posts: 75 Joined: Friday 08 January 2016 10:02
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Nederland
Contact:
Post
by michelscholte » Friday 01 January 2021 14:46
After updating to the latest beta I can see the batterylevel without changing anything,
Thank you.
red73390
Posts: 16 Joined: Wednesday 30 December 2020 13:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.1
Location: Belgium
Contact:
Post
by red73390 » Friday 01 January 2021 23:08
Here also, after the update I have all the batery item.
Lokonli
Posts: 2287 Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:
Post
by Lokonli » Friday 01 January 2021 23:48
Great!
Sent from my SM-A320FL using Tapatalk
madpatrick
Posts: 659 Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:
Post
by madpatrick » Saturday 02 January 2021 12:02
Is it possible to move the icon a little bit to the left ?
I've tried padding-left and margin-left, but this had no effect
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
lzwfkv
Posts: 37 Joined: Sunday 11 August 2019 16:54
Target OS: -
Domoticz version:
Contact:
Post
by lzwfkv » Sunday 03 January 2021 7:35
madpatrick wrote: ↑ Saturday 02 January 2021 12:02
Is it possible to move the icon a little bit to the left ?
I've tried padding-left and margin-left, but this had no effect
The right margins (or padding) should be increased, try with:
Code: Select all
.battery-level {
margin-right: 10px;
}
madpatrick
Posts: 659 Joined: Monday 26 December 2016 12:17
Target OS: Linux
Domoticz version: 2024.7
Location: Netherlands
Contact:
Post
by madpatrick » Sunday 03 January 2021 9:41
Thanks !
Code: Select all
.battery-level {margin-right: 10px !important}
I needed to add also !important to get it work
-= HP server GEN11 =- OZW -=- Toon2 (rooted) -=- Domoticz v2024.7 -=- Dashticz v3.14b on Tab8" =-
Users browsing this forum: No registered users and 1 guest