# Shelly Plus Add-On - command to retrieve temperature status

**URL:** <https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959>\
**Category:** General\
**Tags:** function-node\
**Created:** [13 September 2024 18:05 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959 "2024-09-13T18:05:29Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frantisek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/frantisek/32/66949_2.png) [@Frantisek](https://discourse.nodered.org/u/Frantisek)\
**Post date:** [13 September 2024 18:05 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959/1 "2024-09-13T18:05:29Z")

</div>

Old Shelly addon works with command  
msg.payload = msg.status.ext\_temperature["1"].tC;

With the new shelly addon I would assume this command

**payload.temperature100.tC**

but it doesn't work. I've tried different variations but no luck.

e.g.

msg.payload = msg.status.temperature["100"].tC

msg.payload = msg.status.temperature100["100"].tC

Thanks in advance for the advice

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [13 September 2024 18:13 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959/2 "2024-09-13T18:13:21Z")

</div>

Hi @Frantisek

In order to provide the help - please show us the incoming data and highlight what data you want from it.

Not a screen shot please , but an example payload 😃

Plenty of Shelly users here

---

<div class="post-metadata">

**Author:** ![Frantisek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/frantisek/32/66949_2.png) [@Frantisek](https://discourse.nodered.org/u/Frantisek)\
**Post date:** [13 September 2024 19:18 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959/3 "2024-09-13T19:18:00Z")

</div>

1. 
  1. 2024 21:16:07[node: 0bf4d6692d3bd262](http://192.168.0.141:8123/api/hassio_ingress/PRjxqU1hchxax_6kxT57ckP70nn2oNcEbYUF0v4Wb-I/#)msg.payload : Object

object

input0: object

switch0: object

temperature100: object

id: 100

**tC: 21.8**

tF: 71.2

temperature101: object

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [13 September 2024 19:26 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959/4 "2024-09-13T19:26:38Z")

</div>

There is no status property.  
Marcus asked for the debug value, which you can get as shown below.

There’s a great page in the docs ([Working with messages : Node-RED](https://nodered.org/docs/user-guide/messages)) that will explain how to use the debug panel to find the right path/value for any data item.

Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.

![BX00Cy7yHi](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/d/bd1f333a9e043b061b39917c328b0094d3e52d30.gif)

The path to the property value should be some thing like `payload.temperature100.tc` You then prefix with `msg.`

---

<div class="post-metadata">

**Author:** ![marcus-j-davies](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/marcus-j-davies/32/103435_2.png) [@marcus-j-davies](https://discourse.nodered.org/u/marcus-j-davies)\
**Post date:** [13 September 2024 19:30 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959/5 "2024-09-13T19:30:10Z")

</div>

I really need to save that infamous gif. where is it?

---

<div class="post-metadata">

**Author:** ![Frantisek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/frantisek/32/66949_2.png) [@Frantisek](https://discourse.nodered.org/u/Frantisek)\
**Post date:** [13 September 2024 19:51 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959/6 "2024-09-13T19:51:12Z")

</div>

[flows (12).json](https://discourse.nodered.org/uploads/short-url/g4nBL0ztfP1BeNcHdyZk8Q7MTiK.json) (1.3 KB)

---

<div class="post-metadata">

**Author:** ![Frantisek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/frantisek/32/66949_2.png) [@Frantisek](https://discourse.nodered.org/u/Frantisek)\
**Post date:** [13 September 2024 19:55 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959/7 "2024-09-13T19:55:10Z")

</div>

![Snímek obrazovky 2024-09-13 215304](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/5/c5830486cf5c6b0171a6d188fb21544047be1b26.gif)

---

<div class="post-metadata">

**Author:** ![Frantisek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/frantisek/32/66949_2.png) [@Frantisek](https://discourse.nodered.org/u/Frantisek)\
**Post date:** [13 September 2024 19:56 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959/8 "2024-09-13T19:56:54Z")

</div>

![Snímek obrazovky 2024-09-13 215541](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/a/ea66d089b853c0f6fd8799805359a8dfa236d729.png)

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [13 September 2024 20:00 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959/9 "2024-09-13T20:00:50Z")

</div>

> [@E1cid](#):
>
> There is no status property.

Maybe you should reread my post.

> [@E1cid](#):
>
> There’s a great page in the docs ([Working with messages : Node-RED](https://nodered.org/docs/user-guide/messages)) that will explain how to use the debug panel to find the right path/value for any data item.

> [@E1cid](#):
>
> The path to the property value should be something like `payload.temperature100.tc` You then prefix with `msg.`

---

<div class="post-metadata">

**Author:** ![Frantisek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/frantisek/32/66949_2.png) [@Frantisek](https://discourse.nodered.org/u/Frantisek)\
**Post date:** [13 September 2024 20:36 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959/10 "2024-09-13T20:36:38Z")

</div>

Still not working.

Status is the status output from the shelly node.

With old version Shelly addon works with command  
msg.payload = msg.status.ext\_temperature["1"].tC;

Copy path old shelly temperature addon is:  
payload.ext.temperature["0"].tC

Copy of path is different than a function command

---

<div class="post-metadata">

**Author:** ![Frantisek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/frantisek/32/66949_2.png) [@Frantisek](https://discourse.nodered.org/u/Frantisek)\
**Post date:** [13 September 2024 21:39 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959/11 "2024-09-13T21:39:38Z")

</div>

![Snímek](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/d/7d2089a318b1bad6342bfc4d6839edd7c05400d0.gif)

Shely plus 1 + new addon + temperature snsors

---

<div class="post-metadata">

**Author:** ![Frantisek](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/frantisek/32/66949_2.png) [@Frantisek](https://discourse.nodered.org/u/Frantisek)\
**Post date:** [14 September 2024 08:42 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959/12 "2024-09-14T08:42:20Z")

</div>

Miraculously, it works today. 🙂  
To get the value, the command works (as we all assumed yesterday)  
**msg.payload = msg.payload.temperature100.tC;**

Thanks E1cid and marcus-j-davies  
for your support in solving this mysterious problem. Thanks Frantisek

Finally I can use these variables from the gen2 shelly.

---

<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:** [28 September 2024 08:42 UTC](https://discourse.nodered.org/t/shelly-plus-add-on-command-to-retrieve-temperature-status/90959/13 "2024-09-28T08:42:57Z")

</div>

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