Aurora theme

Moderator: leecollings

olinek2
Posts: 5
Joined: Thursday 15 February 2018 11:18
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Wroclaw
Contact:

Re: Aurora theme

Post by olinek2 »

Hi,
Do you have any idea why Utility sections and Switches looks like this?
Image
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: Aurora theme

Post by blauwebuis »

@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: 107
Joined: Tuesday 31 January 2017 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz »

iframe. where do you enter the url? as the name of the device, description or as the data?
User avatar
remb0
Posts: 499
Joined: Thursday 11 July 2013 22:21
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: The Netherlands
Contact:

Re: Aurora theme

Post by remb0 »

blauwebuis great work! I gonna test the iframes!
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: Aurora theme

Post by blauwebuis »

@Xztraz: click on the text. Just try it, you'll find it.
bdormael
Posts: 82
Joined: Saturday 13 December 2014 21:20
Target OS: Linux
Domoticz version:
Contact:

Aurora theme

Post by bdormael »

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: 107
Joined: Tuesday 31 January 2017 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz »

blauwebuis wrote: Saturday 24 February 2018 9: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: 82
Joined: Saturday 13 December 2014 21:20
Target OS: Linux
Domoticz version:
Contact:

Re: Aurora theme

Post by bdormael »

Xztraz wrote: Saturday 24 February 2018 11:04
blauwebuis wrote: Saturday 24 February 2018 9: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: 107
Joined: Tuesday 31 January 2017 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz »

This works: (adress in data field)
iframe.PNG
iframe.PNG (5.78 KiB) Viewed 3789 times
veckaiframe.PNG
veckaiframe.PNG (12.31 KiB) Viewed 3789 times
Awesome!
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: Aurora theme

Post by blauwebuis »

@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: 11
Joined: Tuesday 09 August 2016 23:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Aurora theme

Post by hsvt »

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: 44
Joined: Monday 23 December 2013 23:36
Target OS: Raspberry Pi / ODroid
Domoticz version: Newest
Location: Netherlands Helmond
Contact:

Re: Aurora theme

Post by rhendriks »

@ 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: 107
Joined: Tuesday 31 January 2017 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz »

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: 65
Joined: Tuesday 13 October 2015 13:50
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Poland
Contact:

Re: Aurora theme

Post by Eoreh »

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 3671 times
Last edited by Eoreh on Sunday 25 February 2018 16:00, edited 1 time in total.
Xztraz
Posts: 107
Joined: Tuesday 31 January 2017 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz »

tested replacing what you said. seem to work. and made a pull request
Xztraz
Posts: 107
Joined: Tuesday 31 January 2017 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz »

Should be fixed now. please test
Also added more viz for more sensors(even more coming)
Xztraz
Posts: 107
Joined: Tuesday 31 January 2017 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz »

fixed viz for negative temps (on pull request now)
blauwebuis
Posts: 331
Joined: Wednesday 21 December 2016 9:11
Target OS: Raspberry Pi / ODroid
Domoticz version: current
Contact:

Re: Aurora theme

Post by blauwebuis »

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 9:22, edited 1 time in total.
Xztraz
Posts: 107
Joined: Tuesday 31 January 2017 21:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Aurora theme

Post by Xztraz »

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: 5
Joined: Thursday 15 February 2018 11:18
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Wroclaw
Contact:

Re: Aurora theme

Post by olinek2 »

Update of Domoticz and plugin has solved issue :)
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests