Page 9 of 10
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Tuesday 22 December 2015 12:41
by tomeaton
It appears the last commit was 2 years ago on github. I'm guessing there's no more development on this. A shame as it was very promising but missing some key features.
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Monday 15 February 2016 14:04
by wxop
Still working on it, but have not pushed to GitHub since a while.
Will do it when I have some time. New features include:
- A new "ScreenSaver" dashboard displaying a nice looking Digital or Analog clock, as well as some selected sensors
- Supporting new "select" buttons (available in the Domoticz Dev version)
- May be adding some MySensors "actions"
- Fixing bugs, and mergin some PR
BTW : I'm still alone developping it, and I don't get many more feedback or PR from GitHub.....
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Monday 15 February 2016 16:03
by wxop
BTW I've just pushed the Develop branch to GH.
As you can see; development is NOT dead
I would need some PR to fix NL + DE languages files....
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Wednesday 17 February 2016 13:09
by wxop
If someone had some CSS skills, it would be really helpful if he could checkout the develop branch, then fix the clock page layout for mobile (I mean changing the fonts and margin sizes depending on the screen width, in the @media parameters ) for both analog and digital modes. I've already made a draft, but it needs some enhancements.
It would really speed up the release of the new PMD version.
Someone?
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Tuesday 23 February 2016 2:24
by wxop
for the braves, you can pull the
develop branch at Github (
https://github.com/phpMyDomo/phpMyDomo/tree/develop) , showing version 0.2a1. It should be fully functionnal !
Here is the current changelog :
https://github.com/phpMyDomo/phpMyDomo/ ... angelog.md
Enjoy
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Sunday 20 March 2016 14:49
by wxop
phpMyDommo
Version 0.200 just released
- new: Clock Page
- new: MySensors action
- new: Domoticz : implements Selector Button types
- new: Screensaver mode : clock or photoframe album
- new: Now support Nabaztag voices
- new: in Nabaztag Action : implements stream mode, voice selection, force action when sleeping, and various utility modes
- new: Lighttpd install documentation (thanks to cblomart)
- new: IOS fullscreen web app
- fix: No php warning on some servers without HTTPS
- fix: Minimum HTTP Timeout for faster actions
- fix: photo album count badge in Firefox
- fix: buttons height for Firefox
- fix: Domogik : state for dimmers
- dev: Domogik API cleanup
- dev: allow per devices dim min/max level
- dev: recursive merge of language
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Sunday 20 March 2016 15:41
by woody4165
Hi
I just saw your post and nice project.
I followed the instruction, but I'm not able to let it work. I'm using it on a Raspberry.
I have set the listening port of apache to port 8085 and if I go to that page I get the Apache starting page.
I have copied and checked .htaccess and all the other files like described in the installing page.
What else can I check?
Thanks
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Sunday 20 March 2016 16:04
by wxop
If you get the apache start page this is an apache configuration related issue:
- If you added a new port (ie 8085) you must have a "Listen 8085" and a NameVirual host set, ie on debian in /etc/apache2/ports.conf:
Code: Select all
NameVirtualHost *:8085
Listen 8085
- check your vhost config to check is the port is set to your 8085 port and the root directory match the pmd one. Your vhost config (in /etc/apache2/sites-enabled/) should look like something like that:
Code: Select all
<VirtualHost *:8085>
ServerName phpmydomo.local
DocumentRoot /var/www/pmd/www
<Directory /var/www/pmd/www/>
Options Indexes FollowSymLinks
AllowOverride All
</Directory>
</VirtualHost>
- obviously, restart apache after config changes
If it does not work, please find a tutorial on apache vhost configuration, and learn how to correctly configure apache vhosts, or simplier, use pmd in the default apache server (port 80) which is correctly setup by default. You might use pmd in a subdirectory, if your current 80 server is already used.
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Sunday 20 March 2016 16:24
by woody4165
I modify the default 80 port because was not working.
Now I have set again the Listen to 80 and I haven't set the NameVirtualHost (is it correct?).
I haven't set anything related to the VirtualHost since I have the default port, is it correct?
In the apache2.conf I have checked that I have
Code: Select all
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride All
(other directives)
</Directory>
Then I have restarted with command sudo /etc/init.d/apache2 stop and start
But it still shows me the apache page (now on port 80).
Any other suggestion?
Thanks
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Sunday 20 March 2016 17:16
by woody4165
Ok, found it.
I had to modify the 000-default.conf in the /etc/apache2/sites-enabled folder setting the right stuff.
Thanks, now it's working.
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Sunday 20 March 2016 19:11
by blackdog65
I'm in a similar position but with ipdomoticz:8080 dead as well now... big problems

Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Sunday 20 March 2016 19:26
by woody4165
Have you modified any configuration file in Apache?
Check apache2.conf and ports.conf in /etc/apache2 and check config files in etc/apache2/sites-available and etc/apache2/sites-enabled.
I haven't got any issue on 8080 port luckily.
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Sunday 20 March 2016 19:39
by blackdog65
Hi woody,
could you post your apache2.conf etc.
I'm in such deep doodoo! I have to use manual switches... SO 2015

Sean
Re: RE: Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Sunday 20 March 2016 20:14
by woody4165
blackdog65 wrote:Hi woody,
could you post your apache2.conf etc.
I'm in such deep doodoo! I have to use manual switches... SO 2015

Sean
You shouldn't have any port defined in the Apache.conf
You should have
# Include list of ports to listen on
Include ports.conf
And in the Ports.conf define the port, I left 80.
I left the Apache2.conf as the default one.
The you've to check the other conf files in the other folder I wrote before that contains the same port.
Inviato con Tapatalk
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Sunday 20 March 2016 20:24
by wxop
BTW guys /etc/apache2/sites-enabled/xxx are just symlinks to /etc/apache2/sites-available/xxx, which if present enable thoses vhost in apache (who only read vhosts from "sites-enabled") .
You will save time and headaches , by reading an apache vhost tutorial to understand how it work...

Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Thursday 07 April 2016 17:59
by blackdog65
Hi guys,
I have PMD up and running nicely now and I'm tweaking it to suit my needs as I learn.
BUT... I have a weird "8" on the page

- Selection_001.png (14.08 KiB) Viewed 8148 times
In the source code it shows up as
Code: Select all
<html><head></head><body id="body_home">8
and "inspect element" gives no clues, so I'm slowly trawling through all the files looking for it
A bit of a needle in a haystack
Has anyone had this problem?
Sean
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Thursday 07 April 2016 18:11
by blackdog65
Yay! It was in the last file I looked
1st character in config.php DOH!

Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Thursday 07 April 2016 19:22
by woody4165
I'm sorry to write again, but I had to reinstall the SD card in my Raspberry and tried to reinstall PhPMyDomo following the message I wrote and all the kind answers.
But I am able to let it work...
I haven't modified the ports.conf
My 000-default.conf is
Code: Select all
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
ServerName phpmydomo.local
ServerAdmin webmaster@localhost
DocumentRoot /var/www
# Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
# error, crit, alert, emerg.
# It is also possible to configure the loglevel for particular
# modules, e.g.
#LogLevel info ssl:warn
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
<Directory /var/www>
Options Indexes FollowSymLinks
AllowOverride All
</Directory>
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
</VirtualHost>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
My var/www folder contains:
Code: Select all
xxxxxx@raspberrypi:/var/www$ ls
_boot.php controller.php html inc index.php static
xxxxxxx@raspberrypi:/var/www$ ls html
admin index.html index.lighttpd.orig pihole
Strange thing is that I have installed pihole, an AD-BLOCKING and it's working at
http://192.168.xx.yy/admin/index.php
What can I check?
Sorry again...
Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Saturday 09 April 2016 12:12
by blackdog65
Hi guys,
Does anyone know how to add new pages?
I want a dedicated "Heating" page, so I started following these instructions
viewtopic.php?f=21&t=1076&p=6547&hilit= ... ages#p6547.
I cloned /var/www/inc/page/home.php (renamed heating.php) and also cloned /var/www/inc/smarty/skins/default/pages/home.tpl (hoping this is the correct template

) and added 'heating' to the menu in config. So far so good.
I now have a clone of my home page called 'Heating' that shows all my home page info.

How do I edit the content of this page?
Any help would be greatly appreciated
Sean
***Edit*** Just read this on MPD site
Object oriented, MVC design : easily build your own custom pages, in minutes...

Minutes?

Re: phpMyDomo: a convenient Domoticz Web Interface
Posted: Thursday 14 April 2016 11:29
by blackdog65
Ok, this sadly looks to be a dead thread.
It's a pity as PMD looked promising and very useful. My plan was to use it on 5 old 7" tablets, each set to show a different page for its relevant zone.
I'll struggle on trying to work it out for a day or two, but with no help I can't see it being any good for me.