[APP][Pro&Cloud] Shelly

You did not read the troubleshoot step and tried to debug it using the instructions. The switch is there to auto restart the script after a reboot but the “play” icon in front of it tells me the script currently isnt running. Click on it and hit the start button.

@Phuturist Is it possbile to implement a “add device by IP” button? This becomes visible when no device can be added. If there is one “ghost” device seen in the network by homey, there isn’t a way to manual add a device by IP.

I’m very sorry, but unfortunately I can’t get it to turn on. I get this message. what am I doing wrong? If I click on “start BLE Proxy” the script recreates itself. But I still can’t start it and get this message.

This is such a corner case which doesnt justify the time I need to put into it. Also it’s probably confusing for less tech savvy users. So no, wont be happening. Rebooting Homey should clear any cache concerning discovered devices.

Try using the Web UI of the device as mentioned in the troubleshoot guide. Or just recreate the script from the Plus/Pro device advanced settings in Homey. All this is in the troubleshoot guide already. Please follow it.

I have now also tried it via the web interface. With two of four shellys the script starts. With two I still can’t get it to work. Although with two shellys the script runs, the contact does not respond or rarely. it is in close proximity to the shelly with Bluetooth.
I despair… :slightly_frowning_face::face_with_peeking_eye:

What was the result in the debug log? Do you see the BLE advertisements on the Plus/Pro device?

I see the Bluetooth icon on all devices. Where can I find the debug log?

For the third time. Follow the troubleshooting guide and the steps under number 6. I can not help you if you do not listen.

I saw a new card added to the Shelly Device: 'Wijzig cumulatieve energie naar" Is this for correct measuring generated energy? And if so, how do I use it in a flow to make it work?

Thanks, Martin

Create a flow with that card. Set it to true. Run the flow. Delete the flow.

I created a flow as you described and ran it. Result was that all 4 set of solarpanels show up as smart meter. Resetting cumulative energy to ‘No’ didn’t help. I had to remove the devices and add them again to restore them as normal device.
Do you have a suggestion which device (instead of Shelly) I can use for correct metering of generated energy of solar panels.

Hey,

Don’t know if it’s an issue with the app or with a configuration or something, but hope someone can help me with this.

In our home we have about 10 Shelly 1 Devices installed.
Many of those devices are powering a Zigbee Smart Bulb (Ikea/Hue), so to not actually cut the power off of them I changed the settings:

  • Power On Default: ON
  • Button Type: Detached

And added a simple flow for each of them:

  • [WHEN] (Shelly) “Input 1 changed”
  • [THEN] (Hue) Toggle Smart Bulb on or off

At first this worked fine (about a month ago), but the next day there suddenly was a delay of like 50 seconds until the WHEN card triggered.
I eventually solved this then by:

  • completely removing the Shelly app
  • re-installing that app
  • re-adding all the devices and
  • re-configuring all the flows.

However, since this morning the same problem is occurring again and if this keeps happening I’d rather use them as edge switches. (but that shuts down the bulbs which lead to other problems)
I already updated all the Shelly 1 devices to version 20230913-112003/v1.14.0-gcb84623
And my app is on v.3.21.4

Does somebody know what may cause this huge delay and has a permanent way to fix this?
(tried rebooting app, homey, router, etc.)

Read The First Post.

1 Like

Has anyone else observed following? The Shelly Pro 3EM energy measurement device reports buggy values to Homey. From Shelly’s app everything seems to be normal, but in Homey the “Energy” parameter fluctuates between kWh and Wh. That is, the device shows occasionally 1000-folds too big values. Attached is an Insights plot from the device. The same erroneous fluctuation occurs with the two other Homey Devices of that same Pro 3EM.

The Total Energy -parameter that sums up the three Energy-readings seems to work properly. But for some reason I am unable to use that value in e.g. Power by the Hour -app.

Another thing related to the same device: It seems to be impossible to configure the Shelly Pro 3EM as the smart meter of the whole home. This renders the Energy -section of the Homey unusable. Does anyone know a workaround for this?

The screenshots above were show the data in the “Last hour”. Now when I look at the 1st phase energy consumption in the last 6 hours view, it shows a bizarre staircase !?!?! With my Shelly Plus 1 PM -devices, the same graph shows a nice constantly increasing graph.

Energy readings from Shelly Pro 3EM:

Energy readings from a Shelly Plus 1 PM connected an air ventilation machine:

Thanks, it was the Coiot Peer which had the wrong IP for all the devices.
Managed to mass-fix it with a Homey script (will probably not work if one has a password configured):

const homeyIp = LOCAL_HOMEY_IP;
const coiotPeer = `${homeyIp}:5683`;
const devices = await Homey.devices.getDevices();
const shellyDevices = Object.values(devices).filter(({driverId}) => driverId === 'homey:app:cloud.shelly:shelly');
for (const device of shellyDevices) {
  // Change Coiot Peer
  const ip = device.settings.address;
  const response = await fetch(`http://${ip}/settings`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
    },
    body: encodeURI(`coiot_peer=${coiotPeer}`),
  });
  if (response.status !== 200) return console.warn(`${ip} status ${response.status}`);

  // Reboot
  await fetch(`http://${ip}/reboot`);
  console.log(`Peer of ${ip} set to ${coiotPeer} done`);
}
1 Like

Yes, my suggestion is to use Google or create a separate post about this. This is the Shelly thread.

Wow, I cant believe no one has reported this before. This is a bug which I’ll fix with the next release.

Perhaps because this is a sub capability (meter_power.total) as the meter_power capability is used for the individual channel. You should contact the developer of that app if this is supported.

1 Like

Any idea how to use Shelly Pro 3EM as the smart meter of the house? I mean the ”Energy”-section of the Homey app…Currently the three devices of the different phases are just there as normal devices and I cannot figure out how to make Homey understand they represent the total usage of the house. Moving the devices to the “root” of the home hierarchy does not help.

Hi,

Just started with the Plus add-on and got this to working with a water pressure sensor to measture the waterlevel of my water tank. It is using the analog input on the add-on. This shows fine in the Shelly interface:

But on Homey it stays empty:

Is there a different way to read the value of the analog input?

Thanks,
Marco