question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to set setpoint temperature without decimal for Everspring AC301

See original GitHub issue

Describe the bug

I’m trying to set the temperature for my Everspring AC301 but it only works when doing numbers with a decimal, for example 22.5 works but not 22, 22.1 works, etc.

Device information

Which device(s) is/are affected (make/model)? Everspring AC301 What are the node IDs? 8

Last Known Working Configuration

  • New device

Installation information How did you install node-zwave-js?

  • Pkg

Additional context I remembered that I saw something about Heatit TRM3 a while ago (link here) where they said that if the precision is wrong, the temperature will not be set.

So… I went into core/values/primitive.js and had a look. Found encodeFloatWithScale() and I tried to see what the precision returned for 21 and 21.5. For 21, it was 0 (which converted the value to “21”) and for 21.5 it was 1 (which converted the value to “215”). Then I hard-coded the precision to 1 in encodeFloatWithScale(), restarted zwave-js and BANG. It worked like a charm.

I don’t know where the real issue is though, if there is different interpretations of the zwave standard or a bug in zwave-js.

Logfile:

Included a few different logfiles:

set_21_celsius.txt set_22_celsius.txt set_22.1_celsius.txt set_23.5_celsius.txt

This is the logfile for when I changed the precision to 1: set_22_celsius_precision_1.txt

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:22 (18 by maintainers)

github_iconTop GitHub Comments

4reactions
roflmaocommented, Jan 18, 2021

@AlCalzone both 22 and 23,5 works 😉

2reactions
andresn81commented, Jan 18, 2021

I have now tried both devices and they are working properly, it is possible to change the setpoint on them.

Read more comments on GitHub >

github_iconTop Results From Across the Web

AC301 User manual - Everspring
“ENERGY HEAT” mode: This is the lower temperature level for energy saving, typically used during sleeping or when a room is empty. Setpoints...
Read more >
EVERSPRING AC301 Thermostatic Radiator Valve User Manual
The device can be set temperature by manual or by gateway and schedules are created by gateway. This product can be operated in...
Read more >
Everspring AC301/Nexa ZRT-106 Z-Wave Radiator Thermostat
I can access it through Z-Wave JS GUI or through HA GUI. It reports the current temperature, and updating the setpoint also works...
Read more >
Thermostatic Radiator Valve - Z-Wave Europe Manuals
The device can be set temperature by manual or by gateway.Main Feature: Comply with S2 security and SmartStart solution Manual/remote setting of desired ......
Read more >
decimal point in temp reading - Arduino Forum
Therefore, no code changes are required IN THAT CODE. ... float averageTemp; // create a float to hold running average for (int i...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found