The Setpoint functions works via Web Browser but does not work in both Android & iOS.
When i press the “+” and “-” in the mobile app, it does not call the http commands but when i press the “Up” and “Down” via Web Browser, it works well.
When the AC is turned on with a default temperature, the Setpoint item will appear so that i can adjust the temperature if required.
Using a IR blaster with HTTP urls to send out IR commands to my AC.
OpenHAB Version: 1.8.3
OS: Debian on Raspberry Pi
Java: 1.8.0_111
Phone: Oneplus 3 Android 7.0 Latest OpenHAB Mobile App installed from Google Play Store
Tablet: iPad Mini 2 with iOS 10.2 Latest OpenHAB Mobile App installed from App Store
Post your entire Sitemap file. You may have syntax errors or missing elements that are confusing your mobile apps. (The mobile apps are less tolerant of errors than standard web browsers, it seems to me.)
Be sure to elide or change any sensitive personal info your Sitemap file may contain.
Moderately complex site map. Suggest you make a new test sitemap containing just one frame, one switch, and one set point, and test that.
Be sure the new sitemap has the 1st-line directive in it, as follows, and be sure the sitemap file name matches the sitemap definition name.
In this example, the file name will be: bluehouse.site
sitemap bluehouse label "Test Sitemap" {
// your test stuff goes here
} //closure of sitemap "bluehouse" definition
If your setpoint item works in this simple test, it’s an issue with your other sitemap architecture or syntax. If it fails this simple test the issue is elsewhere.
For comparison I am running Ubuntu 16.0.4 LTS on Intel Core Solo cpu.
My java version is: “1.8.0_91”
I also have Android & iPad / iOS Openhab apps and my setpoint sitemap features work fine with them.
I notice you are using the same variable names as in your main system / environment. Suggest that for testing purposes you make just one or two new Items and a simple brand new Rule as well. Don’t tie anything in with your existing code. That will help to further isolate the problem.
Also turn on TRACE level debugging & watch your logs carefully.
Are you running any http proxies or any other software or hardware (such as firewalls) that intermediate between Openhab port 8080 and your iOS / Android clients?
May sound silly but try changing:
[%.1f °C]
to
[%s]
in your item definition.
I’ve got about a dozen setpoints working OK in HabDroid with this.
Fiddeling around with sliders i noticed the android app is pretty picky concerning these placeholders. Changed placeholder to something(can’t remember what) and they stopped working. changed it back and they worked again…
Below is the reason why setpoint does not work on the mobile apps.
This is an issue with the REST api we are using in OH. We need to switch to using the event socket endpoint which is what the paperui/basicui/habmin use. This will require a refactoring of the network code which is why it has not been done yet
I’m experiencing on iPhone a malfunctioning SetPoint after App update. It worked before, but since last update (with new more slim logo) it stopped working. The value used to be 21’C, but now shows 0’C.
It does work on PaperUI and Android App, only iPhone shows it incorrect.
I’m faising the same issue on my iPhone
After last update with new icon I unable to set value in setpoint .
From web interface everything is working properly.
I am having the same issue listed above with setpoint, I have tried the workarounds mentioned above and it still does not send the command to my nest thermostat from the iOS app, it works from the basicUI interface. I searched and found other threads all saying it is no longer an issue, not sure what to try next.