Announcement

Collapse
No announcement yet.

JSON command phenomena

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    JSON command phenomena

    In using JSON to send/receive data to HS3, I found this strange issue when trying to send temperature setpoints to my fireplace thermostat.

    If I send a decimal value, it would initially write it, changing the value, but after 30-60 seconds, the value would automatically round up to the next integer.

    I highlighted the two times it changed SP by itself.


    Dec-02 7:14:21 AM Z-Wave Device: Node 9 Z-Wave Heating 1 Setpoint Set to 69
    Dec-02 7:14:21 AM Device Control Device: Node 9 Z-Wave Heating 1 Setpoint to 69 @S@ (69) by/from: CAPI Control Handler
    Dec-02 7:14:13 AM Z-Wave Device: Node 9 Z-Wave Heating 1 Setpoint Set to 68.5
    Dec-02 7:14:13 AM Device Control Device: Node 9 Z-Wave Heating 1 Setpoint to 68.5 @S@ (68.5) by/from: CAPI Control Handler
    Dec-02 7:14:12 AM Device Control Device: Node 9 Z-Wave Heating 1 Setpoint to 68.5 @S@ (68.5) by/from: CAPI Control Handler
    Dec-02 7:13:52 AM Z-Wave Device: Node 9 Z-Wave Heating 1 Setpoint Set to Setpoint 68 (F)
    Dec-02 7:12:52 AM Z-Wave Device: Node 9 Z-Wave Heating 1 Setpoint Set to 67.5
    Dec-02 7:12:52 AM Device Control Device: Node 9 Z-Wave Heating 1 Setpoint to 67.5 @S@ (67.5) by/from: CAPI Control Handler
    Dec-02 7:11:51 AM Z-Wave Device: Node 9 Z-Wave Heating 1 Setpoint Set to Setpoint 68 (F)
    Dec-02 7:10:45 AM Z-Wave Device: Node 9 Z-Wave Heating 1 Setpoint Set to 67.5
    Dec-02 7:10:45 AM Device Control Device: Node 9 Z-Wave Heating 1 Setpoint to 67.5 @S@ (67.5) by/from: CAPI Control Handler

    #2
    Originally posted by phuz View Post
    In using JSON to send/receive data to HS3, I found this strange issue when trying to send temperature setpoints to my fireplace thermostat.

    If I send a decimal value, it would initially write it, changing the value, but after 30-60 seconds, the value would automatically round up to the next integer.

    I highlighted the two times it changed SP by itself.


    Dec-02 7:14:21 AM Z-Wave Device: Node 9 Z-Wave Heating 1 Setpoint Set to 69
    Dec-02 7:14:21 AM Device Control Device: Node 9 Z-Wave Heating 1 Setpoint to 69 @S@ (69) by/from: CAPI Control Handler
    Dec-02 7:14:13 AM Z-Wave Device: Node 9 Z-Wave Heating 1 Setpoint Set to 68.5
    Dec-02 7:14:13 AM Device Control Device: Node 9 Z-Wave Heating 1 Setpoint to 68.5 @S@ (68.5) by/from: CAPI Control Handler
    Dec-02 7:14:12 AM Device Control Device: Node 9 Z-Wave Heating 1 Setpoint to 68.5 @S@ (68.5) by/from: CAPI Control Handler
    Dec-02 7:13:52 AM Z-Wave Device: Node 9 Z-Wave Heating 1 Setpoint Set to Setpoint 68 (F)
    Dec-02 7:12:52 AM Z-Wave Device: Node 9 Z-Wave Heating 1 Setpoint Set to 67.5
    Dec-02 7:12:52 AM Device Control Device: Node 9 Z-Wave Heating 1 Setpoint to 67.5 @S@ (67.5) by/from: CAPI Control Handler
    Dec-02 7:11:51 AM Z-Wave Device: Node 9 Z-Wave Heating 1 Setpoint Set to Setpoint 68 (F)
    Dec-02 7:10:45 AM Z-Wave Device: Node 9 Z-Wave Heating 1 Setpoint Set to 67.5
    Dec-02 7:10:45 AM Device Control Device: Node 9 Z-Wave Heating 1 Setpoint to 67.5 @S@ (67.5) by/from: CAPI Control Handler
    Likely some interference with the Z-Wave plugin (rounding to an integer before it sends it? Does the device actually accept decimals?) but in any case does the device accept decimal values - in the status graphics page is there a figure of more than 0 in the decimal places box?

    Comment


      #3
      Originally posted by mrhappy View Post
      Likely some interference with the Z-Wave plugin (rounding to an integer before it sends it? Does the device actually accept decimals?) but in any case does the device accept decimal values - in the status graphics page is there a figure of more than 0 in the decimal places box?
      As I mentioned in the OP, it initially writes the correct value, and its shown in the log (shown above), but then changes on its own 30-60 seconds later. It absolutely accepts decimal values or it wouldn't write it in the first place. Secondly, if I write 67.5 from the HS3 web page device screen, the value sticks and doesn't change to an integer value.

      Comment


        #4
        I'm sorry to bring up an old topic, but I am experiencing a similar problem on a new HS3 Standard install. Running Raspbian Buster with HS3 3.0.0.548.

        When changing setpoint on my thermostat (Heatit Z-TRM2fx) in the Device List to a decimal value, it seems to get rounded to nearest integer. Log entries:

        Dec-26 21:50:56 Z-Wave Device: 1st Floor Living Room Thermostat, Setpoint Heating Set to Setpoint 26 (C)
        Dec-26 21:50:56 Z-Wave Device: 1st Floor Living Room Thermostat, Setpoint Heating Set to 25.5
        Dec-26 21:50:56 Device Control Device: 1st Floor Living Room Thermostat, Setpoint Heating to (value) C (25.5) by/from: CAPI Control Handler

        Did you find out what was causing this?

        Comment

        Working...
        X