Jump to content
🌟 NOTIFICATION/Benachrichtigung: Welcome to our New Store! - shelly.com 🌟 ×

Where is the mqtt data?


bforpc

Recommended Posts

Hi there,

i had a lot of shellies up and running. Now i had install a new 1pm. The connection to the mosquitti is up, but: no more data but this

shellies2024/shellyplus1pm-a0a3b3de2ad0/online

shellies2024/shellyplus1pm-a0a3b3de2ad0/events/rpc

shellies2024/shellyplus1pm-a0a3b3de2ad0/status/switch:0

 

Where are all the standard mqtt data, like before? I need the status, power, energy and so on.

Bfo

Link to comment
Share on other sites

  • 2 weeks later...

I do not have a MQTT server or a gen1 device where I can test this with.

from what I found on the documentation are the following 

shellies2024/shellyplus1pm-XXX/relay/0

shellies2024/shellyplus1pm-XXX/Tempreature 

shellies2024/shellyplus1pm-XXX/power

shellies2024/shellyplus1pm-XXX/status

shellies2024/shellyplus1pm-XXX/info

Have you contacted support ticket to get a solution ? 

Link to comment
Share on other sites

Yes...

they had tell me only: there are no known problems with mqtt... and do i had change the IP Adresse from 192.168.33.1  to whatever ...

On that answer you see, that nobody has read the ticket real. 
 

I have a network at home with 88(!) Shelly producs. Everything is working like expected. Only the new gen of  the 1pm does not.
Facts: It ist connected to the mqtt broker (mosquitto) and does send data, but only the ID and  what i wrote in my first post. Nothing more.
So the connection is up and ruinning.The Web Server of the shelly is runing. There is no special things to configure for mqtt. 

Something has benn changed in the new gen. But they dont know it... 😞

 

Bfo

Link to comment
Share on other sites

In the MQTT settings have you enabled various options, most notably "RPC status notifications over MQTT" and "Generic status notifications over MQTT"? I remember it not being enabled by default and having to enable it in order to get shelly to publish switch/power/etc status over MQTT on my plus1pm.

Link to comment
Share on other sites

@Heinz

The documentation you are referring to is that for the Gen 1 Shellys.
A lot has happened in the MQTT telegram since Gen1.
image.png.0ef3ce29d219e43fe8f5929848f80bcb.png


As a result, scripting is possible from Gen2 onwards, and the telegram could be adapted to the old version in a script.

  • If only one or two values are required, this is not a big challenge.
  • However, if a 1:1 copy had to be created, more effort would be nedded.


Hopefully Shelly is thinking about compatibility, which would also be a quality feature,  I think Shelly development will definitely have a quick solution on their table. 😉

Edited by If_then_else
Link to comment
Share on other sites

2 hours ago, If_then_else said:

@Heinz

The documentation you are referring to is that for the Gen 1 Shellys.
A lot has happened in the MQTT telegram since Gen1.
image.png.0ef3ce29d219e43fe8f5929848f80bcb.png


As a result, scripting is possible from Gen2 onwards, and the telegram could be adapted to the old version in a script.

  • If only one or two values are required, this is not a big challenge.
  • However, if a 1:1 copy had to be created, more effort would be nedded.


Hopefully Shelly is thinking about compatibility, which would also be a quality feature,  I think Shelly development will definitely have a quick solution on their table. 😉

yup this is for the Gen1 devices as this post is located in the gen1 devices. 

if this this is for the Gen2 and above then the commands should be slightly different 
 

Link to comment
Share on other sites

Join the conversation

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

Guest
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.

×
×
  • Erstelle neue...