I have a question and i am not sure if my idea is just stupid or that i am just doing it wrong.
I want to create a custom dashboard for each of my rooms so you do not have a load of buttons for another room displayed on your dashboard, i wanted to use wordpress for that because i have experience with that and it works really well for me. now i have the html json calls and they work fine but every time i use that html link underneath a button, so i press the button on the wordpress page and my light turns on, but it also opens a response page from domoticz and that is the thing i do not want.
so is there anybody out there who has a suggestion for what i am doing wrong?
thanks in advance for all the help!
Wordpress frontend
Moderators: leecollings, remb0
-
- Posts: 241
- Joined: Tuesday 16 May 2017 13:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Neterlands
- Contact:
Wordpress frontend
raspberry pi | xiaomi vacuum | yeelight | philips hue | zwave | ubiquiti unifi | harmony | sonoff | zigbee2mqtt | https://www.youtube.com/channel/UC2Zidl ... m1OLuNldfQ
-
- Posts: 30
- Joined: Monday 04 April 2016 22:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Wordpress frontend
I've actually wanted a WordPress dashboard for a while, can you share pics when you finish yours.snellejellep wrote:I have a question and i am not sure if my idea is just stupid or that i am just doing it wrong.
I want to create a custom dashboard for each of my rooms so you do not have a load of buttons for another room displayed on your dashboard, i wanted to use wordpress for that because i have experience with that and it works really well for me. now i have the html json calls and they work fine but every time i use that html link underneath a button, so i press the button on the wordpress page and my light turns on, but it also opens a response page from domoticz and that is the thing i do not want.
so is there anybody out there who has a suggestion for what i am doing wrong?
thanks in advance for all the help!
I don't have the link right now, but there's a guy who went completely through json calls on buttons and such. His blog is "fabulous home automation", if you search for that you should find it, if not, let me know and I'll get a link.
Sent from my Nexus 6 using Tapatalk
-
- Posts: 241
- Joined: Tuesday 16 May 2017 13:05
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.2
- Location: The Neterlands
- Contact:
Re: Wordpress frontend
i can share pictures but for now it is just a basic thing i wanted to try and i noticed that it worked fine but ony i got the json response page when i pushed the button, clearly i am doing something wrong but i have no idea whatskybehind wrote: ↑Wednesday 21 March 2018 15:28I've actually wanted a WordPress dashboard for a while, can you share pics when you finish yours.snellejellep wrote:I have a question and i am not sure if my idea is just stupid or that i am just doing it wrong.
I want to create a custom dashboard for each of my rooms so you do not have a load of buttons for another room displayed on your dashboard, i wanted to use wordpress for that because i have experience with that and it works really well for me. now i have the html json calls and they work fine but every time i use that html link underneath a button, so i press the button on the wordpress page and my light turns on, but it also opens a response page from domoticz and that is the thing i do not want.
so is there anybody out there who has a suggestion for what i am doing wrong?
thanks in advance for all the help!
I don't have the link right now, but there's a guy who went completely through json calls on buttons and such. His blog is "fabulous home automation", if you search for that you should find it, if not, let me know and I'll get a link.
Sent from my Nexus 6 using Tapatalk
raspberry pi | xiaomi vacuum | yeelight | philips hue | zwave | ubiquiti unifi | harmony | sonoff | zigbee2mqtt | https://www.youtube.com/channel/UC2Zidl ... m1OLuNldfQ
- Egregius
- Posts: 2582
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Wordpress frontend
Why would you use WordPress for that?
Why not just PHP?
What you want should be fairly easy with my php floorplan.
Why not just PHP?
What you want should be fairly easy with my php floorplan.
Re: Wordpress frontend
Agreed, Wordpress is overkill in this situation. I can understand that it is easy if you are used to working with it however, so each to his own.
Personally, I would just create a page with divs with the appropiate buttons in them, and then switch the css-display on the divs between none and block with javascript. Then you can just create buttons anyway you want (be it PHP or any other way you want)
- DeBaat
- Posts: 33
- Joined: Saturday 27 January 2018 14:52
- Target OS: NAS (Synology & others)
- Domoticz version: V3.8153
- Contact:
Re: Wordpress frontend
Interesting idea.
I'm also a huge fan of WordPress.
Would it be possible to have WordPress plugin for handling Domoticz stuff?
I would be willing to help as I do have some experience in building a plugin myself.
I'm also a huge fan of WordPress.
Would it be possible to have WordPress plugin for handling Domoticz stuff?
I would be willing to help as I do have some experience in building a plugin myself.
Who is online
Users browsing this forum: No registered users and 1 guest