• Req: IoT Smart Socket Advice

    From Anthony R. Gold@21:1/5 to All on Thu Feb 16 17:20:43 2023
    I'd like to be able to switch a router with a smart plug/socket and where
    the router will power back on again after some programmable delay. The
    devices with which I am familiar only allow me to power the router off but
    with no way to recover because that would require a second command to a
    device that now has no network connection.

    Does anyone know of any device capable of the command of "OFF - pause - ON"
    and that will complete the command after network loss?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jaimie Vandenbergh@21:1/5 to not-for-mail@ahjg.co.uk on Sat Feb 18 12:58:17 2023
    On 16 Feb 2023 at 22:20:43 GMT, ""Anthony R. Gold""
    <not-for-mail@ahjg.co.uk> wrote:

    I'd like to be able to switch a router with a smart plug/socket and where
    the router will power back on again after some programmable delay. The devices with which I am familiar only allow me to power the router off but with no way to recover because that would require a second command to a device that now has no network connection.

    Does anyone know of any device capable of the command of "OFF - pause - ON" and that will complete the command after network loss?

    You probably need a scriptable/macro-able smart hub. I'm told Home
    Assistant is such a thing but I've not used it myself.

    https://www.thissmarthouse.net/your-own-smart-hub-meet-home-assistant/

    Cheers - Jaimie
    --
    Thank you for your input. Now, if you have something
    substantive to bring to the discussion, kindly do.
    Otherwise, isn't there an eternal flamefest that would
    peter out if you won't keep feeding it?
    -- Cosmin Corbea, r.a.b

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From jkn@21:1/5 to Jaimie Vandenbergh on Sat Feb 18 05:30:35 2023
    On Saturday, February 18, 2023 at 12:58:20 PM UTC, Jaimie Vandenbergh wrote:
    On 16 Feb 2023 at 22:20:43 GMT, ""Anthony R. Gold""
    <not-fo...@ahjg.co.uk> wrote:

    I'd like to be able to switch a router with a smart plug/socket and where the router will power back on again after some programmable delay. The devices with which I am familiar only allow me to power the router off but with no way to recover because that would require a second command to a device that now has no network connection.

    Does anyone know of any device capable of the command of "OFF - pause - ON" and that will complete the command after network loss?

    You probably need a scriptable/macro-able smart hub. I'm told Home
    Assistant is such a thing but I've not used it myself.

    https://www.thissmarthouse.net/your-own-smart-hub-meet-home-assistant/

    Cheers - Jaimie

    I'd be interested to hear of experiences anyone has had with Home Assistant.
    I have thought for years of dabbling with 'home automation' - my last consideration was via Hubitat, but it looks like HA might well be a better way to
    go, if you have the nous.

    Not that I have much of anything to actually automate...

    J^n

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jeff Gaines@21:1/5 to jkn on Sat Feb 18 14:11:45 2023
    On 18/02/2023 in message <13bfc54c-4714-4082-8d5f-9210f7918ea9n@googlegroups.com> jkn wrote:

    I'd be interested to hear of experiences anyone has had with Home
    Assistant.
    I have thought for years of dabbling with 'home automation' - my last >consideration was via Hubitat, but it looks like HA might well be a better >way to
    go, if you have the nous.

    Not that I have much of anything to actually automate...

    Just go for a wife/partner, you get dinner thrown in then :-)

    --
    Jeff Gaines Dorset UK
    Have you ever noticed that all the instruments searching for intelligent
    life are pointing away from Earth?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Philip Herlihy@21:1/5 to All on Sun Feb 19 12:09:48 2023
    In article <xn0ny8vw546zr44004@news.individual.net>, Jeff Gaines wrote...

    On 18/02/2023 in message <13bfc54c-4714-4082-8d5f-9210f7918ea9n@googlegroups.com> jkn wrote:

    I'd be interested to hear of experiences anyone has had with Home >Assistant.
    I have thought for years of dabbling with 'home automation' - my last >consideration was via Hubitat, but it looks like HA might well be a better >way to
    go, if you have the nous.

    Not that I have much of anything to actually automate...

    Just go for a wife/partner, you get dinner thrown in then :-)

    Dinner being thrown can often be a consequence of such observations...

    --

    Phil, London

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Anthony R. Gold on Sun Feb 19 15:56:22 2023
    Anthony R. Gold <not-for-mail@ahjg.co.uk> wrote:
    I'd like to be able to switch a router with a smart plug/socket and where
    the router will power back on again after some programmable delay. The devices with which I am familiar only allow me to power the router off but with no way to recover because that would require a second command to a device that now has no network connection.

    Does anyone know of any device capable of the command of "OFF - pause - ON" and that will complete the command after network loss?

    These sockets are preflashed with Tasmota: https://www.mylocalbytes.com/products/smart-plug-pm

    I think you should be able to configure the logic you want using one of the programming methods Tasmota supports, such as 'rules': https://tasmota.github.io/docs/Rules/
    or 'scripting':
    https://tasmota.github.io/docs/Scripting-Language/

    although it might be worth confirming whether the firmware they're flashing
    has these enabled. Or if not the firmware can probably be upgraded with a suitable build:
    https://tasmota.github.io/docs/Firmware-Builds/

    (in general, the same Tasmota firmware will work on any compatible device,
    but there's a configuration string that tells it what controls and sensors
    are present. I assume the preflashed plug will come with the right
    config string, but you may need to re-set it after flashing)

    Tasmota will talk to Home Assistant, but that's probably overkill for your purposes.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anthony R. Gold@21:1/5 to theom+news@chiark.greenend.org.uk on Sun Feb 19 22:39:05 2023
    On 19 Feb 2023 15:56:22 +0000 (GMT), Theo
    <theom+news@chiark.greenend.org.uk> wrote:

    Anthony R. Gold <not-for-mail@ahjg.co.uk> wrote:
    I'd like to be able to switch a router with a smart plug/socket and where
    the router will power back on again after some programmable delay. The
    devices with which I am familiar only allow me to power the router off but >> with no way to recover because that would require a second command to a
    device that now has no network connection.

    Does anyone know of any device capable of the command of "OFF - pause - ON" >> and that will complete the command after network loss?

    These sockets are preflashed with Tasmota: https://www.mylocalbytes.com/products/smart-plug-pm

    Many thanks, and those sound very intriguing but also rather vague and
    unclear to me. There are mentions of their "getting started guide" and "reference sheet" but I haven't yet found them online.

    How does one communicate with a module for programming? Do they have a web
    user interface available on the LAN or what?

    Also, can they be registered on the Tuya/Smart Life cloud platforms?

    I think you should be able to configure the logic you want using one of the programming methods Tasmota supports, such as 'rules': https://tasmota.github.io/docs/Rules/
    or 'scripting':
    https://tasmota.github.io/docs/Scripting-Language/

    although it might be worth confirming whether the firmware they're flashing has these enabled. Or if not the firmware can probably be upgraded with a suitable build:
    https://tasmota.github.io/docs/Firmware-Builds/

    (in general, the same Tasmota firmware will work on any compatible device, but there's a configuration string that tells it what controls and sensors are present. I assume the preflashed plug will come with the right
    config string, but you may need to re-set it after flashing)

    Tasmota will talk to Home Assistant, but that's probably overkill for your purposes.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Anthony R. Gold on Mon Feb 20 05:57:48 2023
    Anthony R. Gold <not-for-mail@ahjg.co.uk> wrote:
    On 19 Feb 2023 15:56:22 +0000 (GMT), Theo
    <theom+news@chiark.greenend.org.uk> wrote:

    These sockets are preflashed with Tasmota: https://www.mylocalbytes.com/products/smart-plug-pm

    Many thanks, and those sound very intriguing but also rather vague and unclear to me. There are mentions of their "getting started guide" and "reference sheet" but I haven't yet found them online.

    Probably:
    https://tasmota.github.io/docs/Getting-Started/
    (but you can skip down to 'Initial Configuration' if you buy a preflashed device)
    Not sure about the reference sheet, but see the other sections in the
    sidebar for other documentation.

    How does one communicate with a module for programming? Do they have a web user interface available on the LAN or what?

    There's a web interface. There is also MQTT which can be controlled from a third party client, and there's a command line UI (which I haven't used).

    Also, can they be registered on the Tuya/Smart Life cloud platforms?

    It's (by design) entirely standalone, it doesn't use any proprietary
    platform. It may be possible to connect it via MQTT: there are some hits
    when I search 'tuya mqtt' but they may be the other way around - controlling Tuya devices via MQTT not MQTT devices via Tuya.


    Also worth mentioning that anything compatible with Tasmota is likley
    flashable with ESPHome, although that's less standalone and more oriented towards interworking with Home Assistant.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Anthony R. Gold@21:1/5 to theom+news@chiark.greenend.org.uk on Mon Feb 20 02:29:39 2023
    On 20 Feb 2023 05:57:48 +0000 (GMT), Theo
    <theom+news@chiark.greenend.org.uk> wrote:

    Anthony R. Gold <not-for-mail@ahjg.co.uk> wrote:
    On 19 Feb 2023 15:56:22 +0000 (GMT), Theo
    <theom+news@chiark.greenend.org.uk> wrote:

    These sockets are preflashed with Tasmota:
    https://www.mylocalbytes.com/products/smart-plug-pm

    Many thanks, and those sound very intriguing but also rather vague and
    unclear to me. There are mentions of their "getting started guide" and
    "reference sheet" but I haven't yet found them online.

    Probably:
    https://tasmota.github.io/docs/Getting-Started/

    Maybe, but I thought (hoped) that the reference was to appliance level documents specifically about those Local Bytes' Smart Plug devices.

    Anyway, many thanks again. Your suggestion intriguing and the devices are
    quite cheap, so I'll just place an order and see what arrives in the box.

    Right now I'm still out of the country on my annual hide from the Northern European winter, but I now see similar local offerings on Amazon, such as:

    https://www.amazon.com/TASMOTA-Martin-Jerry-Devices-Required/dp/B0BMTWNL7R

    so I can start playing with this platform over here, albeit without the necessary BS 1316 hardware, before I get back.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Theo@21:1/5 to Anthony R. Gold on Mon Feb 20 12:02:38 2023
    Anthony R. Gold <not-for-mail@ahjg.co.uk> wrote:
    On 20 Feb 2023 05:57:48 +0000 (GMT), Theo
    <theom+news@chiark.greenend.org.uk> wrote:

    Anthony R. Gold <not-for-mail@ahjg.co.uk> wrote:
    On 19 Feb 2023 15:56:22 +0000 (GMT), Theo
    <theom+news@chiark.greenend.org.uk> wrote:

    These sockets are preflashed with Tasmota:
    https://www.mylocalbytes.com/products/smart-plug-pm

    Many thanks, and those sound very intriguing but also rather vague and
    unclear to me. There are mentions of their "getting started guide" and
    "reference sheet" but I haven't yet found them online.

    Probably:
    https://tasmota.github.io/docs/Getting-Started/

    Maybe, but I thought (hoped) that the reference was to appliance level documents specifically about those Local Bytes' Smart Plug devices.

    Local Bytes are just buying Chinese smart plug devices, flashing them with Tasmota, and reselling. They're simply providing that as a service -
    there's nothing special about the hardware.

    You could buy them on Amazon/Aliexpress/etc and flash them yourself - here's
    a list:
    https://templates.blakadder.com/uk.html
    (scroll down to 'plug')
    and a tool:
    https://tasmota.github.io/docs/Tuya-Convert/
    but there are some pitfalls (the manufacturer sometimes changes the insides
    to have a different chip that doesn't support Tasmota), which is why it's
    safer to get them pre-flashed.

    Anyway, many thanks again. Your suggestion intriguing and the devices are quite cheap, so I'll just place an order and see what arrives in the box.

    Right now I'm still out of the country on my annual hide from the Northern European winter, but I now see similar local offerings on Amazon, such as:

    https://www.amazon.com/TASMOTA-Martin-Jerry-Devices-Required/dp/B0BMTWNL7R

    so I can start playing with this platform over here, albeit without the necessary BS 1316 hardware, before I get back.

    Ah, if you want the .us versions:
    https://templates.blakadder.com/us.html
    although the caveats above still apply - read the comments on each one carefully. OTOH it is possible to buy them and then return them if 'conversion' doesn't work.

    Theo

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)