Dashticz - General Discussions

Dashticz, alternative dashboard based on HTML, CSS, jQuery

Moderators: leecollings, htilburgs, robgeerts

Locked
User avatar
DewGew
Posts: 579
Joined: Thursday 21 April 2016 12:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V4.10618
Location: Sweden
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by DewGew »

Updated swedish langauage file for last update 2017-04-20
Attachments
sv_SE.zip
(690 Bytes) Downloaded 44 times
Raspberry Pi 3 | domoticz | Aeon Labs Z-Stick GEN5 | RFlink gateway
NanoPi NEO-air | REGO6XX interface | Machinon theme | Homebridge | Domoticz Google Assistant | ideAlarm
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by EdwinK »

mlamie wrote: I use Chrome (full screen) on my Nexus 7 tablet. If you select add to home screen in the Chrome menu, a shortcut will be created, via this shortcut the address bar is not given. Secondly I use Power Toggles and enable Immersive mode which will hide the Android top bar and on screen buttons.
I do have a Nexus 7 (old model) somewhere. Now, let's look that up and see if it still works.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

freakshock wrote: No errors unfortunately.. only this output but I think that's not related to this problem:

Code: Select all

index.html#1:8 Error parsing a meta element's content: ';' is not a valid key-value pair separator. Please use ',' instead.
jquery.min.js:4 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/.
In console, there's a network-tab.
If you click on the block wich opens the graph, you can see it calls an url... If you click on it, you see the output, what does it say?


whiteduck wrote: In the attachment Chrome is on the left and while the available browser window size is different due to the headers I notice in Safari (on the right) I lose the bottom of the window and cannot scroll down to see it - looks like the window size is not being correctly picked up. Not a major issue but just wanted to let you know.
\

Well, the dashboard doesnt fit everything on the screen automatically..
You have to rearrange this to fit your screen on the device you will be using mainly.
Scrolling has been disabled because this conflicts with the slide function.


bierlaagh wrote: I have an UV meter, which gives the following output:
...
what do i have to change to replace On/off to the output (0.0 in this case)
Try latest version!


DewGew wrote:Updated swedish langauage file for last update 2017-04-20
Thanks, updated in latest version!
User avatar
gielie
Posts: 290
Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by gielie »

Hi Rob,

Is there a problem with the "news" button, RSS feed?
I also created a second news item

Code: Select all

 blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.feedburner.com/tweakers/nieuws';
But this doesn't work either.

Is this a common thing or local?
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
User avatar
htilburgs
Posts: 464
Joined: Tuesday 03 November 2015 11:01
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by htilburgs »

gielie wrote:Hi Rob,

Is there a problem with the "news" button, RSS feed?
I also created a second news item

Code: Select all

 blocks['news_2'] = {}
blocks['news_2']['feed'] = 'http://feeds.feedburner.com/tweakers/nieuws';
But this doesn't work either.

Is this a common thing or local?
See the several questions about the same in the previous posts, with al the same answer.
Also noted on the Dashticz v2.0 wiki (http://www.domoticz.com/wiki/Dashticz-v ... Parameters)

REMARK: In some cases the Newsfeed wouldn't load and you get NO results.
You have to put https://crossorigin.me/ before the newsfeed-url, like:

Code: Select all

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'https://crossorigin.me/http://feeds.feedburner.com/tweakers/nieuws';
You only have to add it when news doesnt load. Some news sites are giving errors otherwise!
Hardware:
RPi3 - Aeon Labs Z-Stick GEN5 - Fibaro Dimmer 2 - Fibaro Roller Shutter 2 - Fibaro Smoke Sensor - Yeelight RGBW Led bulb - Yeelight Smart LED Light Strip - Neo Coolcam PIR Motion Sensor - Neo Coolcam PowerPlug - Nest Thermostat v3
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by Nautilus »

As this is already buried several pages back I'll post it again here in the hopes of getting feedback :)

1. I noticed the iframe block only grows in width (like the other blocks) where as to be able to fill the block nicely it would also need to grow in height - like for example the web camera block. Is this perhaps something that could be achieved with the custom.css or do you think it might be a good idea to implement this kind of behavior as default? I assume most use cases would benefit form this as otherwise the ratio of the block changes which (in most cases?) makes the iframe source look a bit funny.

2. When trying to fit stuff on my old (wall-mounted) iPad 2 I was thinking the "currentweather_big" takes a bit too much space. What would be the best way to make this a somewhat smaller, some custom.css approach perhaps?
User avatar
gielie
Posts: 290
Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by gielie »

htilburgs wrote: See the several questions about the same in the previous posts, with al the same answer.
I see it now, sorry for the double question.
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
DarkAllMan
Posts: 52
Joined: Friday 23 December 2016 9:41
Target OS: Linux
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by DarkAllMan »

I want to create a custom screen. How do I add the Scene Switches?
User avatar
HansieNL
Posts: 957
Joined: Monday 28 September 2015 15:13
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by HansieNL »

DarkAllMan wrote:I want to create a custom screen. How do I add the Scene Switches?
It is possible to add the idx for scenes AND groups as:
s1, so for example, to add a scene or group with idx 1 and a lamp with idx 1:

columns[1]['blocks'] = ['s1',1]
Blah blah blah
maluko
Posts: 105
Joined: Sunday 02 February 2014 23:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Portugal
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by maluko »

HansieNL wrote:
DarkAllMan wrote:I want to create a custom screen. How do I add the Scene Switches?
It is possible to add the idx for scenes AND groups as:
s1, so for example, to add a scene or group with idx 1 and a lamp with idx 1:

columns[1]['blocks'] = ['s1',1]

Before you have to declare the scene in block

Code: Select all

var blocks = {}
 
blocks['s1'] = {}
blocks['s1]['width'] = 4; //1 to 12, remove this line if you want to use the default (4)
blocks['s1']['title'] = 'Living room' //if you want change the name of switch different then domoticz
blocks['s1']['icon'] = 'fa-eye'; //if you want an other icon instead of the default, choose from: http://fontawesome.io/cheatsheet/
blocks['s1']['image'] = 'bulb_off.png'; //if you want to show an image instead if icon, place image in img/ folder
see the wiki

Code: Select all

http://www.domoticz.com/wiki/Dashticz-v2
User avatar
rbisschops
Posts: 63
Joined: Monday 12 May 2014 11:20
Target OS: Raspberry Pi / ODroid
Domoticz version: 2.2563
Location: Schiedam, Netherlands
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by rbisschops »

@robgeerts:
Herewith some bugs and observations I noticed on the latest version (downoad at 19:15 today).
Bug: The new screen button has a little deviation in the selection on the + button. Only a part of the button is clicable (possibly some css error with margin or padding?)

Observation: The graph for gas and electricity are showing the value in the header as 1.650 m3 and 7.585 kWh). This should be coma seperated. Gas should be annotated as 1,650 m3. I know Domoticz is also not using localisation, so the problem might be comming from Domoticz

Obeservation/bug: graphs are showing a different annotation when hovered over the datapoints. E is using 0,0 and G 0.0. Water in my case is completely of. Should be in Liters (as is the header), now showing liters/1000. Might be that this is best set as a config item for the various types of water measurement.

Thanks again,

Ralph
RPi 3B (master): RFXtrx433, Harmony Hub, Z-Wave devices, CoCo units, Hue, Xiaomi Aquara
RPi 2B (slave): P1 connection, MySensors with custom built watermeter sensors on Aquadis+
RPi’s with: Mosquitto MQTT, Home Bridge, Home Assistant (for evaluation only)
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by madrian »

Rob, do you know what causes this? Can we except a bugfix?

+I think whole bug reporting would be easier to follow if you migrate the project to GitHub and we can use GitHub's Issues page.
Last edited by madrian on Friday 21 April 2017 20:27, edited 1 time in total.
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

Will check some things tonight or tomorrow. @madrian, the bug is caused by your scriot when having more then 1 thermostats. I can look into this.
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by madrian »

robgeerts wrote:Will check some things tonight or tomorrow. @madrian, the bug is caused by your scriot when having more then 1 thermostats. I can look into this.
Ahh thanks! :)

And what about the graphical issue? The corners of the buttons are not clickable + icons are flashing. In original submit they functioned properly, but your buttons are much nicer.

+look what I found:
Screen Shot 2017-04-21 at 20.32.46.png
Screen Shot 2017-04-21 at 20.32.46.png (42.39 KiB) Viewed 1845 times
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by madrian »

Combined device idea (Temp+Hum+Baro):
Screen Shot 2017-04-21 at 21.50.04.png
Screen Shot 2017-04-21 at 21.50.04.png (34.95 KiB) Viewed 1828 times
We should show combined blocks with a _combined suffix, example:

columns[4]['blocks'] = ['blocktitle_2',48,'24_combined'].

What do you think?
User avatar
EdwinK
Posts: 1820
Joined: Sunday 22 January 2017 21:46
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by EdwinK »

If that is possible, that would be great for some devices
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
User avatar
mvveelen
Posts: 678
Joined: Friday 31 October 2014 10:22
Target OS: NAS (Synology & others)
Domoticz version: Beta
Location: Hoorn, The Netherlands
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by mvveelen »

Finally I managed to get some switches on the screen. I'm far from finished and I have some questions:

- whatever I try, I don't get the RSS news feed
- somehow the city 'Hoorn' isn't recognised. Hence I didn't get any weather info, so I'll pick a city nearby (...)
- How can I change every single switch-name when I have:

Code: Select all

var blocks = {}
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Schakelaars';

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'https://crossorigin.me/http://feeds.feedburner.com/tweakers/nieuws';

var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1','s1','s2',15,507,508,509,547,778,779,1179,1186,1461,1475,1529,1571,1815,2178,2179]
columns[1]['width'] = 5;
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

madrian wrote: And what about the graphical issue? The corners of the buttons are not clickable + icons are flashing. In original submit they functioned properly, but your buttons are much nicer.
They are not flashing at my dashboard...
Anyone else with this problem? Maybe its because it is reloading the block every x seconds...


madrian wrote: +look what I found:

Screen Shot 2017-04-21 at 20.32.46.png
Will fix asap!


madrian wrote:Combined device idea (Temp+Hum+Baro):
Screen Shot 2017-04-21 at 21.50.04.png
We should show combined blocks with a _combined suffix, example:
columns[4]['blocks'] = ['blocktitle_2',48,'24_combined'].
It's nice but I dont think it fits well for smaller screens... ?

mvveelen wrote: - whatever I try, I don't get the RSS news feed
- somehow the city 'Hoorn' isn't recognised. Hence I didn't get any weather info, so I'll pick a city nearby (...)
- How can I change every single switch-name when I have

Code: Select all

var blocks = {}
blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Schakelaars';

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'https://crossorigin.me/http://feeds.feedburner.com/tweakers/nieuws';

var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1','s1','s2',15,507,508,509,547,778,779,1179,1186,1461,1475,1529,1571,1815,2178,2179]
columns[1]['width'] = 5;
You have to add 'news_2' to the block-definitions like:

Code: Select all

columns[1]['blocks'] = ['blocktitle_1','news_2','s1','s2',15,507,508,509,547,778,779,1179,1186,1461,1475,1529,1571,1815,2178,2179]
To change titles (for example device with number 15, add this code, just below var blocks = {}

Code: Select all

blocks[15] = {}
blocks[15]['title'] = 'Vet Dashboard';
So, full example would be:

Code: Select all

var blocks = {}
blocks[15] = {}
blocks[15]['title'] = 'Vet Dashboard';

blocks['blocktitle_1'] = {}
blocks['blocktitle_1']['type'] = 'blocktitle';
blocks['blocktitle_1']['title'] = 'Schakelaars';

blocks['news_2'] = {}
blocks['news_2']['feed'] = 'https://crossorigin.me/http://feeds.feedburner.com/tweakers/nieuws';

var columns = {}
columns[1] = {}
columns[1]['blocks'] = ['blocktitle_1','news_2','s1','s2',15,507,508,509,547,778,779,1179,1186,1461,1475,1529,1571,1815,2178,2179]
columns[1]['width'] = 5;
All this can also be found in the wiki :)
robgeerts
Posts: 1273
Joined: Saturday 24 January 2015 22:12
Target OS: NAS (Synology & others)
Domoticz version: 3.7067
Location: NL
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by robgeerts »

Nautilus wrote:As this is already buried several pages back I'll post it again here in the hopes of getting feedback :)

1. I noticed the iframe block only grows in width (like the other blocks) where as to be able to fill the block nicely it would also need to grow in height - like for example the web camera block. Is this perhaps something that could be achieved with the custom.css or do you think it might be a good idea to implement this kind of behavior as default? I assume most use cases would benefit form this as otherwise the ratio of the block changes which (in most cases?) makes the iframe source look a bit funny.

2. When trying to fit stuff on my old (wall-mounted) iPad 2 I was thinking the "currentweather_big" takes a bit too much space. What would be the best way to make this a somewhat smaller, some custom.css approach perhaps?
Added to my todolist at:
https://trello.com/b/qsNqHtie/dashboard
madrian
Posts: 231
Joined: Saturday 27 August 2016 1:18
Target OS: -
Domoticz version:
Contact:

Re: Dashticz v2.0, custom positioning and multiple screens

Post by madrian »

Just submitted a cosmetic bugfix: change switch's title/status position as it is for all other devices (first is status, second row is title).


Rob: maybe you are right, I am always thinking in tablet screen. Maybe we should create a poll about screen sizes? :)
Locked

Who is online

Users browsing this forum: No registered users and 1 guest