General area when it fits no where else

Moderator: Mmiscool

User avatar
By peterK
#41953 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
User avatar
By Mmiscool
#41959 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")
User avatar
By forlotto
#41967 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.
User avatar
By peterK
#41991 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