[APP][Pro&Cloud] Shelly

Like you i’m stuck here also. I made a simple flow ligt on/off with button action trigger but it wont work when i physically push a switchbutton (momentary). But if i test the flow it works…

Would be very happy if someone could explain this…

Did you guys read the instructions in the opening post and set the callback urls from the maintenance actions?

Yes i sure did activate them but still it does not function do i need to something extra besides activating the call back url

I can’t enter a action tag on the trigger card, it states (bijv. longpush) but i’m not able to fill in something. Thought maybe this was important… :thinking:

https://homey.app/f/TQ4C58

The trigger card contains a tag with the actual action that was received. You need to filter the action with a logica card in the condition column to know which event was received. You don’t want to have this flow trigger on every button event.

Having said that, it’s still strange that the flow is not triggered at all. Can you post the output from http://yourshellyip/settings here.

Like this: Shared Flow | Homey ?
Or should I enter it differently

@Phuturist I made a acreenshot with the settings of the corrosponding shelly.

Start with a flow like this so you know what action events are being send by your Shelly based on interaction with your device.

image

Afterwards you can create flows that filter a specific action using a logica card as condition like this.

I made this Flow and tested it with homey. I received a message.

But when i press the buttoin physically nothing happens. It seems like my shelly does not send the tag to homey.

Is there something like a firewall in homey or an additional app that i need to install…?

Update: I rebooted the shelly , removed it from the shelly app and added it again without changing anything and mysteriously it worked

I looked into this myself just now and it seems there is indeed a reboot of the Shelly required before the callback URL’s to Homey will work. I’ll add a reboot action after setting the callback URL’s to make sure this is not a problem for future users.

Yhank you for your patience with us Noobs… grab a cup of coffee on my cost and maybe an apple pie :wink:

No problem, this seems to be a quirk on Shelly’s side. Thanx for the donation, much appreciated … :pray:

@Phuturist quick question about rebooting the shelly.

They don’t actually reboot. I opened up a CMD window and started a ping, but it keeps replying. When I do the reboot from the Shelly app, it gets a couple of timeouts. Furthermore, when rebooting form the app of shelly it always ends up in ‘off’ position. With the flow it stays on. Gives me the impression it doesn’t actually reboot.

Just noticed this earlier this evening myself. Have submitted a fix which is pending approval already.

1 Like

I had also a several times that my shelly was “dissapeared” from homey. And with some pushes it came back. I thought that i did something wrong with some flows

I’m using a few shelly’s for a good half a year, but never experienced this.

v1.20.1 - 2020-05-14

  • Fix for reboot action card
  • Small improvement for setting callback URL’s (appearently the Shelly needs a reboot for these to become active).

@Phuturist Something wrong with status updates on the RGBW2? Just installed a Shelly RGBW2 today in 4x white configuration. Actually only using one relay (4). Switching and dimming work, however when switching or dimming through the webinterface or Home Assistant, the changes aren’t updated. Polling is set to 5 seconds. Am I missing something?

Looked at the code and dont see anything funny? Do you know how to run the app from the command line? This may give more information on why the device is not updated.

If you dont know how to do this you could try and send a crash report from the app settings, perhaps that contains some information as well.

Yes I can, I guess you need to update the debug branche?

FYI, it’s also not updating the power measuring

No, you can use the master branch. If there are errors in the polling function it will be dumped to the console when running the app with homey app run.