Yet another frontpage
Moderator: leecollings
-
- Posts: 85
- Joined: Sunday 26 July 2020 8:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Netherlands
- Contact:
Re: Yet another frontpage
Clicking the link says its not safe, going on and the download triggers Chrome and again it says not safe. Might want to repack and share somewhere else?
-
- Posts: 27
- Joined: Sunday 31 May 2020 10:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Yet another frontpage
Thanks for the headsup, i've reuploaded it to a different site.
https://github.com/PatrickSt1991/Domoti ... master.zip
Last edited by PatrickSt91 on Tuesday 18 August 2020 9:22, edited 1 time in total.
-
- Posts: 21
- Joined: Sunday 05 February 2017 12:09
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Model 3
- Contact:
Re: Yet another frontpage
Does not work as intended, now it says "403 Forbidden"
Hope you find a solution
Hope you find a solution
Translated with google
-
- Posts: 27
- Joined: Sunday 31 May 2020 10:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
-
- Posts: 18
- Joined: Tuesday 23 June 2020 11:01
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Yet another frontpage
Are you planning to implement more garbage companies? Our city doesn't use afvalwijzer but 'deafvalapp'
-
- Posts: 85
- Joined: Sunday 26 July 2020 8:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Netherlands
- Contact:
Re: Yet another frontpage
Thanks, I'm following this now. Previous link was the direct link to the zip file.PatrickSt91 wrote: ↑Tuesday 18 August 2020 9:22It's on github now, you should be able to download it without any problem now.
https://github.com/PatrickSt1991/Domoticz-Template
-
- Posts: 27
- Joined: Sunday 31 May 2020 10:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Yet another frontpage
I wasn't planning on it, but I've added it never the less.
You should be able to see it now on the github page.
Please not i've only added the functionality, you should do a bit of styling yourself in the css
Kind regards,
Patrick
-
- Posts: 18
- Joined: Tuesday 23 June 2020 11:01
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Yet another frontpage
Great! I'll check tonight!PatrickSt91 wrote: ↑Wednesday 19 August 2020 15:10I wasn't planning on it, but I've added it never the less.
You should be able to see it now on the github page.
Please not i've only added the functionality, you should do a bit of styling yourself in the css
Kind regards,
Patrick
Update: Date works but image still not available
-
- Posts: 27
- Joined: Sunday 31 May 2020 10:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
-
- Posts: 18
- Joined: Tuesday 23 June 2020 11:01
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Yet another frontpage
Link to image is referring to http://***/assets/images/Afvalwijzer/GFT_80.png. *** is of course my internal IP and web folder name.
When I open this in a new tab it shows a 404. When I manually change GFT_80.png to gft_80.png it works.
When I open this in a new tab it shows a 404. When I manually change GFT_80.png to gft_80.png it works.
-
- Posts: 27
- Joined: Sunday 31 May 2020 10:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Yet another frontpage
Wait it's using the folder Afvalwijzer?
I thought you needed to use deafvalapp?
Have you changed the variable setting?
index.php -> line 2 -> $AfvalType = 'deafvalapp';
-
- Posts: 18
- Joined: Tuesday 23 June 2020 11:01
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Yet another frontpage
Changed that already. I also see this on line 78:PatrickSt91 wrote: ↑Tuesday 25 August 2020 12:09Wait it's using the folder Afvalwijzer?
I thought you needed to use deafvalapp?
Have you changed the variable setting?
index.php -> line 2 -> $AfvalType = 'deafvalapp';
<th class="tg-0lax" rowspan="2"><img src="assets/images/Afvalwijzer/<?php echo $container_typ; ?>_80.png"></th>
That's still referring to this Afvalwijzer map
-
- Posts: 27
- Joined: Sunday 31 May 2020 10:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Yet another frontpage
Ah I guess I uploaded a beta file then.GilbertvH wrote: ↑Tuesday 25 August 2020 13:38 Changed that already. I also see this on line 78:
<th class="tg-0lax" rowspan="2"><img src="assets/images/Afvalwijzer/<?php echo $container_typ; ?>_80.png"></th>
That's still referring to this Afvalwijzer map
Opera Snapshot_2020-08-25_134454_192.168.178.24.png
I've added a new index.php, please try that one...
My bad
- Attachments
-
- index.7z
- Correct index version
- (2.42 KiB) Downloaded 52 times
-
- Posts: 497
- Joined: Friday 22 May 2015 12:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11083
- Location: Asten NB Nederland
- Contact:
Re: Yet another frontpage
Hi There nice frontpage!
For my garbage I need to use the opzet_api, in combination with www.mijnblink.nl
Is it possible to integrate this one as wel?
Jan
For my garbage I need to use the opzet_api, in combination with www.mijnblink.nl
Is it possible to integrate this one as wel?
Jan
Your mind is like a parachute,
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
-
- Posts: 27
- Joined: Sunday 31 May 2020 10:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Yet another frontpage
I've send you a private message regarding your request.JuanUil wrote: ↑Wednesday 26 August 2020 9:21 Hi There nice frontpage!
For my garbage I need to use the opzet_api, in combination with www.mijnblink.nl
Is it possible to integrate this one as wel?
Jan
-
- Posts: 18
- Joined: Tuesday 23 June 2020 11:01
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Yet another frontpage
Could be my n00bness but when I change the idx for the bottom switches (in your case the PS4, Roomba etc.) to my Domoticz switches nothing happens on toggle. The link refers to my index.php file. In index.php I have the following code for powering off all lamps:
<div class="item col-6 col-md-4 col-lg-2 mb-3 mb-lg-0">
<a href="" onclick='ToggleSwitch("1");'>
<div class="item-inner">
<i class="flaticon-idea-1" <?php echo $active_style[0]; ?>></i>
<div class="flaticon-text">Lampen uit</div>
ToggleSwitch("1") is idx 1 in my Domoticz which is a scene.
<div class="item col-6 col-md-4 col-lg-2 mb-3 mb-lg-0">
<a href="" onclick='ToggleSwitch("1");'>
<div class="item-inner">
<i class="flaticon-idea-1" <?php echo $active_style[0]; ?>></i>
<div class="flaticon-text">Lampen uit</div>
ToggleSwitch("1") is idx 1 in my Domoticz which is a scene.
-
- Posts: 27
- Joined: Sunday 31 May 2020 10:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Yet another frontpage
Hi Gilbert,
The best way to use a scene is to adde the following to domoticz_switches.js
for reference: https://www.domoticz.com/wiki/Domoticz_ ... _on_or_off
or you can send another parameter with the ToggleSwitch and put in scene or light
but if you choose to go with the above then you should also change onclick='ToggleSwitch("1");' to onclick='ToogleScene("1");'
Domoticz uses different json url's for changing a light switch and changing a scene.
Cheers,
Patrick
The best way to use a scene is to adde the following to domoticz_switches.js
Code: Select all
function ToggleScene(idx){
$.ajax({ url: 'http://192.168.0.125:8080/json.htm?type=command¶m=switchscene&idx=' + idx + '&switchcmd=Toggle' });
}
or you can send another parameter with the ToggleSwitch and put in scene or light
but if you choose to go with the above then you should also change onclick='ToggleSwitch("1");' to onclick='ToogleScene("1");'
Domoticz uses different json url's for changing a light switch and changing a scene.
Cheers,
Patrick
-
- Posts: 497
- Joined: Friday 22 May 2015 12:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11083
- Location: Asten NB Nederland
- Contact:
Re: Yet another frontpage
Hi Patrck,
today tried to implement your frontpage with the implementation of blink you made for me.
I did it remotely because I am still on vacation.
When I enter http://192.168.x.xx:8080/Frontpage/index.php
I get a failure 501 not implemented.
I have installed php 7.3 with no result.
Any idea?
Jan
today tried to implement your frontpage with the implementation of blink you made for me.
I did it remotely because I am still on vacation.
When I enter http://192.168.x.xx:8080/Frontpage/index.php
I get a failure 501 not implemented.
I have installed php 7.3 with no result.
Any idea?
Jan
Your mind is like a parachute,
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
-
- Posts: 497
- Joined: Friday 22 May 2015 12:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11083
- Location: Asten NB Nederland
- Contact:
Re: Yet another frontpage
anyone any idea?
Your mind is like a parachute,
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
It only works when it is opened!
RPI4 several Fibaro, KaKu, Neocoolcam switches, Z-Wave, Zigbee2Mqtt, Ikea bulbs and remote, Zigbee temp nodes
-
- Posts: 85
- Joined: Sunday 26 July 2020 8:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Netherlands
- Contact:
Re: Yet another frontpage
Is the directory Frontpage or frontpage?
Who is online
Users browsing this forum: No registered users and 1 guest