NEW frontpage.html - request comments
Moderator: leecollings
- Siewert308SW
- Posts: 288
- Joined: Monday 29 December 2014 15:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Just created a virtual Sunrise/Sunset switch to use for the Day/Night icons.
I think this will reflect the day/night mode better
I think this will reflect the day/night mode better
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- Siewert308SW
- Posts: 288
- Joined: Monday 29 December 2014 15:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
For now these Alarm icons will do for me
Download: (temporally)
https://dl.dropboxusercontent.com/u/23213779/icons.zip
Download: (temporally)
https://dl.dropboxusercontent.com/u/23213779/icons.zip
- Attachments
-
- alarm_off.png (9.47 KiB) Viewed 3486 times
-
- Alarm_on.png (9.38 KiB) Viewed 3486 times
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
-
- Posts: 39
- Joined: Monday 19 January 2015 14:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
I have a problem with the versions of the frontpage that use the seperated approach.
I have a working frontpage that is just 1 file (html, javascript & css).
When I try a version that has everything seperated I cannot switch on my lights. I do get a popup saying that it will switch on the lights but it does not.
When I open the java console in the webbrowser I get the 'Error' message, nothing else.
Any ideas?
I have a working frontpage that is just 1 file (html, javascript & css).
When I try a version that has everything seperated I cannot switch on my lights. I do get a popup saying that it will switch on the lights but it does not.
When I open the java console in the webbrowser I get the 'Error' message, nothing else.
Any ideas?
Raspberry 3
Aeon Labs Z-Wave Stick Series 2 - RFLink USB Gateway
Z-Wave switches
433 MHz Temperature + Humidity sensors
Philips Hue Lights
Mi-Light WiFi Bridge + RGBW Controllers
Aeon Labs Z-Wave Stick Series 2 - RFLink USB Gateway
Z-Wave switches
433 MHz Temperature + Humidity sensors
Philips Hue Lights
Mi-Light WiFi Bridge + RGBW Controllers
- Siewert308SW
- Posts: 288
- Joined: Monday 29 December 2014 15:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Which browser and did you try others aswell?Mozart wrote:I have a problem with the versions of the frontpage that use the seperated approach.
I have a working frontpage that is just 1 file (html, javascript & css).
When I try a version that has everything seperated I cannot switch on my lights. I do get a popup saying that it will switch on the lights but it does not.
When I open the java console in the webbrowser I get the 'Error' message, nothing else.
Any ideas?
What's your current Java version?
Are you sure you implanted all frontpage files and on the right spot?
Which frontpage package do u use?
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- mvveelen
- Posts: 678
- Joined: Friday 31 October 2014 10:22
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Hoorn, The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
These are the ones I use now:
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
-
- Posts: 39
- Joined: Monday 19 January 2015 14:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
I tried Firefox, Chrome and IE, all the same result.Siewert308SW wrote: Which browser and did you try others aswell?
What's your current Java version?
Are you sure you implanted all frontpage files and on the right spot?
Which frontpage package do u use?
Java version is: java version "1.7.0_51"
I tried with your package just now and I get the same result
Raspberry 3
Aeon Labs Z-Wave Stick Series 2 - RFLink USB Gateway
Z-Wave switches
433 MHz Temperature + Humidity sensors
Philips Hue Lights
Mi-Light WiFi Bridge + RGBW Controllers
Aeon Labs Z-Wave Stick Series 2 - RFLink USB Gateway
Z-Wave switches
433 MHz Temperature + Humidity sensors
Philips Hue Lights
Mi-Light WiFi Bridge + RGBW Controllers
- Siewert308SW
- Posts: 288
- Joined: Monday 29 December 2014 15:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Nice ones, do remind me of the android wifi hotspot signalmvveelen wrote:These are the ones I use now:
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- Siewert308SW
- Posts: 288
- Joined: Monday 29 December 2014 15:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
What does the java site tell you when you use the link below.Mozart wrote:I tried Firefox, Chrome and IE, all the same result.Siewert308SW wrote: Which browser and did you try others aswell?
What's your current Java version?
Are you sure you implanted all frontpage files and on the right spot?
Which frontpage package do u use?
Java version is: java version "1.7.0_51"
I tried with your package just now and I get the same result
https://www.java.com/nl/download/installed.jsp
And is your java correctly called in your Windows PATH?
Is your java enabled in your browser?
Sounds like your system is the culprit but i'm not a expert on this one.
Maybe someone else can help you.
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
-
- Posts: 29
- Joined: Wednesday 18 June 2014 23:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: NEW frontpage.html - request comments
I don't think the problem is in Java, otherwise your old frontpage also wouldn't work.
Till yesterday I also had one file with everything in it. Did you named the files correctly?
What I did: I created 4 files:
Frontpage.css
Frontpage.html
Frontpage.js
Frontpage_setting.js
Important is that you change the path in the files to the ones you are using.
Then I copied parts of my old frontpage in de correct files, where they should be.
After that everything works the same as before.
Ps. I don't have a day and night css
Till yesterday I also had one file with everything in it. Did you named the files correctly?
What I did: I created 4 files:
Frontpage.css
Frontpage.html
Frontpage.js
Frontpage_setting.js
Important is that you change the path in the files to the ones you are using.
Then I copied parts of my old frontpage in de correct files, where they should be.
After that everything works the same as before.
Ps. I don't have a day and night css
-
- Posts: 278
- Joined: Sunday 14 December 2014 12:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V4.11375
- Contact:
Re: NEW frontpage.html - request comments
Bin playing around with it a little.
Thanks for everyone who's involved with it.
Thanks for everyone who's involved with it.
- Attachments
-
- Screenshot_2015-02-16-16-55-08.png (182.32 KiB) Viewed 3453 times
-
- Screenshot_2015-02-16-16-48-21.png (182.85 KiB) Viewed 3453 times
-
- Posts: 550
- Joined: Tuesday 17 June 2014 22:14
- Target OS: NAS (Synology & others)
- Domoticz version: 4.10538
- Location: NL
- Contact:
Re: NEW frontpage.html - request comments
I have the skycons working. But not inside this page. I am building a homecontrol page which also displays my music system. I am not at home now, cannot post code. I followed the available example page and do some translation to match the forecast string to what skycons can handle
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
-
- Posts: 39
- Joined: Monday 19 January 2015 14:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
True, the old page works so java should be ok.Slayer007 wrote:I don't think the problem is in Java, otherwise your old frontpage also wouldn't work.
Till yesterday I also had one file with everything in it. Did you named the files correctly?
What I did: I created 4 files:
Frontpage.css
Frontpage.html
Frontpage.js
Frontpage_setting.js
Important is that you change the path in the files to the ones you are using.
Then I copied parts of my old frontpage in de correct files, where they should be.
After that everything works the same as before.
Ps. I don't have a day and night css
What I did was create a new folder called fp and put the files in there with subfolders.
I updated the references to the CSS, javascripts and icons so that it corresponds with the new folder structure.
Then I open on my tablet or desktop (makes no difference) the page http://domoticz/fp/frontpage.html
The page shows fine and the currect status of switches and dimmers is correct.
But clicking on any of those does nothing
I tried some debugging and when I open the Java Console in the browser I can see only 'Error'.
This is the result of the function SwitchToggle, that prints either Success of Error.
Raspberry 3
Aeon Labs Z-Wave Stick Series 2 - RFLink USB Gateway
Z-Wave switches
433 MHz Temperature + Humidity sensors
Philips Hue Lights
Mi-Light WiFi Bridge + RGBW Controllers
Aeon Labs Z-Wave Stick Series 2 - RFLink USB Gateway
Z-Wave switches
433 MHz Temperature + Humidity sensors
Philips Hue Lights
Mi-Light WiFi Bridge + RGBW Controllers
- mbliek
- Posts: 194
- Joined: Friday 12 July 2013 14:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: the Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Place everything inside the www folder and not in a new folder and it should work
Had this problem also...
Had this problem also...
Op zoek naar een Domoticz Start Set?
-
- Posts: 39
- Joined: Monday 19 January 2015 14:35
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Yes, that solved it!mbliek wrote:Place everything inside the www folder and not in a new folder and it should work
Had this problem also...
Thanks
Raspberry 3
Aeon Labs Z-Wave Stick Series 2 - RFLink USB Gateway
Z-Wave switches
433 MHz Temperature + Humidity sensors
Philips Hue Lights
Mi-Light WiFi Bridge + RGBW Controllers
Aeon Labs Z-Wave Stick Series 2 - RFLink USB Gateway
Z-Wave switches
433 MHz Temperature + Humidity sensors
Philips Hue Lights
Mi-Light WiFi Bridge + RGBW Controllers
- mvveelen
- Posts: 678
- Joined: Friday 31 October 2014 10:22
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Hoorn, The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
A small improvement (as requested via PM): the lastseen is now parsed into something better to read. It now reads:
17-2-2015 om 06:50 uur
(instead of the 'old' 2015-02-17 06:50:21)
You can play with it and alter it the way you like. Even the date.js can be altered if you like the names of the day / month in your own language. It should work in all browsers.
Added: date.js (extra file, upload to the js folder)
changed: frontpage.html (included the date.js file)
changed: frontpage.js (see the remarks I've added)
I've uploaded the whole package HERE
Example:
17-2-2015 om 06:50 uur
(instead of the 'old' 2015-02-17 06:50:21)
You can play with it and alter it the way you like. Even the date.js can be altered if you like the names of the day / month in your own language. It should work in all browsers.
Added: date.js (extra file, upload to the js folder)
changed: frontpage.html (included the date.js file)
changed: frontpage.js (see the remarks I've added)
I've uploaded the whole package HERE
Example:
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
-
- Posts: 29
- Joined: Wednesday 18 June 2014 23:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Thnx for looking into that. Great work.
- Siewert308SW
- Posts: 288
- Joined: Monday 29 December 2014 15:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Many thx mvveelen for the last seen update.
Only changed the time from am/pm to 24hr
Love the frontpage more and more and it's getting more mature by the day.
Only changed the time from am/pm to 24hr
Love the frontpage more and more and it's getting more mature by the day.
- Attachments
-
- IMAG0949_resize_resize.jpg (179.92 KiB) Viewed 3308 times
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
-
- Posts: 8
- Joined: Saturday 14 February 2015 19:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: NEW frontpage.html - request comments
Sorry if I missed it, but what software do you use?Siewert308SW wrote:Wanna thank those who started this.
Had a old Samsung Galaxy Tab 7" eating dusk.
Last night i prepared it to run 24/7 with additional apps to beable to use Voice commands which is my next project to kill some time.
Today i made a wooden frame which only need some paint.
But here is my test setup...
I have a galaxy tab 7.0, and I cant seem to get the bar over and under away.
Over I have the battery and wifi symbols, and under I have the "back", "home" and "the other right one :p ".
I use chrome in the "home-screen-app version".
I also wanted to say that I LOVE this frontpage !
1 week ago I had NO clue when it comes to coding ULA, Python, HTML etc......
Thank you all for the inspiration and information !!!
- Siewert308SW
- Posts: 288
- Joined: Monday 29 December 2014 15:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
I run CM 11Titanium87 wrote:Sorry if I missed it, but what software do you use?Siewert308SW wrote:Wanna thank those who started this.
Had a old Samsung Galaxy Tab 7" eating dusk.
Last night i prepared it to run 24/7 with additional apps to beable to use Voice commands which is my next project to kill some time.
Today i made a wooden frame which only need some paint.
But here is my test setup...
I have a galaxy tab 7.0, and I cant seem to get the bar over and under away.
Over I have the battery and wifi symbols, and under I have the "back", "home" and "the other right one :p ".
I use chrome in the "home-screen-app version".
I also wanted to say that I LOVE this frontpage !
1 week ago I had NO clue when it comes to coding ULA, Python, HTML etc......
Thank you all for the inspiration and information !!!
The browser i use is firefox with a plugin called "full screen"
Setup:
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- RPi4 - Domo Stable / Aeotec Z-stick7 / PiHole Unbound Gemini
- RPi4 - PiHole / PiVPN Unbound Gemini
- Synology DS923+ / DS218j
- P1 Gas/Power, SmartGateway watermeter
- Fibaro switches, contacts, plugs, smoke/Co2 ect
- rootfs @ USB HDD
- mvveelen
- Posts: 678
- Joined: Friday 31 October 2014 10:22
- Target OS: NAS (Synology & others)
- Domoticz version: Beta
- Location: Hoorn, The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Yeah, I came home tonight and saw the time I arrived was 09:15, so I changed the time to HH:mm and now it's displaying 21:15Siewert308SW wrote:Many thx mvveelen for the last seen update.
Only changed the time from am/pm to 24hr
Love the frontpage more and more and it's getting more mature by the day.
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
Who is online
Users browsing this forum: No registered users and 1 guest