boilermanc
(Clint Crowe)
February 28, 2019, 3:42pm
1
I feel like this used to work. Well, I know it did. But its been a bit since I filled the tank and now getting this error when I try to change the tank level and it does not update the remaining propane:
Item:
Number PropaneRemaining "Propane Remaining [%.2f Gal]" <gas>
Sitemap:
Setpoint item=PropaneRemaining minValue=0 maxValue=300 step=5
Error:
[WARN ] [rest.core.internal.item.ItemResource] - Received HTTP POST request at 'items/PropaneRemaining' with an invalid status value '230.00 Gal'.
namraccr
(namraccr)
March 1, 2019, 1:15am
2
How are you sending this POST? To what binding?
rossko57
(Rossko57)
March 1, 2019, 2:08am
3
It comes from the setpoint widget on the sitemap, and is a command for the OH Item.
Its a WARN, not an error. Does it actually work?
The widget seems to have sent a value with a QuantityType (Gal)
and Item PropaneRemaining just wants a plain Number
These UoM features are all new, I think we’ll need to know your OH version and which UI you use.
Let me rub a magic lamp … @vzorglub is Gal a supported UoM or is the widget being optimistic?
I am still on version 2.3. Have not had time to do the upgrade. Need to though.
And no, it does not work. Even though its just a WARN it does not update the number. I can try without the gallon.
I took the gal out and now it works. Thanks for the tip. I don’t think i need the gal on there so should be good. Thanks for the tip on that!
Number PropaneRemaining "Propane Remaining [%.2f]" <gas>```