phpMyDomo: a WebApp remote for all Domotic Software

Show or discuss your existing Home automation project here, so a detailed explanation!.....

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Fri Apr 28, 2017 12:27 am

@freedomotic
I did not found any online API, and BTW demo.freedomotic.com, it neither responding.

But if you wish to add support for your software it is really easy, as :
1) your software must have an http API (JSON, RPC, REST...), I guess yes
2) you have basic php knowledge
3) you just duplicate the current domoticz API (certainly the most complete) :
https://github.com/phpMyDomo/phpMyDomo/ ... i/domoticz
and just change the code so that your API values/names are correctly linked to PMD definitions.
4) submit a PR in our Repo

This not hardly documented, but the code is really simple and very small.
Then all your user base could immediately benefit from a nice responsive frontend with a high WAF :lol:
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Fri Apr 28, 2017 1:02 am

phpMyDomo Version 0.300 just released !
Code: Select all
- new: Implements Logitech SqueezeBox Remote controller (Musicians will certainly love the loop feature, while other may enjoy the FF,REW buttons)
- new: Allows (multiple) warnings (red highlight) whenever sensor values change
- new: Allows custom blocks
- new: Domoticz Push Buttons
- new: Domoticz supports Door Contacts, Luminosity and Distance sensors
- new: Italian Language (Thanks to Aldodemi)
- fix: MySensors 'type' field renamed to 'mtype'
- fix: Time display in calendar block
- dev: Debug Device Popover no longer under NavBar
- dev: 'utils/calc' page allows conversion between AB400 jumpers / House,Unit Code
- dev: Minify updated to v2.3
- dev: FontAwesome updated to v4.6.3
- dev: latest MySensors_php_API library
- dev: allow to force language in the URL using 'lang='


Enjoy ;-)
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby freedomotic » Fri Apr 28, 2017 10:06 am

Hi @wxop
you can try our online API (admin/admin as credential) at http://93.186.254.203:9111/
A web client demo is available at http://93.186.254.203:8090/

Thanks
Freedomotic Open Source Building Automation
http://freedomotic.com
User avatar
freedomotic
Starting Member
Starting Member
 
Posts: 33
Joined: March 2012
Location: Italy

Re: phpMyDomo: a WebApp remote for all Domotic Software

Postby wxop » Fri Apr 28, 2017 1:36 pm

Hi @freedomotic :D

Thank to your API link, I've implemented a draft API client for Freedomotic.
Currently it should work for switches, temperature and door sensors as currently exposed in your demo API.
So basically , used only as a command front-end, PMD now works for Freedomotic (at least in your online demo) !!!! 8)

As my time is too much limited, and as your API documentation lacks a lof of definitions (ie object structures, types list with descriptions and examples), I wont be able to do anything more.

But the current Freedomotic implementation in PMD, is a good start for anyone on your side to complete it with other sensor/commands definitions.

May I suggest you to announce this to your developpers and/or community users, so that anyone with some php knowledge and interested to get a responsive GUI with a (widely proved) WAF for Freedomotic, could finish it (now REALLY easy when someone masters the Freedomotic API) and send a PR at Github.


The working code is on the develop branch at:
https://github.com/phpMyDomo/phpMyDomo/tree/develop

enjoy :wink:
wxop
Starting Member
Starting Member
 
Posts: 15
Joined: December 2013

Previous

Return to Home Automation Projects

Who is online

Users browsing this forum: No registered users and 1 guest