Beiträge von BobSwede

    Meanwhile I have found out what the problem is:

    Too old f/w in the device!

    But it does not offer an update when I check on the website of the plug.

    I solved it as described here in my other thread!

    Basically I had to force an archived f/w on it and then it could update itself further.

    After that it accepts Action URLs and they do work.

    UPDATE:

    I have now found a way to update the firmware using the page at:

    Shelly F/W archive

    With this I could send the 1.11.2 f/w to my Shelly Plug S

    After that was done I could also update the f/w directly in the ShellyPlugS Settings page so I now have the latest f/w:

    pasted-from-clipboard.png

    Now:

    - I check the Enabled checkbox

    - I enter the action url in the edit box and hit SAVE

    - Now the URL is shown in the box and I can set the other (OFF) action URL too and hit SAVE

    - Now both Action URL:s are shown

    - I command the switch to operate ON and OFF in the Shelly UI

    - Now I get the report triggered by the URL

    - I command the switch via the web to change state

    - Now I also get the report!

    At first I used the "ADD" button to add the URL but apparently this is NOT what one is supposed to do, instead just enter the URL and hit SAVE.

    And: DO NOT FORGET to check the Enabled box!!!

    Seems like the issue is now solved

    PS:

    I also tested to remove the plug from the mains outlet and then insert it back.

    This also resulted in an action URL report! :) :)

    Does your AP allow this traffic for the Shelly? Are local Wifi clients allowed to connect to other members of the LAN? Is the webserver on your LAN? Have you tried entering the server URL with the IP address instead of the hostname?

    And most importantly: which firmware are you using with the device? I don't have issues saving an URL with Current version: 20210727-201754/v1.11.2-g25b6953


    PS: check Account Management: Settings - Notifications

    1) All traffic from all devices on my LAN is allowed. There is no blocking rule anywhere.

    2) The Webserver in this case is not on my LAN, but it will be when I finally install on the remote location.

    3) I have not used the IP address instead of the domain name since IP will change. It is a DDNS system with a subdomain to my main domain in use. It points to my ISP at the moment.

    4) This is what mt Shelly Plug-S says about firmware:

    pasted-from-clipboard.png

    It is what it came with when I bought it recently. I have checked several times and found the same message about no more recent f/w. :(

    HOW can I update it when it says that there is no new version????

    Finally:

    HOW can I make this forum send me a message when there is a reply to my post?

    I did not see your reply because there was no message even though I have set it up to be watched!!!!

    FOLLOW-UP QUESTION:

    It seems like the URL I enter is NOT saved on the device!!!

    If I go back to its config page then the URL:s are not visible, so I assume they are not saved even though I have hit the SAVE button.

    Is there some special method one has to do in order to actually save the action URL:s on the device so they will be used?

    This device is not attached to the Cloud but is supposed to run on the local LAN hitting a server on the LAN itself in the final installation. No Internet available.

    I also have the same problem with Shelly Plug S NOT calling the action URL I set up on the device!

    In fact if I configure the URL:s for ON/OFF and save them nothing happens when the switch goes on or off, but if I revisit the plug's home page then I see that the URL:s are not there!

    Is there some kind of procedure that is not obvious one has to go through in order to actually make the entered URL:s be saved on the device?

    Just hitting the SAVE button does not work.

    I am working in off-line mode on a LAN that does not have Internet access.

    No cloud function has been activated.

    I have managed to get my Shelly Plug S working on my LAN and I have created a Linux script to control it.

    So now I can easily automate it using the script to switch on and of and also to pulse it on/off or off/on.

    The next thing I want to do is to activate Action URL for both ON and OFF operations.

    The problem is that no matter what I do it will not stick on my Shelly Plug S!

    I enter the URL like this and hit the SAVE button.

    pasted-from-clipboard.png

    Next I switch the plug On and then Off expecting to get a hit on my webserver on the indicated URL, but nothing reaches it!

    What is the problem with this? The domain (which I blanked out for security here) is a valid domain and if I use the URL in a web browser then I get a call to the pho script and it can take action on the switch change.

    So why is the Shelly not using the action URL?

    Also it seems like it is not saving the URL when I hit the SAVE button!

    If I refresh the page from the Shelly and navigate to the actions page my entered URL:s are gone (not shown).

    Notice that I have not attached the Shelly to any cloud service, I only want it to work inside my own LAN environment.

    Question about this forum:

    How do I get email alert if/when someone replies to this thread?

    It's a "backup" in case the first WIFI is not available or down. That's why Allterco chose this name.

    In your case it will do what you desire. Enter your second WIFI there and you can use the plug in both locations.

    Thanks, that is what I need to know. I will pre-configure it with the remote site's SSID.

    I hope it does not require it to actually connect when setting up since that will not work...

    Just being curious: is there a reason why you use different SSIDs in both locations? Different network addresses, sure. Otherwise VPN wouldn't work. But using the same SSID does not do any harm and you can take your mobile devices with just one configuration to either location.

    Well, it is an old configuration from when I started having Internet access on the cottage site years ago...

    But I am going to replace the router next time I travel there anyway (need a newer model to increase VPN throughput now that we got fiber installed) and I might then change the SSID to the same as at home.

    But having a different SSID now makes it possible to configure the router at home by connecting to the remote SSID from my PC and then setting it up properly in advance of going there. I will have access to the remote router via Ethernet so I can view the configs and copy over all of the settings.

    BTW:

    Is there a way to get email alert on replies to my posts here?

    On other forums I usually can subscribe to a topic and get email when there are replies, but I cannot find such a setting here.

    I have just bought a Shelly Plug S for use at home and at my cottage LANs.

    These LAN:s are connected via VPN so every device on both LAN's can reach each other.

    I plan on moving the plug between the two locations to be able to switch on/off a Linux server.

    The plug will NOT be connected to any cloud service and I will just use the URL for on and off to control the switch from a shellscript.

    Code
    wget -q -O/dev/null http://shellyplug/relay/0?turn=on
    wget -q -O/dev/null http://shellyplug/relay/0?turn=off

    I have entered the shellyplug host in my /etc/hosts file on the device which will issue the commands, so when moving the Shelly between LANs I just have to edit this file and it will work.

    Question:

    Is there a way to specify two possible WiFi SSID to connect to when the Plug-S powers up?

    On a regular Linux machine one can enter several SSID into the /etc/wpa_supplicant/wpa_supplicant.conf file and it will connect to whichever of these SSID is present on the location it is powered up.

    How can this be done on a Shelly Plug S?