Page 1 of 2
Need help, ESP8266 and HomeMatic home control (ELV)
Posted:
Fri Feb 26, 2016 1:18 pm
by peterK
Hello Forum,
I would like to send with MMISCOOL's Basic Interpreter to my HomeMatic home control following.
192.168.1.31:8181/config/xmlapi/statechange.cgi?ise_id=3945&new_value=1
If i enter this with firefox browser, the corresponding channel is switched,
but what must be done in the interpreter?
Would be nice if me someone could give a hint or a solution.
Gerd
Re: Need help, ESP8266 and HomeMatic home control (ELV)
Posted:
Fri Feb 26, 2016 4:53 pm
by Mmiscool
If you were using the normal port 80 you could use the wget() function to do this.
Code: Select allbla = wget("192.168.1.31/config/xmlapi/statechange.cgi?ise_id=3945&new_value=1#sthash.FMZPhHL1.dpuf")
Re: Need help, ESP8266 and HomeMatic home control (ELV)
Posted:
Fri Feb 26, 2016 9:01 pm
by forlotto
Interesting so ports other than 80 are not allowed. Future upgrade by next year maybe never know not that it makes a whole heck of a lot of difference I would imagine HomeMatic may be able to have a different port set somehow but I see a reason for wanting to use a nonstandard port.
+1 to the OP on this one I never really explored beyond port 80 on basic. Great question.
Re: Need help, ESP8266 and HomeMatic home control (ELV)
Posted:
Sat Feb 27, 2016 7:55 am
by peterK
Thanks Forum for reading,
thank Mmiscool for the explanation.
But I do not understand # sthash.FMZPhHL1.dpuf
Why? for what?
The solution is easier than I thought, after I take
old and working-> 192.168.1.31:8181/config/xmlapi/statechange.cgi?ise_id=3945&new_value=1
in Firefox
new and working too -> 192.168.1.31/config/xmlapi/statechange.cgi?ise_id=3945&new_value=1
have tested (without the port specification :8181)
and like to appear connected, I now know for HomeMatic CCU2
is the port specified here is not necessary.
Next step was
wget ("192.168.1.31/config/xmlapi/statechange.cgi?ise_id=3945&new_value=1")
and it works flawlessly with fast switching times with my ESP-01.
I'll turn it into a small program with query on / off
and put it in "project".
Gerd