On the HA shelly integration first page, I’m adding the IP address of the shelly device (192.168.1.88), but still receiving the “Failed to connect” error message.
Any ideas what may be missing?
i dont have that Shelly device, but on internet and Security, do you see a tab that says COIOT? when you go into shelly settings. (entering its own IP)
If so put your address from HA. without any http or https
well i had many issues with the cameras. and now it seems stable. what i always do now is:
as soon as i log in into its own WIFI, i do a factory reset.
After, i connect the shelly to my local network, do rthe coiot, and reboot the device. and then I include it to HA. maybe try this procedure. remember i am a major noob soo… i follow my previous experiences and from what ive read.
the issue is in the VM and not on the shelly devices I installed hassio in a raspberry pi to test and the shelly discovery worked just fine.
Does anybody have some details of how to setup the VM connection settings or/and the forwarding rules needed? (I followed the official instructions for VMs and was able to run the hassio OS + GUI web, but the discovey mechanism is not working as in the raspberry pi)
An update, for those curious, and future troubled souls. A kindly person from Reddit encouraged me to try some different settings, and it seems that enabling “Allow Cross-Origin Resource Sharing” has fixed this for my situation.
To do this, open a web browser and enter the IP address of the actual device (192.168.x.xxx). Click on the “Internet & Security” tab. Then open the “ADVANCED - DEVELOPER SETTINGS” drop-down. Check the box for “Allow Cross-Origin Resource Sharing”, hit SAVE at the bottom, and Bob’s your uncle.