NEW frontpage.html - request comments
Moderator: leecollings
-
- 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
hm, not sure if I tested that.
Fixed a problem with pressing + when on lowest level (setting to level=1 does not seem to work)
I will check it this evening.
Fixed a problem with pressing + when on lowest level (setting to level=1 does not seem to work)
I will check it this evening.
- bbqkees
- Posts: 407
- Joined: Sunday 17 August 2014 21:01
- Target OS: Linux
- Domoticz version: 4.1x
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
In the end it should be possible. But I did not have enough time to look into it yet.mvveelen wrote:Great, I'm going to try it tomorrow. Any chance the Skycons will work in a next version? Or is this simply not possible....?
Weekend was almost fully booked with other stuff, and spend too much time looking for unfinished div's in the html.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
- 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
Ok, just hoping you will find a solution for it
I've made a little improvement for the dimmer / level / thingy I had: I've changed this:
into this:
And that fixes the problem with not being able to go down from the 100% level. I checked all levels and they correspond to the levels you see in the main Domoticz page (the one with the slider ). Switching off/on will switch back tot the last set level, everything's fine now.
I've made a little improvement for the dimmer / level / thingy I had: I've changed this:
Code: Select all
var d = ((level )/100*16) ;
Code: Select all
var d = ((level-.1)/100*16) ;
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
-
- 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
Ok, great, I will add it as well.
-
- Posts: 129
- Joined: Monday 25 November 2013 17:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Mallorca
- Contact:
Re: NEW frontpage.html - request comments
Before asking silly questions, could you provide a readme about where to copy, where to change local parameters and howto start?jan_nl wrote: Hope you all now your way with tar and gzip (tip: use 7zip in Windows)
Basically everything is split
- frontpage.html for the html
- js/swipe.js
- js/frontpage.js
- js/frontpage_settings.js
- css/frontpage.css
Rfxcom
Raspi 4
Raspi 4
-
- 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
lol, since my last update yesterday I was thinking the same.
May be I will do that tonight,
For now, put everything in the domoticz/www directory, including the subdirectorys.
In the frontpage_settings.js (in the js subdir) you will find the things you need to change.
May be I will do that tonight,
For now, put everything in the domoticz/www directory, including the subdirectorys.
In the frontpage_settings.js (in the js subdir) you will find the things you need to change.
- 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
Hmmm.....my protected switches (f.e. iPhone) are clickable. This shouldn't be with your code, should it?
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
-
- 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
So far I did not do/test anything with protected switches......
- 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
Well, if I look at the code, it should prohibit me from switching the protected switches and also there should be a pop-up telling me the switch is protected. It worked in a previous version, so I don't know what has been changed
RPi3b+/RFXCOM rfxtrx433E/Shelly/Xiaomi Gateway/Philips HUE Lights/Atag Zone One/2 SunnyBoy inverters/AirconWithMe/P1 smartmeter/Domoticz latest Beta
-
- 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
there could be some differences between my version and the one from bbqkees
-
- 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
I recieved the code from mvveelen. It works good (including dimming!), but i experienced something annoying on my Android tablet.
When i touch a button, it opens some kind of magnification / zoompopup. Extremely irritating. Maybe it can be solved by putting a line of code into the page, but i don't know what to put in.
I already looked shortly on Google, but couldn't directly find something... Anyone has an idea?
When i touch a button, it opens some kind of magnification / zoompopup. Extremely irritating. Maybe it can be solved by putting a line of code into the page, but i don't know what to put in.
I already looked shortly on Google, but couldn't directly find something... Anyone has an idea?
I am not active on this forum anymore.
- bizziebis
- Posts: 182
- Joined: Saturday 19 October 2013 14:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8805
- Location: The Netherlands
- Contact:
Re: NEW frontpage.html - request comments
If the buttons are too small, or too short next to each other you will get a zoom popup. Chrome does this, you cannot change it as far as I know.
-
- 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
The magmifying thingy is something from android. Not sure if it can be switched off.
-
- 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 seems like this:
Disables the magnifying. Put it under the existing <meta> tags in the frontpage.html
Found it here:
https://stackoverflow.com/questions/129 ... st#tab-top
Code: Select all
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no" />
Found it here:
https://stackoverflow.com/questions/129 ... st#tab-top
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
So, new update.
- protected works again
- added lastseen (which was not in my frontpage yet)
- some clarifications in the code (remarks)
- added the tip from Thinkpad regarding de magnifier
- added the fix from mvveelen regarding the dimmer 100%
Downside: adding the lastseen changed the settingsfile and the html file. In order to use hte new frontpage.js, and additional field must be added to the PageArray. Explained in the file.
Added a small (very small) readme. Lot of explanation is in de code/files.
- protected works again
- added lastseen (which was not in my frontpage yet)
- some clarifications in the code (remarks)
- added the tip from Thinkpad regarding de magnifier
- added the fix from mvveelen regarding the dimmer 100%
Downside: adding the lastseen changed the settingsfile and the html file. In order to use hte new frontpage.js, and additional field must be added to the PageArray. Explained in the file.
Added a small (very small) readme. Lot of explanation is in de code/files.
- Attachments
-
- frontpage.tar.gz
- (11.98 KiB) Downloaded 291 times
-
- Posts: 75
- Joined: Sunday 30 November 2014 8:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Hoorn, Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Its great. I'm gonna try it tonight. In the version of yesterday, nudie radar (haha, buienradar...) wasn't exactly in his cel. Keep up the good work, and again, thanks!
-
- 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
Still not completely in it's cell. Not sure how to fix this
-
- Posts: 75
- Joined: Sunday 30 November 2014 8:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Hoorn, Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Ok. tnx. probably becouse the cells are a bit smaller than the first frontpage.html editions? Oh, dit you fix the thermostat aswell? or is that more the part for bbqkees?
-
- 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
No, did not do anything with the thermostat, I can't test that
-
- Posts: 75
- Joined: Sunday 30 November 2014 8:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Hoorn, Netherlands
- Contact:
Re: NEW frontpage.html - request comments
Ok. thanks.
Who is online
Users browsing this forum: No registered users and 1 guest