Controme Smart-Heat

Hello @BoBiene

thanks for your very nice tool. It helped me to get the Controme temperature into OpenHab and provided me initial insights in how to address the Controme system via curl and POST.

As you seem to be more knowledgable in interfacing the Controme API I hope, that you could help me:

I’m trying to send temperature values into the Controme system as described in the Controme API documentation Setzen von Ist-Temperaturen. I obtained an sensor ID from Controme and received some days later an “Interface-description”, which reads as this:

mini-server-ip/set/sensor-ID/temperatur

(‘temperature’ is the sensor temperature to set)

I tried to use a curl command:

executeCommandLine("curl -X POST -F user=USERNAME -F password=PASWWORD http://MINI_IP_ADDRESS/set/SENSOR_ID/18.7")

(With ‘18.7’ being the value I want to set). However this and related variants didn’t work.

I has a short exchange with Controme, as the Interface description was way shorter, than I expected, and received information, that a GET request should be used in order to set the temperature and not a POST request. So, sth like that:

executeCommandLine("curl -X GET 'http://MINI_IP_ADDRESS/set/SENSOR_ID/18.7'")

However this doesn’t work either. Neither do other combinations, with authentication, following the syntax, which your tool creates, or other methods,as -u USER:PASSWORD.

My REST API interfacing skills are unfortunately not too high, and I wonder whether you have a clue concerning the SensorID question here:
I’m either misinterpreting the interface description I received, use the wrong GET command, or the description is faulty.
( Another direction I tried was to set the Sensor values in the JSON file, which is available under http://MINI_IP_ADDRESS/get/json/v1/2/temps/… (I had no luck here though - this might again be due to y lack of knowledge…)

Any help or hints would be very appreciated.