Beeing totally new to this, I forked the addons-project, and put my changes to this binding in /usr/share/openhab2/addons:
[22:10:57] openhabian@openhab:/usr/share/openhab2/addons$ ls -1
org.openhab.binding.millheat-2.5.3-SNAPSHOT-sources.jar
README
After altering the log level through the console, I still can not se that my version is the one running. Checking in the console - the “old” binding is still the one running.
openhab> feature:list | grep mill
openhab-binding-millheat │ 2.5.2 │ x │ Started │ openhab-addons-2.5.2 │ Millheat Binding
Blockquote
So what am missing here??
Newbie - I used the wrong jar-file witch only contains sources :
org.openhab.binding.millheat-2.5.3-SNAPSHOT-sources.jar
Of course I assumed that they also included sources, a slightly different thing ![:slight_smile: :slight_smile:](https://community.openhab.org/images/emoji/twitter/slight_smile.png?v=12)
@seime : I might have a hint at what is wrong, but I have not been able to test it because of the above. Anyhow - the SetDeviceTempResponse class is unused, witch I find strange.
bundles/org.openhab.binding.millheat/src/main/java/org/openhab/binding/millheat/internal/handler/MillheatAccountHandler.java:424
final SetDeviceTempRequest req = new SetDeviceTempRequest(heater, setTemp, masterOnOff, fanActive);
try {
sendLoggedInRequest(req, SetRoomTempResponse.class);
Here we send SetDeviceTempRequest but is asking for a SetRoomTempResponse as response.
also - I logged the canChangeTemp comming back, and for an indivitual heater it is set to ‘1’ (true):
}
2020-03-07 22:18:54.090 [DEBUG] [llheat.internal.client.RequestLogger] - Response home-125
home-125 < HTTP/1.1 200 OK
home-125 < Content-Length: 370
home-125 < Content-Type: application/x-zc-object
home-125 < Server: Jetty(9.1.5.v20140505)
home-125 < X-Zc-Msg-Name: X-Zc-Ack
home-125 < X-Zc-Trace-Id: 9b416eba40c1587e80a68c22ab111be0
home-125 < Date: Sat, 07 Mar 2020 21:18:54 GMT
{
"deviceInfo": [
{
"fanStatusShow": 0,
"manualControlTime": 0,
"isManualControl": 0,
"isHoliday": 0,
"description": "",
"canChangeTemp": 1,
"holidayTemp": 18,
"deviceId": <device id>,
"deviceName": "ff_livingroom_k",
"roomId": <my room>,
"deviceStatus": 0,
"timer": "",
"heaterFlag": 0,
"powerStatus": 1,
"times": "",
"fanStatus": 0,
"subDomainId": 5316,
"coolingStatus": 0,
"currentTemp": 18.0,
"open": 0
}
]
}
“holidayTemp”: 18 seems to be the value that the oven in aiming for (targetTemperature)