NEW frontpage.html - request comments
Moderator: leecollings
-
- Posts: 10
- Joined: Wednesday 25 March 2015 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: NEW frontpage.html - request comments
anybody knows what description to use to get wind-direction f.i. SSW iso degrees ? from wheather underground as example ?
or does somebody already found a nice way to show a wind-direction icon dependent on the actual direction ?
or does somebody already found a nice way to show a wind-direction icon dependent on the actual direction ?
-
- Posts: 10
- Joined: Wednesday 25 March 2015 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: NEW frontpage.html - request comments
I figured it out with help of the wiki:dbfan wrote:anybody knows what description to use to get wind-direction f.i. SSW iso degrees ? from wheather underground as example ?
or does somebody already found a nice way to show a wind-direction icon dependent on the actual direction ?
- created an additional virtual sensor ( text version )
- made a LUA-script to read the windsensor data, filter out the winddirection data and sent that to the new virtual sensor
hoppa
Anybody knows if we just can use the system icons, like the winddirection icon that is already displayed in the virtual sensor ?
-
- Posts: 32
- Joined: Sunday 08 March 2015 13:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2.4739
- Contact:
Re: NEW frontpage.html - request comments
With the API of the Dutch Railroad website (http://webservices.ns.nl/ns-api-avt?station=alphen) you can get an XML file. I've attached the file.
Is there a way to convert that into this page tile? Would be nice to see if there is a delay of the trains before you leave the house.
Peter
Is there a way to convert that into this page tile? Would be nice to see if there is a delay of the trains before you leave the house.
Peter
RaspberryPI
ZWave
RFXtrx433E
ZWave
RFXtrx433E
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
It can probably be done by making a Lua script that parses the XML and sends the data to a virtual text sensor, just like the person above you did with weather data.
I am not active on this forum anymore.
-
- Posts: 10
- Joined: Wednesday 25 March 2015 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: NEW frontpage.html - request comments
Buienradar again down in my frontpage.....
Am I the only one ?
How to resolve ?
Am I the only one ?
How to resolve ?
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
https://twitter.com/BuienRadarNL/status ... 1102391296dbfan wrote:Buienradar again down in my frontpage.....
Am I the only one ?
How to resolve ?
I am not active on this forum anymore.
-
- Posts: 625
- Joined: Thursday 02 October 2014 6:36
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2022.2
- Location: Geleen
- Contact:
Re: NEW frontpage.html - request comments
I think for Python and/or Perl there should be tools to parse XML.PeterFleur wrote:With the API of the Dutch Railroad website (http://webservices.ns.nl/ns-api-avt?station=alphen) you can get an XML file. I've attached the file.
Is there a way to convert that into this page tile? Would be nice to see if there is a delay of the trains before you leave the house.
Peter
Might dive into to that in the near future.....(for Perl)
btw, there is no attachment and the links needs a username/password
-
- Posts: 10
- Joined: Wednesday 25 March 2015 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: NEW frontpage.html - request comments
ah, okay...ThinkPad wrote:https://twitter.com/BuienRadarNL/status ... 1102391296dbfan wrote:Buienradar again down in my frontpage.....
Am I the only one ?
How to resolve ?
strange that this one still running http://www2.buienradar.nl/display.php?w ... opacity=75
-
- Posts: 27
- Joined: Thursday 15 January 2015 9:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: NEW frontpage.html - request comments
Thanks for sharing your code. It looks very nice!G3rard wrote:Here is the link were youy can download my frontpage.
http://www.filedropper.com/frontpagegz
The frontpage has a.o. the following changes compared to earlier versions posted in this topic.
- text with cell description changes according to the state (eg alarm on/off, sunrise/set)
- removed bounce effect (no vertical scrolling) on iPad
- use extra div's in the cells above (see also the post from zicht) to show 2 values in one cell
- various layout changes
Let me know if you have any questions regarding the configuration.
Unfortunately, I can't get the dimmer function to work when using your code. It does show the "- On +" text/signs, but after pressing, there is no effect. (I want to use it in combination with my Philips Hue & Living Colors lamps in my Z-wave setup.)
Does it work in your setup? Does it need some altering?
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Thanks!Skorpion wrote: Thanks for sharing your code. It looks very nice!
Unfortunately, I can't get the dimmer function to work when using your code. It does show the "- On +" text/signs, but after pressing, there is no effect. (I want to use it in combination with my Philips Hue & Living Colors lamps in my Z-wave setup.)
Does it work in your setup? Does it need some altering?
In my setup I can use the dimmer function for Philips Hue and COCO dimmers. I use Hue Lux (only white), maybe you are using the color version?
Not using Domoticz anymore
-
- Posts: 27
- Joined: Thursday 15 January 2015 9:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: NEW frontpage.html - request comments
I use Hue color, LivingColors and LivingWhites. I double checked the code, and as far as I can see, it doesn't differ from yours. There probably must be a faulty piece of code in my files though, because my RPi cpu usage goes sky high when I enable the dimmer function for one or multiple lamps.G3rard wrote:Thanks!Skorpion wrote: Thanks for sharing your code. It looks very nice!
Unfortunately, I can't get the dimmer function to work when using your code. It does show the "- On +" text/signs, but after pressing, there is no effect. (I want to use it in combination with my Philips Hue & Living Colors lamps in my Z-wave setup.)
Does it work in your setup? Does it need some altering?
In my setup I can use the dimmer function for Philips Hue and COCO dimmers. I use Hue Lux (only white), maybe you are using the color version?
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Does it work if you use the frontpage.js file from the version I have shared in this topic?Skorpion wrote: I use Hue color, LivingColors and LivingWhites. I double checked the code, and as far as I can see, it doesn't differ from yours. There probably must be a faulty piece of code in my files though, because my RPi cpu usage goes sky high when I enable the dimmer function for one or multiple lamps.
Last edited by G3rard on Tuesday 31 March 2015 19:49, edited 1 time in total.
Not using Domoticz anymore
-
- Posts: 39
- Joined: Wednesday 31 December 2014 12:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: NEW frontpage.html - request comments
Probably a stupid question, but can I swip to the 'next' page , to see cell 20 ect, on a desktop with chrome.
Raspberry Pi (3x)
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
Master Domoticz installed on a Synology
RFXCOM RFXtrx433E USB
RFLink
USB Z-Wave Mini Adapter
Mi-light
QuinLED
Landis+Gyr ZME120ACd
Kamstrup_M401
USB-IR-Schreib-Lesekopf Alecto WS1700
Watermeter with TCRT5000
Kodi
DS18B20
-
- Posts: 9
- Joined: Monday 30 March 2015 20:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10717
- Contact:
Re: NEW frontpage.html - request comments
Hi,
Thanks for the great frontpage template. It is working really well for me. I'm getting very addicted to this domotica stuff.
All my switches work great.
I only have two issues left. When in daymode (IsDonker is switched off) I don't see the sun behind the cloud. When IsDonker is on, I can see the moon behind the rainy cloud.
In the frontpage.js I have changed the idx of IsDonker to the one I have in my Domoticz.
Any clue how to solve this issue?
The second issue I have is the pop-up to arm the home in field 1-19. I don't have anything to arm, so I would like to turn this one off. I suppose I have tho exclude a part in the frontpage.js, but it seems I have not excluded the correct part.
where can I find the part where the Domoticz security panel can be turned off? Or is there somebody that can convince me that this really is a needed function, and that I'm just too stupid to see otherwise...
Thanks for the great frontpage template. It is working really well for me. I'm getting very addicted to this domotica stuff.
All my switches work great.
I only have two issues left. When in daymode (IsDonker is switched off) I don't see the sun behind the cloud. When IsDonker is on, I can see the moon behind the rainy cloud.
In the frontpage.js I have changed the idx of IsDonker to the one I have in my Domoticz.
Any clue how to solve this issue?
The second issue I have is the pop-up to arm the home in field 1-19. I don't have anything to arm, so I would like to turn this one off. I suppose I have tho exclude a part in the frontpage.js, but it seems I have not excluded the correct part.
where can I find the part where the Domoticz security panel can be turned off? Or is there somebody that can convince me that this really is a needed function, and that I'm just too stupid to see otherwise...
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
The pictures shown related to the weather can be changed in frontpage.js. The pictures that are being used can be found in the icons folder.rijo78 wrote:Hi,
Thanks for the great frontpage template. It is working really well for me. I'm getting very addicted to this domotica stuff.
All my switches work great.
I only have two issues left. When in daymode (IsDonker is switched off) I don't see the sun behind the cloud. When IsDonker is on, I can see the moon behind the rainy cloud.
In the frontpage.js I have changed the idx of IsDonker to the one I have in my Domoticz.
Any clue how to solve this issue?
The second issue I have is the pop-up to arm the home in field 1-19. I don't have anything to arm, so I would like to turn this one off. I suppose I have tho exclude a part in the frontpage.js, but it seems I have not excluded the correct part.
where can I find the part where the Domoticz security panel can be turned off? Or is there somebody that can convince me that this really is a needed function, and that I'm just too stupid to see otherwise...
Maybe there is no picture with a sun behind the cloud in the frontpage version that you are using?
You can remove the link to the security panel in frontpage.html.
Not using Domoticz anymore
-
- Posts: 9
- Joined: Monday 30 March 2015 20:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10717
- Contact:
Re: NEW frontpage.html - request comments
Thanks! Found it. Regarding the images; I was a bit silly. The images are showing as should be. I was expecting something else. Then I checked how the images should look like, and found out that all is working great.The pictures shown related to the weather can be changed in frontpage.js. The pictures that are being used can be found in the icons folder.
Maybe there is no picture with a sun behind the cloud in the frontpage version that you are using?
You can remove the link to the security panel in frontpage.html.
Now I only have to wait for my tablet to arrive
-
- Posts: 9
- Joined: Monday 30 March 2015 20:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.10717
- Contact:
Re: NEW frontpage.html - request comments
I don't think this is possible on a desktop computer. Better to work with this template on a tablet.jossie67 wrote:Probably a stupid question, but can I swip to the 'next' page , to see cell 20 ect, on a desktop with chrome.
-
- Posts: 10
- Joined: Wednesday 25 March 2015 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: NEW frontpage.html - request comments
Hi Jan,jan_nl wrote:Added some sort of traffic info, max 4 traffic-jams, the text is clickable and brings you to http://www.anwb.nl/verkeer (which is not configurable (not yet anyway)).
Changes in frontpage.css (cell2_3), frontpages_settings.js and frontpage.js
I also added a script (wget_verkeer.sh) to get an rss feed from verkeerplaza, so this propably only works in the Netherlands. This scripts must run via crontab (changes about every minute)
how can I add more highways ? what is the exact syntax to add f.i. the A73 to this:
Code: Select all
var file_string = '';
var CheckHighway = 'A50:' ; // The ; is needed for searching!!
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
You can add some lines of code in frontpage.html to give you some small arrows which you can use to swipe on a desktop.jossie67 wrote:Probably a stupid question, but can I swip to the 'next' page , to see cell 20 ect, on a desktop with chrome.
After
<div id="cnt" class="v-wrap">
<div class="v-box">
of page 1 in frontpage.html add the following:
Code: Select all
<!-- show arrow to scroll on desktop -->
<div id="right-arrow"
style="font-size: 20px; position: absolute; right: 23%; top: 50%; z-index: 1000;"
onclick="javascript:window.mySwipe.next();">
<a href="#">></a>
</div>
<div id="cnt" class="v-wrap">
<div class="v-box">
of page 2 add the following code
Code: Select all
<!-- show arrow to scroll on desktop -->
<div id="left-arrow"
style="font-size: 20px; position: absolute; left: 23%; top: 50%; z-index: 1000;"
onclick="javascript:window.mySwipe.prev();">
<a href="#"><</a>
</div>
Not using Domoticz anymore
-
- Posts: 890
- Joined: Tuesday 30 September 2014 8:49
- Target OS: Linux
- Domoticz version: beta
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
If anyone needs some inspiration, have a look at the 'Toon' interface (smart thermostat from Eneco).
Screenshots can be found in this news article and in this comment.
There is also a basic Android app demo of this: https://toonopafstand.eneco.nl/index_pc.html It seems to be build in 'PhoneGap (Cordova)'.
Screenshots can be found in this news article and in this comment.
There is also a basic Android app demo of this: https://toonopafstand.eneco.nl/index_pc.html It seems to be build in 'PhoneGap (Cordova)'.
I am not active on this forum anymore.
Who is online
Users browsing this forum: No registered users and 0 guests