# Node-red-contrib-nora thermostatTemperatureRange

**URL:** <https://discourse.nodered.org/t/node-red-contrib-nora-thermostattemperaturerange/25120>\
**Category:** Developing Nodes\
**Created:** [19 April 2020 09:52 UTC](https://discourse.nodered.org/t/node-red-contrib-nora-thermostattemperaturerange/25120 "2020-04-19T09:52:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Csstenersen](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/csstenersen/32/10455_2.png) [@Csstenersen](https://discourse.nodered.org/u/Csstenersen)\
**Post date:** [19 April 2020 09:52 UTC](https://discourse.nodered.org/t/node-red-contrib-nora-thermostattemperaturerange/25120/1 "2020-04-19T09:52:34Z")

</div>

Has anyone implemented thermostatTemperatureRange for the thermostat node?

I use this node in my KNX installation at my home and I have a KNX thermostat that I would like to control with the Nora thermostat node.

This works fine but my KNX thermostat has a variable that sets the max and min allowed temperature shift. I would like this to be the same max min value in the thermostat that is in google home app.

I have tried to implement the following in the nora-thermostat.js script witch results in following error: nora: "sync error (invalid object for sync)"

```auto
//Original Code
        var state$ = new rxjs_1.BehaviorSubject({

            online: true,

            thermostatMode: 'off',

            thermostatTemperatureAmbient: 25,

            thermostatTemperatureSetpoint: 20,

            thermostatTemperatureSetpointLow: 20,

            thermostatTemperatureSetpointHigh: 30,

//new code
thermostatTemperaturerange: {
          minTemperatureRangeCelsius: 15,
          maxTemperatureRangeCelsius: 25,
          }
        });

```

Is there any way to do this locally ore must this be done by the developer of the node?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 June 2020 09:52 UTC](https://discourse.nodered.org/t/node-red-contrib-nora-thermostattemperaturerange/25120/2 "2020-06-18T09:52:35Z")

</div>

Closed on 18 June 2020 09:52 UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
