The name 'SendHttpGetRequest' cannot be resolved to an item or type;

Hi everyone,

I’m trying to make this example (2) work WhatsApp Text Messages from OpenHAB - CallMeBot API but the log gives me an error on the sendHttpGetRequest action… do I first need to create an item? I installed the HTTP binding already but still same error…

I have the following in my script:

                             val urlmessage = URLEncoder::encode("This is a test from openHAB sending you a WhatsApp Message becaue something is happening in your house", 'UTF-8')
                            SendHttpGetRequest("https://api.callmebot.com/whatsapp.php?source=openHAB&phone=+12345679&apikey=987654&text=" + urlmessage)

Running 3.2 on dietPi
thnx

Try sendHttpGetRequest.

that capitalization gets me everytime as a PowerShell scripter…

thanks… it works now :slight_smile:

1 Like