Page 15 of 24

Re: Aurora theme

Posted: Thursday 22 February 2018 22:06
by olinek2
Hi,
Do you have any idea why Utility sections and Switches looks like this?
Image

Re: Aurora theme

Posted: Friday 23 February 2018 13:20
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.

Re: Aurora theme

Posted: Friday 23 February 2018 20:55
by Xztraz
iframe. where do you enter the url? as the name of the device, description or as the data?

Re: Aurora theme

Posted: Saturday 24 February 2018 8:24
by remb0
blauwebuis great work! I gonna test the iframes!

Re: Aurora theme

Posted: Saturday 24 February 2018 9:03
by blauwebuis
@Xztraz: click on the text. Just try it, you'll find it.

Aurora theme

Posted: Saturday 24 February 2018 9:55
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

Re: Aurora theme

Posted: Saturday 24 February 2018 11:04
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

Re: Aurora theme

Posted: Saturday 24 February 2018 11:09
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

Re: Aurora theme

Posted: Saturday 24 February 2018 11:11
by Xztraz
This works: (adress in data field)
iframe.PNG
iframe.PNG (5.78 KiB) Viewed 4054 times
veckaiframe.PNG
veckaiframe.PNG (12.31 KiB) Viewed 4054 times
Awesome!

Re: Aurora theme

Posted: Saturday 24 February 2018 11:33
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 :-)

Re: Aurora theme

Posted: Saturday 24 February 2018 13:17
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.

Re: Aurora theme

Posted: Sunday 25 February 2018 11:43
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.

Re: Aurora theme

Posted: Sunday 25 February 2018 13:49
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

Re: Aurora theme

Posted: Sunday 25 February 2018 15:10
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 3936 times

Re: Aurora theme

Posted: Sunday 25 February 2018 15:58
by Xztraz
tested replacing what you said. seem to work. and made a pull request

Re: Aurora theme

Posted: Sunday 25 February 2018 20:48
by Xztraz
Should be fixed now. please test
Also added more viz for more sensors(even more coming)

Re: Aurora theme

Posted: Sunday 25 February 2018 21:25
by Xztraz
fixed viz for negative temps (on pull request now)

Re: Aurora theme

Posted: Sunday 25 February 2018 22:14
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.

Re: Aurora theme

Posted: Sunday 25 February 2018 22:26
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

Re: Aurora theme

Posted: Monday 26 February 2018 12:59
by olinek2
Update of Domoticz and plugin has solved issue :)