SNEAK PREVIEW - New default theme

curious
Posts: 109
Joined: Saturday 02 April 2016 19:38
Target OS: -
Domoticz version:
Contact:

Re: SNEAK PREVIEW - New default theme

Post by curious » Monday 10 July 2017 21:47

blauwebuis wrote:@curcious: could you be a bit more specific?
@domotibart: merging currently only works for utilities.
@qwerk: it looks like something is still wrong with your cache.
If you mean curious instead of curcious ;) ; this is what I meant.

In dashboard such as Dashticz and "New Frontpage" it is possible to show some camera feed on the frontpage/dashboard.
I would stay as close as possible to the original versions of Domoticz but I like features such as camerafeed, buienradar and so on too.

Or is it allready possible and did I overlook it ?
example camerafeed.JPG
example camerafeed.JPG (80.3 KiB) Viewed 2110 times

pj-r
Posts: 244
Joined: Wednesday 17 December 2014 18:30
Target OS: Linux
Domoticz version: V3.8650
Location: Jyväskylä, Finland
Contact:

Re: SNEAK PREVIEW - New default theme

Post by pj-r » Wednesday 12 July 2017 12:06

blauwebuis wrote:@pj-r: interesting. Are you having the issue on a tablet? So it might be a mobile mode that is influencing things. Hmm. But I can't reproduce the problem. Did you also copy the files over the old ones, instead of first removing the WWW folder?
// I CAN however reproduce the problem where the mobile settings isn't stored by the interface. That a bug, but I'm not sure if that is because of the theme. The theme shouldn't influence how that works.
Yes I had that on my tablet with resolution of 1280x800. Currently no problem since ripped off the Android from UserAgent mobile checks.
I was able to reproduce it on desktop chrome browser. Just went to mobile emulation mode(F12 and then CTRL+SHIFT+M), selected iPad Pro and hit refresh(F5 or SHIFT+F5) then activated the switches tab and it was messed as in the screenshot.

I did rename the old folder to www_old and copied the new from zip.

One thing to mention is that I'm using finnish translation but I think that should not affect the layout.
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors

pj-r
Posts: 244
Joined: Wednesday 17 December 2014 18:30
Target OS: Linux
Domoticz version: V3.8650
Location: Jyväskylä, Finland
Contact:

Re: SNEAK PREVIEW - New default theme

Post by pj-r » Wednesday 12 July 2017 15:10

I just had a strange problem with endless queries:
dashboard_endless_loop.png
dashboard_endless_loop.png (259.39 KiB) Viewed 1969 times
I left it open for a hour(or two). Then went back to dashboard and this happened.

edit:
Could this cause the problem?

Code: Select all

addDataviz = function () {
....
setInterval(addDataviz, 600000); // updates the dataviz every 10 minutes.
..
}
Should the clearInterval be used when entering before adding it again?

edit:
I think its about that:
dashboard_endless_query.png
dashboard_endless_query.png (53.88 KiB) Viewed 1949 times
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors

blauwebuis
Posts: 154
Joined: Wednesday 21 December 2016 10:11
Target OS: Raspberry Pi
Domoticz version: current
Contact:

Re: SNEAK PREVIEW - New default theme

Post by blauwebuis » Thursday 13 July 2017 12:50

@curious: currently a live camera view isn't built in in that way. But I do think you can add a camera via Domoticz and see the output? I have tested that with an IP camera a while ago. But I'm not sure it's what you mean.

Adding something like that, and Buienradar too, that would be great. I've been thinking that Domoticz could use some kind of plugin system that would add new items like that. Perhaps a buienradar 'device' could add a visualisation under the weather tab. But someone will have to build that. Form there it should now be much easier to style that on the dashboard, as all 'items' now have good CSS classes to target them.

@pj-r: thanks for the help! Could you perhaps create the JS code that would fix this problem? If you have a github account you can even add in the changes here: https://github.com/domoticz/domoticz/bl ... troller.js


- The Russian text overflow has been fixed in the latest code.

About the errors: it's might be because the GUIWORK code is not completely up to date with the normal Domoticz code.

blauwebuis
Posts: 154
Joined: Wednesday 21 December 2016 10:11
Target OS: Raspberry Pi
Domoticz version: current
Contact:

Re: SNEAK PREVIEW - New default theme

Post by blauwebuis » Thursday 13 July 2017 18:17

Ok, I've been able to reproduce the problem. Indeed it happens on the latest version of Domoticz when using a tablet. I'll look into it.

pj-r
Posts: 244
Joined: Wednesday 17 December 2014 18:30
Target OS: Linux
Domoticz version: V3.8650
Location: Jyväskylä, Finland
Contact:

Re: SNEAK PREVIEW - New default theme

Post by pj-r » Thursday 13 July 2017 19:00

Check your private messages ;)
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors

blauwebuis
Posts: 154
Joined: Wednesday 21 December 2016 10:11
Target OS: Raspberry Pi
Domoticz version: current
Contact:

Re: SNEAK PREVIEW - New default theme

Post by blauwebuis » Friday 14 July 2017 20:55

Thanks, I've added the fix to Github.

BarryT
Posts: 222
Joined: Tuesday 31 March 2015 22:06
Target OS: Raspberry Pi
Domoticz version: beta
Location: east netherlands
Contact:

Re: SNEAK PREVIEW - New default theme

Post by BarryT » Sunday 16 July 2017 14:09

Great job!

Hope to see a option to update the "refresh" of the index faster in the future.
It is updating some states every 10 seconds or something, wish you could change this to 1 second.
6x Raspberry 3B
A lot of scripts, switches and sensors :)

qwerk
Posts: 271
Joined: Tuesday 22 July 2014 7:21
Target OS: Raspberry Pi
Domoticz version: beta
Location: Netherlands
Contact:

Re: SNEAK PREVIEW - New default theme

Post by qwerk » Sunday 16 July 2017 16:47

Yesterday I reinstalled my raspberry completely.
I downloaded the latest version from github, and I still have the same issue.
both on chrome and firefox.

blauwebuis
Posts: 154
Joined: Wednesday 21 December 2016 10:11
Target OS: Raspberry Pi
Domoticz version: current
Contact:

Re: SNEAK PREVIEW - New default theme

Post by blauwebuis » Wednesday 19 July 2017 21:44

@qwerk: see my responses above: I was able te reproduce your issue. I will fix it.

blauwebuis
Posts: 154
Joined: Wednesday 21 December 2016 10:11
Target OS: Raspberry Pi
Domoticz version: current
Contact:

Re: SNEAK PREVIEW - New default theme

Post by blauwebuis » Thursday 27 July 2017 12:21

Small update: the new theme will be part of a bigger push, somewhere after the holidays. That push will also include the new DZVents updates.

Bikey
Posts: 423
Joined: Sunday 22 February 2015 13:19
Target OS: Raspberry Pi
Domoticz version: 3.xxx
Location: Netherlands
Contact:

Re: SNEAK PREVIEW - New default theme

Post by Bikey » Thursday 27 July 2017 12:51

Super, I can't wait!
Would it work if I just copied the https://github.com/domoticz/domoticz/tree/GuiWork/www directory from Gitub?

ehallq
Posts: 39
Joined: Tuesday 29 December 2015 13:34
Target OS: Linux
Domoticz version:
Contact:

Re: SNEAK PREVIEW - New default theme

Post by ehallq » Sunday 30 July 2017 15:11

Looks really nice!

Would the app get some redesign to match this in the future? I am really not a fan of the app right now. Would be great if app and web version looked somewhat similar to give a nice feeling.

blauwebuis
Posts: 154
Joined: Wednesday 21 December 2016 10:11
Target OS: Raspberry Pi
Domoticz version: current
Contact:

Re: SNEAK PREVIEW - New default theme

Post by blauwebuis » Monday 07 August 2017 11:50

@Bikey: yes, that should work. Just follow these steps:
https://www.domoticz.com/forum/viewtopi ... 20#p140163

@ehallq: There has been no contact about this, but the app builders are free to copy the design. Personally I think the app's current design already looks great.

elgringo
Posts: 94
Joined: Thursday 18 May 2017 8:08
Target OS: Raspberry Pi
Domoticz version: Left
Contact:

Re: SNEAK PREVIEW - New default theme

Post by elgringo » Monday 07 August 2017 11:55

When will it be integrated on the beta (eg development branch)? ISo it will be easier to test if you also need stuff from the development branch.

blauwebuis
Posts: 154
Joined: Wednesday 21 December 2016 10:11
Target OS: Raspberry Pi
Domoticz version: current
Contact:

Re: SNEAK PREVIEW - New default theme

Post by blauwebuis » Thursday 10 August 2017 10:26

Gizmocus is working on it. It's out of my hands a bit, so I don't know when exactly.

blauwebuis
Posts: 154
Joined: Wednesday 21 December 2016 10:11
Target OS: Raspberry Pi
Domoticz version: current
Contact:

Re: SNEAK PREVIEW - New default theme

Post by blauwebuis » Friday 11 August 2017 13:19

Small fun update: the latest beta allows for themes to come with their own icons.

Domoticz will first look inside theme/images folder, and only if it can't find the image there will it look in the 'backup' folder.

joeygermeraad
Posts: 3
Joined: Monday 07 March 2016 15:03
Target OS: -
Domoticz version:
Contact:

Re: SNEAK PREVIEW - New default theme

Post by joeygermeraad » Friday 11 August 2017 14:15

@blauwebuis first of all my compliment for the work that you are doing On the new skin!

I have a small question, does the merge of sensors work Within the latest version of domoticz? Or do i need to install the beta for
That?

rhendriks
Posts: 156
Joined: Tuesday 24 December 2013 0:36
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: SNEAK PREVIEW - New default theme

Post by rhendriks » Friday 11 August 2017 15:43

I'm run now the latest stable version , but I want this theme (look's perfect).
Can I install only that theme or must I update to the latest Beta version?

User avatar
sincze
Posts: 728
Joined: Monday 02 June 2014 22:46
Target OS: Linux
Domoticz version: 3.8153
Location: Netherlands
Contact:

Re: SNEAK PREVIEW - New default theme

Post by sincze » Friday 11 August 2017 16:46

blauwebuis wrote:If you want to try/test it already:

1. Download the zip file here (green button):
https://github.com/domoticz/domoticz/tree/GuiWork/

2. As a user on your server, replace the WWW folder in your Domoticz folder with the one from the zip file.

If something somehow goes wrong, just restart the Domoticz installation and choose the update option.
Followed the instructions, browser cache was automatically refreshed. This looks amazing. Very nice. :D
Now I wonder let's see what it looks like on my mobile phone. :D
Using Pass2php since 2016-12
LAN: RFLink, P1-Port, OTGW, MySensors
USB: RFXCom, ZWave
WIFI: Mi-light Wifi-Bridge, Sonoff, ESP8266, Xiaomi Gateway
Solar: Omnik Inverter, PVOutput
Video: Kodi clients with Harmony HUB
Sensors: You name it I probably got 1.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests