Insteon Thermostat - cannot set the Heat setpoint of Cool from Openhab

Navigate to the Item and click “add metadata” them choose “default list item widget”. You can make any customizations to how this Item appears in the overview cards there.

It should choose the stepper widget by default but if not select that under “Widget”. The “min”, “max”, and “step” fields are what controls the behavior of the widget.

Number Items are only ever floating point numbers. You can display thiem as if they were integers and you can configure the widgets to treat them as integers, but a number is a number. There’s nothing preventing you from commanding or updating a number to something with decimal places. Therefore you need to add this constraint to the UI widget.

WOW - you must have been sitting in front of your computer waiting for me to ask a question !!
:slight_smile:

Your suggestion work PERFECTLY !!!

Thanks !!

This stuff is SOOOOO COOL !!!

Far more advanced that I could have ever imagined !!!

I do Data Acquisition and Control for a living (SCADA) for the Electric Grid Industry. We control over 30 GW of Generators world wide from our Control Room in Philadelphia PA. So my work and hobby are the same thing !! Wish our Utility Grade control systems were as flexible as OpenHab !! We are moving to a new platform called “Ignition” from Inductive Automation - much more flexible than our existing Siemens system.

I’m glad you got it working! There are lots of moving parts but once you get the hang of it it starts to make sense. Note, when OH gets some other widget wrong and the Item either isn’t semantically tagged (my rule of thumb is only about 60% of your Items belong in the semantic model) or you just cannot get the widget you want through the tags (e.g. what if you wanted a slider instead of a stepper widget for your heat setpoint), this is how you would override the widget and supply your own.

Thenyou can create a custom widget that you can reuse in more than one place. It’s covered in Getting Started but at a high level you’ll:

  1. create a widget on an Item you like on the Item metadata
  2. click the code tab and copy the code you find there
  3. navigate to Developer Tools → UI Widgets and create a new UI widget
  4. paste the code and edit it, making it fit and adding and using properties
  5. navigate to your Items and choose your custom widget instead and fill in the properties

Then you can have the one widget used by multiple Items and if you ever need to change something, you can change it in just the one place.

There are also widgets you can install from Add-on Store → User Interface → Widgets for MainUI.

Just keep in mind that OH cuts a lot of corners that wouldn’t be allowed in a SCADA context. For example, there really is no guarantee of order of operations. If two events occur really close together, you can’t guarantee that the first one actually gets processed first. It’s not real-time so if an operation takes too long to complete, that doesn’t lead to an error. It’ll just block until OH gets to it.

In a home context these are not a problem. No one is going to get hurt, lose lots of money, or damage equipment if the light takes an extra half second to trun on.

Don’t take what you know of SCADA and expect the same rigor from OH. That’s going to lead to disappointment. There’s overlap for sure but they are not the same.

Oh - i know not to expect form OH what i expect from say Ignition… but i can sure have allot of fun !! BTW OH was MUCH less expensive!!

Hey Guys - so everything is working PERFECTLY with my Insteon Thermostat through OpenHAB !!! Working so well that over the weekend I actually replaced my existing thermostat with the Insteon Thermostat. Until this weekend my old manual thermostat was controlling the HVAC in our home - and the Insteon Thermostat was on my desk connected to an external 30VAC power supply. I even have some rules that change the HEAT and COOL Setpoints based on Time-of-Day. REALLY COOL and VERY EASY !!!

Only issue replacing my old thermostat with the Insteon device was my old system was only 4 wire - no “C”. But I used the trusty “Add-A-Wire” from Venstar. Worked PERFECTLY.

So - I only have one remaining issue. The Ambiant Temp and Ambiant Humidity on the Physical Thermostat LCD display is in Rounded Whole numbers. The same values in the OpenHab Web GUI show Floating Point:

I messed around with the metadata object for the Ambient Temp but could not get whole numbers.

How can I get OpenHab Web interface to display rounded floating point (i.e. 71.0-71.4 = 71, 71.5 - 7.19 = 72) as whole numbers. Sorry if this is a dumb question guys!