Aurora theme

olinek2
Posts: 4
Joined: Thursday 15 February 2018 12:18
Target OS: Raspberry Pi
Domoticz version: beta
Location: Wroclaw
Contact:

Re: Aurora theme

Post by olinek2 » Thursday 22 February 2018 23:06

Hi,
Do you have any idea why Utility sections and Switches looks like this?
Image

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

Re: Aurora theme

Post by blauwebuis » Friday 23 February 2018 14:20

@Xztraz: thanks!
@Olinek2: I have no idea. Have you cleared your application cache? tried different browsers? What device are you on?

UPDATE

BUGFIX
I've added a fix for the RGBW popup, which was recently changed in Domoticz.

NEW FEATURE
If the value of a text item is a URL, then the theme will automatically turn it into an iframe. This allows you to incorporate external sources into your dashboard, like weather and news feeds.

To try it:
- Create a dummy text item.
- On the Utilities page, click on the text and input a URL.
- Go to the dashboard and enjoy your iFrame.

Xztraz
Posts: 129
Joined: Tuesday 31 January 2017 22:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz » Friday 23 February 2018 21:55

iframe. where do you enter the url? as the name of the device, description or as the data?

User avatar
remb0
Posts: 976
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Aurora theme

Post by remb0 » Saturday 24 February 2018 9:24

blauwebuis great work! I gonna test the iframes!

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

Re: Aurora theme

Post by blauwebuis » Saturday 24 February 2018 10:03

@Xztraz: click on the text. Just try it, you'll find it.

bdormael
Posts: 101
Joined: Saturday 13 December 2014 22:20
Target OS: Linux
Domoticz version:
Contact:

Aurora theme

Post by bdormael » Saturday 24 February 2018 10:55

Just a suggestion:
Would it be possible to have the highlighted items to be independent from the columns?
For example I want my cameras to show in the most right columns, now this is not possible because it is only showing utilities.


Verzonden vanaf mijn iPad met Tapatalk

Xztraz
Posts: 129
Joined: Tuesday 31 January 2017 22:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz » Saturday 24 February 2018 12:04

blauwebuis wrote:
Saturday 24 February 2018 10:03
@Xztraz: click on the text. Just try it, you'll find it.
i guess its the hello world text? do you have an example of some site that should work in iframe? tried all different fields but only get an icon :D

bdormael
Posts: 101
Joined: Saturday 13 December 2014 22:20
Target OS: Linux
Domoticz version:
Contact:

Re: Aurora theme

Post by bdormael » Saturday 24 February 2018 12:09

Xztraz wrote:
Saturday 24 February 2018 12:04
blauwebuis wrote:
Saturday 24 February 2018 10:03
@Xztraz: click on the text. Just try it, you'll find it.
i guess its the hello world text? do you have an example of some site that should work in iframe? tried all different fields but only get an icon :D
https://w.bookcdn.com/weather/picture/1 ... c_id=14924

Xztraz
Posts: 129
Joined: Tuesday 31 January 2017 22:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz » Saturday 24 February 2018 12:11

This works: (adress in data field)
iframe.PNG
iframe.PNG (5.78 KiB) Viewed 1971 times
veckaiframe.PNG
veckaiframe.PNG (12.31 KiB) Viewed 1971 times
Awesome!

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

Re: Aurora theme

Post by blauwebuis » Saturday 24 February 2018 12:33

@bdormael: the items position and and order is linked to their containers/type. Technically it would be possible to 'fish out' some items and store their ID in a user variable. And then always load these items into the special "highlighted" container when the page is built. Not a bad idea. But in a way you're then creating a system where you can make favourites inside your favourites :-)

hsvt
Posts: 4
Joined: Tuesday 09 August 2016 23:31
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Aurora theme

Post by hsvt » Saturday 24 February 2018 14:17

First, thank for the beautiful project.
After some time domoticz picked up again and then his change. :D

My IP webcam (old phone) also works in the Iframe way.
Now only find out how I can adjust the resolution of this with the url.

rhendriks
Posts: 185
Joined: Tuesday 24 December 2013 0:36
Target OS: Raspberry Pi
Domoticz version: Newest
Location: Netherlands Helmond
Contact:

Re: Aurora theme

Post by rhendriks » Sunday 25 February 2018 12:43

@ blauwe buis compliments for this theme.
Is it possible to make an update button in the menu for an update from the aurora-theme ,
instead of the git pull rule in putty.

Xztraz
Posts: 129
Joined: Tuesday 31 January 2017 22:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz » Sunday 25 February 2018 14:49

workaround for update if you are that lazy :)

make a shell script under scripts/update_aurora.sh
fill it with(this is for rpi):

Code: Select all

#!/bin/sh
cd /home/pi/domoticz/www/styles/aurora
git pull
chmod +x

call script from dummy button.
script://update_aurora.sh

Eoreh
Posts: 69
Joined: Tuesday 13 October 2015 13:50
Target OS: Raspberry Pi
Domoticz version: beta
Location: Poland
Contact:

Re: Aurora theme

Post by Eoreh » Sunday 25 February 2018 16:10

Domoticz Version: 3.8946
I update today to this version beta domoticz, and we lost button "Theme" in settings.
I also check in new version Aurora the same problem.
Of course i clear all cache.

EDIT: becouse jquery in domoticz upgrade to ->jquery-3.3.1.min.js
and from version jquery 3.0 .andSelf() removed, and we have to use .addBack() in line 1951 in custom.js

eg23.png
eg23.png (58.83 KiB) Viewed 1853 times
Last edited by Eoreh on Sunday 25 February 2018 17:00, edited 1 time in total.

Xztraz
Posts: 129
Joined: Tuesday 31 January 2017 22:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz » Sunday 25 February 2018 16:58

tested replacing what you said. seem to work. and made a pull request

Xztraz
Posts: 129
Joined: Tuesday 31 January 2017 22:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz » Sunday 25 February 2018 21:48

Should be fixed now. please test
Also added more viz for more sensors(even more coming)

Xztraz
Posts: 129
Joined: Tuesday 31 January 2017 22:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz » Sunday 25 February 2018 22:25

fixed viz for negative temps (on pull request now)

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

Re: Aurora theme

Post by blauwebuis » Sunday 25 February 2018 23:14

Merged. Thanks for the great contribution!

UPDATE
- Theme settings button is back.
- More devices and sensor types now support data visualization on the dashboard.
- Negative temperatures are now also shown in these visualizations.
Last edited by blauwebuis on Monday 26 February 2018 10:22, edited 1 time in total.

Xztraz
Posts: 129
Joined: Tuesday 31 January 2017 22:54
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz » Sunday 25 February 2018 23:26

I do what i can :) thanks for a great theme!

Added the last of viz sensors. phu. takes 6 datapoints before any viz shows. can be good to know

olinek2
Posts: 4
Joined: Thursday 15 February 2018 12:18
Target OS: Raspberry Pi
Domoticz version: beta
Location: Wroclaw
Contact:

Re: Aurora theme

Post by olinek2 » Monday 26 February 2018 13:59

Update of Domoticz and plugin has solved issue :)

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests