phpMyDomo: a convenient Domoticz Web Interface
Moderator: leecollings
-
- Posts: 20
- Joined: Friday 08 May 2015 18:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: phpMyDomo: a convenient Domoticz Web Interface
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
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.....
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.....
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
-----------------------------------------------------------------------
Re: phpMyDomo: a convenient Domoticz Web Interface
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....
As you can see; development is NOT dead

I would need some PR to fix NL + DE languages files....
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
-----------------------------------------------------------------------
Re: phpMyDomo: a convenient Domoticz Web Interface
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?
It would really speed up the release of the new PMD version.
Someone?
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
-----------------------------------------------------------------------
Re: phpMyDomo: a convenient Domoticz Web Interface
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
Here is the current changelog :
https://github.com/phpMyDomo/phpMyDomo/ ... angelog.md
Enjoy
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
-----------------------------------------------------------------------
Re: phpMyDomo: a convenient Domoticz Web Interface
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
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
-----------------------------------------------------------------------
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: phpMyDomo: a convenient Domoticz Web Interface
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
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
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
Re: phpMyDomo: a convenient Domoticz Web Interface
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:
- 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:
- 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.
- 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
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>
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.
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
-----------------------------------------------------------------------
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: phpMyDomo: a convenient Domoticz Web Interface
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
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
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>
But it still shows me the apache page (now on port 80).
Any other suggestion?
Thanks
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: phpMyDomo: a convenient Domoticz Web Interface
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.
I had to modify the 000-default.conf in the /etc/apache2/sites-enabled folder setting the right stuff.
Thanks, now it's working.
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
- blackdog65
- Posts: 311
- Joined: Tuesday 17 June 2014 18:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Norfolk, UK
- Contact:
Re: phpMyDomo: a convenient Domoticz Web Interface
I'm in a similar position but with ipdomoticz:8080 dead as well now... big problems 

CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: phpMyDomo: a convenient Domoticz Web Interface
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.
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.
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
- blackdog65
- Posts: 311
- Joined: Tuesday 17 June 2014 18:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Norfolk, UK
- Contact:
Re: phpMyDomo: a convenient Domoticz Web Interface
Hi woody,
could you post your apache2.conf etc.
I'm in such deep doodoo! I have to use manual switches... SO 2015
Sean
could you post your apache2.conf etc.
I'm in such deep doodoo! I have to use manual switches... SO 2015

Sean
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: RE: Re: phpMyDomo: a convenient Domoticz Web Interface
You shouldn't have any port defined in the Apache.confblackdog65 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 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
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
Re: phpMyDomo: a convenient Domoticz Web Interface
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...
You will save time and headaches , by reading an apache vhost tutorial to understand how it work...

Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
-----------------------------------------------------------------------
- blackdog65
- Posts: 311
- Joined: Tuesday 17 June 2014 18:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Norfolk, UK
- Contact:
Re: phpMyDomo: a convenient Domoticz Web Interface
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
In the source code it shows up as
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
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

Code: Select all
<html><head></head><body id="body_home">8

A bit of a needle in a haystack
Has anyone had this problem?
Sean
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
- blackdog65
- Posts: 311
- Joined: Tuesday 17 June 2014 18:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Norfolk, UK
- Contact:
Re: phpMyDomo: a convenient Domoticz Web Interface
Yay! It was in the last file I looked
1st character in config.php DOH!

1st character in config.php DOH!

CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
-
- Posts: 476
- Joined: Monday 14 March 2016 13:55
- Target OS: Linux
- Domoticz version: beta
- Location: Rome, Italy
- Contact:
Re: phpMyDomo: a convenient Domoticz Web Interface
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
My var/www folder contains:
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...
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
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
What can I check?
Sorry again...
Cubietruck - Linux cubietruck 4.13.16 (Debian GNU/Linux 8 (jessie)) + Domoticz + RFLink, Xiaomi Gateway, Owl USB, Yeelight Color and B/W, ESP8266, Broadlink RM2, Netatmo Thermostat
- blackdog65
- Posts: 311
- Joined: Tuesday 17 June 2014 18:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Norfolk, UK
- Contact:
Re: phpMyDomo: a convenient Domoticz Web Interface
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
Minutes? 
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

I now have a clone of my home page called 'Heating' that shows all my home page info.

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...


CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
- blackdog65
- Posts: 311
- Joined: Tuesday 17 June 2014 18:25
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Norfolk, UK
- Contact:
Re: phpMyDomo: a convenient Domoticz Web Interface
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.
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.
CubieTruck Master
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
RasPi slaves
Aeon Labs Z-Stick, multi sensor
Fibaro Dimmers, relays, Universal sensors
EQ3 MAX!
TKB Sockets
RFXCOM
LightwaveRF sockets, switches, relays, doorbell
MySensors
ESPEasy ESP8266-12E
Who is online
Users browsing this forum: No registered users and 1 guest