Page 2 of 2

Re: phpMyDomo: a WebApp remote for all Domotic Software

PostPosted: Fri Apr 28, 2017 12:27 am
by wxop
@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:

Re: phpMyDomo: a WebApp remote for all Domotic Software

PostPosted: Fri Apr 28, 2017 1:02 am
by wxop
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 ;-)

Re: phpMyDomo: a WebApp remote for all Domotic Software

PostPosted: Fri Apr 28, 2017 10:06 am
by freedomotic
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

Re: phpMyDomo: a WebApp remote for all Domotic Software

PostPosted: Fri Apr 28, 2017 1:36 pm
by wxop
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:

Re: phpMyDomo: a WebApp remote for all Domotic Software

PostPosted: Sun Mar 17, 2019 3:31 pm
by wxop
phpMyDomo Version 0.500 just released !
- new: Support for OpenHab v2 API (v1 still available as 'openhab1')
- new: Domoticz - Clicking on Sensor values links to their graphs (log) page.
- new: Domoticz - New sensors types supported: custom, text, alert, mediaplayer
- fix: Fixes selectors for the latest Domoticz versions (names are now base64 encoded)
- dev: New sensors Types : 'mediaplayer', 'text', 'date', 'time', 'custom'
- new: XBMC Action - renamed to 'kodi'. Update your calls ("type=xbmc" becomes "type=kodi" in the url)
- fix: XBMC Action - parameter 'image' renamed to 'icon'. . Update your calls ("image=" becomes "icon=" in the url)
- new: Growl Action - handles Notifications Groups.
- new: Growl Action - accepts unfiltered 'title' and 'message' parameters
- new: Localize Numbers formats
- fix: Devices Pages - smallers rows
- fix: Black Theme - lighter text color in right block & devices pages
- fix: Better Debug Popover positioning in devices page
- new: Always show Debug Popover (on icon click) in devices page
- fix: Squeezebox display in Medium viewport
- fix: Timer audio files enhancements
- fix: 'HTTP_PORT' constant in some funky php installation
- dev: freedomotic draft implementation
- dev: MySensors documentation fix (mtype)


cheers ;-)