Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


CokemonZ

1106 posts

Uber Geek
+1 received by user: 313


#275650 2-Sep-2020 12:14
Send private message

Hi team,

 

I'm now fairly deep in the Tuya/Google home path and have run into a couple of scenarios not well catered for.

 

I'd like to have a button which turns off all my smart bulbs in a room, but not actually cut the power, you know using Tuya/Google smarts. Potentially reset them to a default as well - warm white at 70% say, so when they come on, thats what it defaults to.

 

Voice control is cool - but sometimes a button is better.

 

So, I'm looking at these: https://www.bunnings.co.nz/deta-grid-connect-smart-quad-gang-touch-light-switch_p0161015

 

Essentially smart light swtiches.

 

Has anyone got one, and can I have them setup so they don't actually do anything physically, but either run a scene in Tuya/Google home to perform the action.


Create new topic
openmedia
3449 posts

Uber Geek
+1 received by user: 877

Trusted

  #2555578 2-Sep-2020 12:46
Send private message

I'm hacking all Tuya gear with Tasmota so they aren't phoning home.

 

 - https://github.com/arendst/Tasmota/

 

I can then have full local control via Home Assistant.





Generally known online as OpenMedia, now working for Red Hat APAC as a Technology Evangelist and Portfolio Architect. Still playing with MythTV and digital media on the side.




richms
29097 posts

Uber Geek
+1 received by user: 10205

Trusted
Lifetime subscriber

  #2555596 2-Sep-2020 13:14
Send private message

The automation in the deta skinned tuya app is limited quite a bit. I would suggest using the brilliant smart one because it has IFTTT integration and seems to have a better automation area. That might be because its based on a newer tuya version but it seems all around a better app.

 

The generic tuya one on the store seems older, and the smart life one lost IFTTT and then got it back so who knows if they will keep it, whereas briliantsmart have it on their boxes and also they have said they are keeping it around.





Richard rich.ms

Zorg2000
73 posts

Master Geek
+1 received by user: 25

Lifetime subscriber

  #2555659 2-Sep-2020 13:38
Send private message

It looks like they should be able to run on the Smart Life app in which case a "Tap-to-Run" automation could do what you are after. "Tap to Run" is under the Smart tab on the Smart Life app. I have a switch set up to turn on and off multiple lights from a single switch. It has a sort of if this then that functionality that's based on device status. As in if this smart switch status is 'on' then turn that device 'on/off' then you can add multiple devices to the same smart switch status and if a bulb is dimmable you can choose the brightness percentage. I haven't tried the Deta app or Brilliant so not too sure about those but if they are based on the Smart Life app then it might be possible with them too.




CokemonZ

1106 posts

Uber Geek
+1 received by user: 313


  #2555685 2-Sep-2020 14:31
Send private message

I'm using the Tuya app (same as smartlife) - not the reskinned Grid-connect one as I found the same thing - too limited, and I have several other Tuya devices.

 

Thanks for the feedback so far.

 

The question I am specifically asking is:

 

Those light switches - can I disable the physical switching off and on of the light?

 

I know I can setup additional automation off the switch press - thats exactly what I'm after.


Zorg2000
73 posts

Master Geek
+1 received by user: 25

Lifetime subscriber

  #2555722 2-Sep-2020 15:14
Send private message

The short answer is yes the switch can be wired for power but not connected to a physical light fitting allowing you to control other devices via the app. I've seem a tutorial where this is a work around for a 2 way light switch for smart switches where one is physically connected to the light and the other is powered only and connected by Wi-Fi. When one switch is turned on/off a "Tap-to-Run" turns the other switch on/off at the same time.  It would be a similar concept. 


CokemonZ

1106 posts

Uber Geek
+1 received by user: 313


  #2555723 2-Sep-2020 15:16
Send private message

Zorg2000:

 

The short answer is yes the switch can be wired for power but not connected to a physical light fitting allowing you to control other devices via the app. I've seem a tutorial where this is a work around for a 2 way light switch for smart switches where one is physically connected to the light and the other is powered only and connected by Wi-Fi. When one switch is turned on/off a "Tap-to-Run" turns the other switch on/off at the same time.  It would be a similar concept. 

 

 

 

 

Perfect!

 

That's exactly what I'm after - thank you.


 
 
 
 

Shop now for Dell laptops and other devices (affiliate link).
CokemonZ

1106 posts

Uber Geek
+1 received by user: 313


  #2555725 2-Sep-2020 15:20
Send private message

@openmedia - from what I've read a lot of them can no longer be flashed with tasmota due to tuya updating firmware locking them down.

 

Happy to try OTA stuff, but not keen to get into disassembling lightbulbs and soldering onto boards.

 

openmedia:

 

I'm hacking all Tuya gear with Tasmota so they aren't phoning home.

 

 - https://github.com/arendst/Tasmota/

 

I can then have full local control via Home Assistant.

 


openmedia
3449 posts

Uber Geek
+1 received by user: 877

Trusted

  #2555750 2-Sep-2020 15:51
Send private message

CokemonZ:

 

@openmedia - from what I've read a lot of them can no longer be flashed with tasmota due to tuya updating firmware locking them down.

 

Happy to try OTA stuff, but not keen to get into disassembling lightbulbs and soldering onto boards.

 

openmedia:

 

I'm hacking all Tuya gear with Tasmota so they aren't phoning home.

 

 - https://github.com/arendst/Tasmota/

 

I can then have full local control via Home Assistant.

 

 

 

I've found the brilliant power plugs at Bunnings are easy to hack.





Generally known online as OpenMedia, now working for Red Hat APAC as a Technology Evangelist and Portfolio Architect. Still playing with MythTV and digital media on the side.


CokemonZ

1106 posts

Uber Geek
+1 received by user: 313


  #2555752 2-Sep-2020 15:56
Send private message

openmedia:

 

I've found the brilliant power plugs at Bunnings are easy to hack.

 

 

 

 

Over the air using tuyaconvert, or direct connecting to the board?


openmedia
3449 posts

Uber Geek
+1 received by user: 877

Trusted

  #2555787 2-Sep-2020 16:28
Send private message

CokemonZ:

 

openmedia:

 

I've found the brilliant power plugs at Bunnings are easy to hack.

 

 

 

 

Over the air using tuyaconvert, or direct connecting to the board?

 

 

tuyaconvert via a raspi.





Generally known online as OpenMedia, now working for Red Hat APAC as a Technology Evangelist and Portfolio Architect. Still playing with MythTV and digital media on the side.


CokemonZ

1106 posts

Uber Geek
+1 received by user: 313


  #2555794 2-Sep-2020 16:43
Send private message

All of mine are running the 3.3.30 firmware which seems to be the doesn't work with tuyaconvert anymore.

 

https://www.reddit.com/r/tasmota/comments/ibgzm8/advice_for_easy_to_open_e26_bulbs/

 

https://github.com/ct-Open-Source/tuya-convert/issues/483

 

I'm going to keep an eye on it but tuya cloud appears to be working ok so far.


HP

 
 
 
 

Shop now for HP laptops and other devices (affiliate link).
richms
29097 posts

Uber Geek
+1 received by user: 10205

Trusted
Lifetime subscriber

  #2555814 2-Sep-2020 17:14
Send private message

openmedia:

 

I've found the brilliant power plugs at Bunnings are easy to hack.

 

 

Mine did a software update which made them not work with tuyaconvert when I used with the app, and have a stupid 3 pointed screw holding them closed.

 

The arlec controls in the app have acceptable usage history so I am using them with that at the moment. i want to open them up and bypass the relay because I ahve already almost had an accident when alexa thought I said turn off tropical aquarium rather than turn off tropical aquarium light.





Richard rich.ms

MarkM536
321 posts

Ultimate Geek
+1 received by user: 146


  #2952783 9-Aug-2022 23:03
Send private message

I thought I would reply for others reading over this thread and getting excited that these DETA devices could be reflashed.

 

A lot has changed since 2020!

 

 

 

More of these devices are no longer using chips like the 8266 TYWE2S and are instead using a different kind (like the WB2S) which cannot be easily reflashed.

 

 

 

There are videos I have found online about opening some of these DETA/Arlec products, and then you would proceed by replacing the chip.

 

But obviously that is a risk opening a mains voltage device.


davidcole
6099 posts

Uber Geek
+1 received by user: 1465

Trusted

  #2952818 10-Aug-2022 07:34
Send private message

you might be able to switch to something like tuya-local (and local tuya).   They're used in the home assistant community to control these devices locally.  And even if they need initial connection to tuya cloud for setup, you can then block them from the internet.

 

Unsure if they can be run independently of home assistant.   There was another mqtt based project I was using for a while that was similar, (TheAgentK/tuya-mqtt: Nodejs-Script to combine tuyaapi and openhab via mqtt (github.com))  it allowed simple control of devices.  Obviously not at plug and play and using the tuya apps, but probably easier than flashing, if that were possible.

 

 





Previously known as psycik

Home Assistant: Gigabyte AMD A8 Brix, Home Assistant with Aeotech ZWave Controller, Raspberry PI, Wemos D1 Mini, Zwave, Shelly Humidity and Temperature sensors
Media:Chromecast v2, ATV4 4k, ATV4, HDHomeRun Dual
Server
Host Plex Server 3x3TB, 4x4TB using MergerFS, Samsung 850 evo 512 GB SSD, Proxmox Server with 1xW10, 2xUbuntu 22.04 LTS, Backblaze Backups, usenetprime.com fastmail.com Sharesies Trakt.TV Sharesight 


Create new topic








Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.