JSON not working properly outside Domoticz webserver / No Php support in Domoticz own webserver
Posted: Monday 09 October 2017 19:32
Version: 3.8153
Platform: Raspberry Pi 3
Plugin/Hardware: Razberry 2 z-wave
Description:
I'm running a custom website with a frontend for switches in Domoticz based on JSON. I've gotten the code from the three youtube companion articles found here: https://fabuloushomeautomation.wordpress.com/
I used to have the website running on Apache webserver on Raspberry Pi, and everything worked perfectly until I updated Domoticz to a new version. After this, it has only worked one way (if something changes in Domoticz, it does so in my website also --- but if I press a button on my website, nothing happens).
I know that there's nothing wrong with the coding, since it works perfectly when I upload the site to within Domoticz own webserver.
Domoticz own webserver, however, doesn't have Php-functionality, which I need for other purposes.
That leaves me with two possible ways of solving this:
1.) Add Php-functionality to Domoticz own (proprietary?) webserver
2.) Somehow solve the issue that JSON-commands only works one way outside of Domoticz webserver.
I'm at a loss to know how to go about this
Plz help.
Platform: Raspberry Pi 3
Plugin/Hardware: Razberry 2 z-wave
Description:
I'm running a custom website with a frontend for switches in Domoticz based on JSON. I've gotten the code from the three youtube companion articles found here: https://fabuloushomeautomation.wordpress.com/
I used to have the website running on Apache webserver on Raspberry Pi, and everything worked perfectly until I updated Domoticz to a new version. After this, it has only worked one way (if something changes in Domoticz, it does so in my website also --- but if I press a button on my website, nothing happens).
I know that there's nothing wrong with the coding, since it works perfectly when I upload the site to within Domoticz own webserver.
Domoticz own webserver, however, doesn't have Php-functionality, which I need for other purposes.
That leaves me with two possible ways of solving this:
1.) Add Php-functionality to Domoticz own (proprietary?) webserver
2.) Somehow solve the issue that JSON-commands only works one way outside of Domoticz webserver.
I'm at a loss to know how to go about this
Plz help.