phpMyDomo: a convenient Domoticz Web Interface

Client tools or tools that can connect with Domoticz. Tools for Windows, iOS, Android, Linux etc.

Moderator: leecollings

Your Opinion about phpMyDomo

Seems cool, I intend to contribute as a dev/writer/designer ...
6
7%
Seems cool, I will install/use it
51
57%
Seems promising, but I miss some features
21
24%
I dont need any other Domoticz Web interface
11
12%
 
Total votes: 89

tomeaton
Posts: 20
Joined: Friday 08 May 2015 18:54
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post 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.
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post 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.....
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post 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....
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post 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?
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post 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
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post 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
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
woody4165
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

Post 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
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
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post 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.
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
woody4165
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

Post 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
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
woody4165
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

Post 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.
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
User avatar
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

Post by blackdog65 »

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

Post 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.
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
User avatar
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

Post 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
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
woody4165
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

Post 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
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
User avatar
wxop
Posts: 96
Joined: Sunday 24 November 2013 19:13
Target OS: Linux
Domoticz version:
Contact:

Re: phpMyDomo: a convenient Domoticz Web Interface

Post 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... ;-)
Developer of phpMyDomo, a Web Interface for Domoticz
-----------------------------------------------------------------------
User avatar
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

Post 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 :shock:
Selection_001.png
Selection_001.png (14.08 KiB) Viewed 8140 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 :cry:
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
User avatar
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

Post by blackdog65 »

Yay! It was in the last file I looked :roll:

1st character in config.php DOH! :oops:
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
woody4165
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

Post 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... :shock: :?

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

Post 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. :roll: How do I edit the content of this page?

Any help would be greatly appreciated :D

Sean

***Edit*** Just read this on MPD site
Object oriented, MVC design : easily build your own custom pages, in minutes...
:shock: Minutes? :lol:
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
User avatar
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

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

Who is online

Users browsing this forum: Google [Bot] and 1 guest