Jump to content
⚠️ Deprecation Notice: Cloud Control API V1 – Switch to V2 ×

Recommended Posts

Posted

Updating values fails in events and mqtt. Its like 1 hour of data the 1 hour with etc...
To recreate simply add BLU H&T device under components, also to log shows that data is missing if you write test script (need to adjust id to recreate test)

 

let roomTemperature = 0;

// async call
Shelly.call("BTHomeSensor.GetStatus", {id:202}, function(result)
{
    console.log("Shelly id:202, getStatus");
    console.log("" + result);
    //var msgObj= JSON.parse(result);
    //console.log("json" + msgObj);
    roomTemperature = result.value;
    console.log("roomTemperature", roomTemperature);
});

Shelly.addStatusHandler(function(status)
{
  console.log(status.component + " " + status.delta);
})

Screenshot 2024-07-10 220829.png

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...