prospective new user questions

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
alabamatoy
Posts: 2
Joined: Wednesday 30 January 2019 13:57
Target OS: Linux
Domoticz version:
Contact:

prospective new user questions

Post 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.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: prospective new user questions

Post 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
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
alabamatoy
Posts: 2
Joined: Wednesday 30 January 2019 13:57
Target OS: Linux
Domoticz version:
Contact:

Re: prospective new user questions

Post 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.
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: prospective new user questions

Post 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.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Post Reply

Who is online

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