And a last update to close this thread successfully: my Ethernet DNS Adress was wrong. now I run the latest firmware and the command is functioning.
Thank you all and especially thgoebel for hinting on the internet problem!
And a last update to close this thread successfully: my Ethernet DNS Adress was wrong. now I run the latest firmware and the command is functioning.
Thank you all and especially thgoebel for hinting on the internet problem!
thanks for supporting me!
I give you a general overview. Especially for eiche:
My setup, that is running now for over a year is a Pro4PM connected via ethernet to an Mosquitto MQTT server. I control the electric heating in three rooms by that. The control is realized by a Node-RED flow to also use excess electric solar power automatically.
All that works except for the 1% as always in programming: sometimes the Shelly is not sending the status of the switches or the message gets lost somewhere. To avoid that situation, I want to trigger the status update from the Shelly to my Node-RED flow by sending an MQTT message like the one mentioned above in the documentation.
But the Shelly isn't answering. Again to make it clear: I get the status of the Shelly on startup and when the switch is triggered. But I can not get an answer for my request to get the status.
I do my tests with https://mqtt-explorer.com/ and the Shelly is connected and (again) sending MQTT status updates there.
Sending the request for status update via MQTT to .../command with payload "status_update" or to ../command/switch:0 with the same payload is not creating a response from the Shelly.
So:
thgoebel: I will try to do a firmware update this week and check again if the Shelly is connected to the internet. Again: there is no possibility to download the mentioned firmware? Maybe really the firmware is the problem.
eiche: You see I do a lot with MQTT and Node-RED also in other projects, but here my power is not sufficient. Do you do the request for "status_update" in one of your projects and it's working?
I also connected it to wifi. No new firmware found. Can I download it somewhere?
thgoebel : It is connected to the internet. Even with a wired connection
Sorry for being dumb: I do the "Check for updates..." on the device itself. No new firmware available:
And my efforts to find the firmware on the Shelly site and in Google are futile.
Here is the announcement, but no link to firmware Firmware 1.1.0 for 2nd and 3rd generation devices is officially released
Any suggestions, where to download or to trigger the update?
Hi guys,
I use a Pro4PM with latest Firmware 20230209-132431/0.13.0-g68ba560
I want to trigger a status update via MQTT as described here: https://shelly-api-docs.shelly.cloud/gen2/Component…tstatus-example
My goal is to send a MQTT message via Node-RED to the Shelly requesting an update as described like this
export MQTT_SERVER="broker.hivemq.com"
export MQTT_PORT=1883
export SHELLY_ID="shellyplus1-a8032abe54dc" # The <shelly-id> of your device
mosquitto_pub -h ${MQTT_SERVER} -p ${MQTT_PORT} -t ${SHELLY_ID}/command -m status_update
On startup and on changes I get that status already, but I also want to trigger it by myself.
My assumption is that the String status_update is not processed correctly by the Shelly. I send it as a raw String.
Does anyone have a working example or a hint what my error is?
Thanks in advance!