Setpoint in sitemap shows 1 decimal digit after the decimal point


I have an issue with the setpoint in sitemaps. The iOS app always sets the values with 1 decimal although the definition of the item is a number without decimals and the step definition in the sitemap is set to 1.


Number			doorAlertNightStart		"Nachtalarm Start [%d:00]"							<clock>			(gPersist,Garadget)
Number			doorAlertNightEnd		"Nachtalarm Ende [%d:00]"							<clock>			(gPersist,Garadget)
Number			doorAlertDurationValue	"Dauer Status offen [%d Min]"					<clock>			(gPersist,Garadget)


Setpoint	item=doorAlertDurationValue	label="Dauer Status offen" icon="clock" minValue=1 maxValue=60 step=1
Setpoint	item=doorAlertNightStart	label="Nachtalarm Start" icon="clock" minValue=12 maxValue=23 step=1
Setpoint	item=doorAlertNightEnd		label="Nachtalarm Ende" icon="clock" minValue=0 maxValue=12 step=1

The iOS app shows for the setpoints 1 digit after the decimal point:

The same sitemap in Safari (on iOS device) and in any webbrowser shows it correctly without decimals:

Also in the events.log, the decimals are there when the value is changed with the iOS app but not when the value is changed in a browser.

changed in IOS app:

2017-08-31 21:12:51.958 [ome.event.ItemCommandEvent] - Item 'doorAlertNightEnd' received command 7.0
2017-08-31 21:12:51.960 [vent.ItemStateChangedEvent] - doorAlertNightEnd changed from 6 to 7.0
2017-08-31 21:12:54.356 [ome.event.ItemCommandEvent] - Item 'doorAlertNightEnd' received command 6.0
2017-08-31 21:12:54.358 [vent.ItemStateChangedEvent] - doorAlertNightEnd changed from 7.0 to 6.0

changed in browser:

2017-08-31 21:21:05.961 [ome.event.ItemCommandEvent] - Item 'doorAlertNightEnd' received command 7
2017-08-31 21:21:05.962 [vent.ItemStateChangedEvent] - doorAlertNightEnd changed from 6.0 to 7
2017-08-31 21:21:07.895 [ome.event.ItemCommandEvent] - Item 'doorAlertNightEnd' received command 6
2017-08-31 21:21:07.895 [vent.ItemStateChangedEvent] - doorAlertNightEnd changed from 7 to 6

Is there a bug in the iOS app or do I have a bug in my setup?


I would guess there is a bug with the iOS app. There is nothing I see wrong with your setup and it looks and behaves correctly in the browser.

Which UI are you using for the browser, ClassicUI or BasicUI?

I’m using the basicui. But I also checked the classicui and there everything is fine. So it looks definitely like an iOS app bug. In the meanwhile I found the following bug reports (issues):