Page 1 of 1

prospective new user questions

Posted: Wednesday 30 January 2019 14:18
by alabamatoy
1 - Can Domoticz work behind an existing webserver through a simple subdirectory? IOW, with my existing webserver, can I create a virtual directory mapping https://myservername.com/domoticz to some internal folder like /var/domoticz/html and have it work?

2 - Does Domoticz have some kind of an API exposed via the web? IOW, can I send https command strings (with appropriate authentication etc) to an existing functioning Domoticz setup and (for example) turn something on or off, or read / set a value? If not, is there an API exposed through some other means, perhaps accessible via bash?

I appreciate patience with newbie questions. I have not installed or even DLed Domoticz yet. I have a substantial investment in z-wave gear and have run aground on some issues with my existing implementation, and am looking at alternatives.

Re: prospective new user questions

Posted: Wednesday 30 January 2019 14:54
by waaren
alabamatoy wrote: Wednesday 30 January 2019 14:18 Does Domoticz have some kind of an API exposed via the web? IOW, can I send https command strings (with appropriate authentication etc) to an existing functioning Domoticz setup and (for example) turn something on or off, or read / set a value? If not, is there an API exposed through some other means, perhaps accessible via bash?
Yes ! Have a look at this wiki

Re: prospective new user questions

Posted: Wednesday 30 January 2019 15:29
by alabamatoy
waaren wrote: Wednesday 30 January 2019 14:54 Yes ! Have a look at this wiki
Doh! I searched for API, but must have fatfingered something since I didnt find that. TY!!

What about the URL directory question? If I can do that, I'm all in.

Re: prospective new user questions

Posted: Wednesday 30 January 2019 16:30
by waaren
alabamatoy wrote: Wednesday 30 January 2019 15:29
waaren wrote: Wednesday 30 January 2019 14:54 Yes ! Have a look at this wiki
Doh! I searched for API, but must have fatfingered something since I didnt find that. TY!!

What about the URL directory question? If I can do that, I'm all in.
Don't know how that works but I can access my domoticz instance via my domainname using https://xxx.xxx.xx:443 after I forwarded that port to my system where domoticz is executed.