Search found 4 matches

by chamsters
Friday 19 July 2019 11:40
Forum: Other questions and discussions
Topic: Trying to pass value into domoticz API using PHP-CURL
Replies: 3
Views: 748

Re: Trying to pass value into domoticz API using PHP-CURL

Looks like I have senlinux which was limiting me.

Followed guidance here: https://stackoverflow.com/questions/488 ... ion-denied


Which solved it :)
by chamsters
Friday 19 July 2019 11:29
Forum: Other questions and discussions
Topic: Trying to pass value into domoticz API using PHP-CURL
Replies: 3
Views: 748

Re: Trying to pass value into domoticz API using PHP-CURL

This is de update device function of pass2php: function ud($name,$nvalue,$svalue,$check=false) { global $user,$d,$domoticzurl; if ($d[$name]['i']>0) { if ($check==true) { if ($d['name']['s']!=$svalue) { return file_get_contents($domoticzurl.'/json.htm?type=command&param=udevice&idx='.$d[$name]['i ...
by chamsters
Thursday 18 July 2019 18:20
Forum: Other questions and discussions
Topic: Trying to pass value into domoticz API using PHP-CURL
Replies: 3
Views: 748

Trying to pass value into domoticz API using PHP-CURL

Hi folks, Been trying to get a PHP script of mine to load the domoticz API page using CURL to store some data. Going absolutely crazy after reading 4 different ways to do it, implementing each, but not a single one works. One version of code. This computer resides on the same network as the domotics ...
by chamsters
Tuesday 28 November 2017 15:12
Forum: Python
Topic: Ginlong, Omnik Solar, Solarman and Trannergy Inverters
Replies: 231
Views: 95561

Re: Ginlong, Omnik Solar, Solarman and Trannergy Inverters

Erwinvos72 wrote: Friday 30 September 2016 10:46 Is there already a possibility to read the values from a Solax-X inverter in Domoticz? I have tried it with the base settings in the stationid.py but i receive errors when i run the script about http.
Hey - did you have any luck with solax?