There are two set points. CurrentSetPoint and SetPoint.
Current set point displays the current value read only.
The idea is SetPoint would be writable to change the value with Evohome. That being said this isn’t implemented yet as you need a temperature and a duration (if you’ve used the native who home app you know you will always have to set an “until” when manually overriding the temperature) this doesn’t really work very well for openhab so I’m not sure how I’m going to implement it yet (hence it doesn’t work).
Happy to test where i can, it’s a binding i’ve been desperate for but unfortunately i don’t understand coding enough to contribute there.
Anyway, looks to me like the binding is updating fine. Below shows the existing version, i then deleted it from the addons folder, then added 2.10 version, then back to 2.11 from your link above. All appear to correctly update in the karaf console:
openhab> bundle:list | grep Evo
209 | Active | 80 | 2.1.1.201706011308 | Evohome Binding
openhab> bundle:list | grep Evo
openhab> bundle:list | grep Evo
210 | Active | 80 | 2.1.0.201705221349 | Evohome Binding
openhab> bundle:list | grep Evo
211 | Active | 80 | 2.1.1.201706011308 | Evohome Binding
I’m not sure what the date number is after the version, but yours is still showing different to mine even after re-installing.
Suffice to say, after the above and a restart i still don’t get the setpoint updates.
I did a little bit of quick testing this morning. I used the link in post 84 and built a new OH2 instance on my Mac with just the EvoHome binding in it. Copying in the basic items file & sitemap allowed me to get the current temperatures but I’m still not seeing the SetPoints or SetPointStatus values.
Logs show the SetPoints changing from NULL to 0.
I haven’t done anything via the karaf console, as it’s a clean OH2 install.
Thanks for your input. Yesterday I had a little time on hand and did a clean install check as well. I got the same results as you did. I put up a fresh binary here and tested that as well. I hope this solves your issues. Please use Karaf’s bundle:update as described before as that seems to be the recommended way to go.
Sorry for the hickup! I will from now on check on a clean install myself
Also: I just sold my house and the new owners bought my evohome setup with it. That means that I will probably will be out of a system, at least for a while. I’ll probably/maybe install a new setup in my new place (which will then also control the hot water). But I have other stuff to buy there as well which has higher priority
That new version has done the trick :-). I didn’t read your full post and simply removed the old jar and replaced with the new in the addons folder. It then worked instantly.
Just to add, in the Paper UI it still does not show the setpoint. From Neil’s post this is because the setpoint used as a channel is there for future use to actually set a new setpoint. You need to add a new item manually like this:
Just to confirm that with a completely clean OH2 and the SNAPSHOT-2.jar I can now see the (newly named) ‘Current Set point’ values for all my rooms.
All three channels are listed in PaperUI (‘Temperature’, ‘Current Set point’ & ‘Set point status’) and all show up in both PaperUI control and in my sitemaps as expected after defining them in my heating.items file:
Number Heating_GF_Lounge "Lounge Setpoint [%.1f °C]" <heating> (GF_Lounge, Heating) { channel="evohome:heatingzone:xxxxxxxx:Lounge:CurrentSetPoint" }
Number Heating_Status_GF_Lounge "Lounge Setpoint Status [%.1f °C]" <heating> (GF_Lounge, Heating) { channel="evohome:heatingzone:xxxxxxxx:Lounge:SetPointStatus" }
Number Temperature_GF_Lounge "Lounge Reported Temp [%.1f °C]" <temperature> (GF_Lounge, Heating) { channel="evohome:heatingzone:xxxxxxxx:Lounge:Temperature" }
In PaperUI control the ‘Set point status’ value is a ‘-NaN’, in my sitemaps it just shows as a ‘-’. This is expected based on Neil’s comments earlier.
Just to also note that in the initial run of a clean OH there were a lot of errors generated about the EvoHome binding, but they were not repeated on a subsequent restarts.
In PaperUI control the ‘Set point status’ value is a ‘-NaN’, in my sitemaps it just shows as a ‘-’. This is expected based on Neil’s comments earlier.
Almost: Neil refers to SetPoint, SetPointStatus is a String, so therefore it shows up as -NaN: it’s not a Number
Just to also note that in the initial run of a clean OH there were a lot of errors generated about the EvoHome binding, but they were not repeated on a subsequent restarts.
That is new info to me. Do you have the logs on that one? Otherwise I’ll try to reproduce, but I don’t recall seeing that before. Update: Just tested, but couldn’t reproduce on fresh install.
Just to add, in the Paper UI it still does not show the setpoint. From Neil’s post this is because the setpoint used as a channel is there for future use to actually set a new setpoint.
Indeed, SetPoint is switched off for now, so that the chances that it makes it into the main repo are bigger.
Does this mean that everything works for you as it should now?
Downloaded base OH2 zip file, unzipped it and then copied the addon and my simple config into the directory.
Run from terminal using ./start.sh
This is the openhab.log that gets generated. openhab.log.pdf (23.0 KB)
Just to reiterate, it doesn’t stop the binding working and doesn’t happen if I stop OH, clear the logs and the restart OH. I assume it’s just Java being Java and once OH is running it isn’t an issue ever again. I’ve ONLY seen it on the latest version as well.
Hi guys, a small personal update. I’ve seen some issues raised on github which tells me that more people start using the binding. I am very excited to seeing this and it motivates me to continue.
However, with a new house, a new client starting up and a pregnant wife I’m afraid that my time is stretched thin for the upcoming weeks. Moreover, I won’t be owning an evohome for a while since I’m selling my current installation with the house. I’ll try to mock the response data in the intermittent time.
For now, please keep testing and creating issues so we can make this a full featured binding!
Looks like the binding doesn’t work with the new 2.1 release of OH:
2017-07-12 11:40:08.772 [WARN ] [org.apache.felix.fileinstall ] - Error while starting bundle: file:/usr/share/openhab2/addons/org.openhab.binding.evohome-2.1.1-SNAPSHOT-2.jar
org.osgi.framework.BundleException: Could not resolve module: org.openhab.binding.evohome [9]
Unresolved requirement: Import-Package: com.google.common.collect
at org.eclipse.osgi.container.Module.start(Module.java:434)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.eclipse.osgi.internal.framework.EquinoxBundle.start(EquinoxBundle.java:392)[org.eclipse.osgi-3.10.101.v20150820-1432.jar:]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundle(DirectoryWatcher.java:1253)[4:org.apache.felix.fileinstall:3.5.6]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.startBundles(DirectoryWatcher.java:1225)[4:org.apache.felix.fileinstall:3.5.6]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.doProcess(DirectoryWatcher.java:512)[4:org.apache.felix.fileinstall:3.5.6]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:361)[4:org.apache.felix.fileinstall:3.5.6]
at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:312)[4:org.apache.felix.fileinstall:3.5.6]