Hi mr.sneezy
I think I used the TUYA smart life app rather than grid connect. Just follow the instructions in the app.
Add ("+") a new device, select from “security and sensors” , “Motion Detector” and then “Motion Detector (Bluetooth)”. Put the device in paring mode using the internal button.
I do have the device kind of working on Esphome and HA. I’m using the ESP32 as a bluetooth tracker and sensing the bluetooth signal strength for the motion sensor. The motion sensor wakes up when it detects movement and the bluetooth tracker sees it. This approach wouldn’t work for the contact sensors. I can’t get battery level.
The additional problem is that there is a regular wakeup (every 5 min in my case). This might actually be the bluetooth tracker starting a new scan and causing the motion sensor to respond. I’ve done some dodgy code to handle this. Since I’ve only using this to put a fan on a timer, this solution is adequate for me. It wouldn’t be suitable for alarms etc. My Esphome yaml is below, (add in your own WIFI config etc, and BLE mac address for your motion sensor following the instructions in Esphome docs):
I purchased the Arlec Smart LED Globes (CWWW, Not the RGBWW ones) which converted fine using tuya-convert however after using more or less the same ESPHome config that I used with “Connect Smart” globes from Harvey Norman they behaved very oddly in HA. After some poking at the black box, it looked like one GPIO on the ESP8266 controlled brightness and the other controlled the colour temp. This doesn’t seem to work with any of the components in ESPHome that i could find so I thouoght I would have a go. I have published the custom light component on GitHub in case anyone else get these globes.
The caveat that I would say is that there is some ability to calibrate the colour’s using the default CWWW component in ESPHome that you will not get with this, and the brightness does not appear overly linear so I wouldn’t mix them with other lights (not that I would anyway) but it works.
This should work with anything else that uses a BP5926 to control the LED’s with possibly some changes to the GPIO assignment in the ESPHome YAML config file.
Considering getting a bunch of their plates, in wall inline switches and downlights unsure on the quality, and bigger question, do i go WIFI or Zigbee and use my Philips HUE hub, confirmed that all items will pair up
Interesting to see they only have a 300W per gang limit. Ok if you are using LED bulbs but what happens if someone happens to put old 100w bulbs in and you have 4 or 5 on the circuit?
Most others seem to be 600W upward…
Got them a month ago, had nothing but problems with them so far trying to pair with Zigbee2mqtt.
Couldn’t pair them to a Tradfri gateway no matter how hard I tried too.
Had 4, returned 1 and the gateway for now…
Got bored over the weekend and decided i need to replace my old crappy 80s lights in the lounge. Went to bunnings and grabbed a couple of the verve LED oyster style lights.
Flashed with tasmota. They work quiet well, just a bit pricey
So, it got the better of me a little earlier, and I mustered the courage to pulled the Arlec Hub apart. The base is glued on pretty well, so you need to get some solid plastic to work your way around to detach the adhesive. Once done, however, it would be easily replaced.
This is what I saw…
Seems as if this particular chipset is Tuya generic (https://fccid.io/2ANDL-TYGWB1/User-Manual/User-Manual-3963010) and is spread across a large number of vendors. In theory there would be no issue Tasmotizing the Wifi part of this, but where my experience and expertise gets REALLY fuzzy is what the interaction will look like with the Bluetooth module.
The current hub operation relies on firstly connecting it to a WiFi network, and then pairing the smaller ancillary devices via the app.
Given this is my first time tinkering with one of these kinds of modules, I’ve tested (successfully) pairing and configuring using the Grid Connect app and the TuyaSmart app.
I guess its going to be easy to integrate into HA using the Tuya integration, but it’s by no means ideal. If you, or anyone, can shed light on getting the WiFi part to work in conjunction with the Bluetooth Mesh part, I would think this would be a nice off the shelf solution (even with the price tag) given that some of the other equivalent lower cost alternatives are having supply constraints, what with COVID, and all.
I’d be interested to know if the sensors are truly BLE mesh compliant. If they are it should make things much easier since the spec for BLE mesh is freely available. Can you see if you can pair any of the sensors with one of the BLE mesh debugging apps like ST BLE Mesh?
@milwhite, Thanks for the suggestion. I’ve tried the debugging app you recommended and, sadly, it fails to detect any of the three devices that came with the Arlec Sensor Kit (with and without pairing mode enabled).
I can, however, see multiple devices that would likely be the sensors when I do a Bluetooth sweep using the phone’s discovery. Two of the three devices (the contact sensor and the Temp/Humidity sensor) appear as “tymesh158018128” whereas the third (the PIR sensor) appears as “Triones-FFF400093”. To be 100% sure this is the case I need to power on each, one by one, and see what comes back… which I will do shortly.
When tapped (attempted pairing at OS level) I get the “Couldn’t Pair…” message which I guess would be normal?
So… in short, the phone seems to be able to see them whereas the the STBLEMesh app cannot. I am using the default settings of the App, so I guess it’s worth asking… Is there anything I should be doing to configure it so it behaves differently, and in doing so change the detection behaviour?
EDIT: All Devices share the same name - tymesh158018128, with the MAC address being the differentiating each. The test was to see when they became visible in the scanner (in this case I used BLE Scanner by Bluepixel - bluepixeltech.com). The PIR sensor appeared when it detected movement, the contact sensor when contact was broken, the temp/humidity sensor when its transmit mode was changed, and the hub when it was POPO’d.
I just noticed STM has a disclaimer about it only working with their dev boards which I don’t remember being there last time I worked with BLE mesh gear. Try the app from SILabs, you may have more luck with that. If that doesn’t work, i’m all out of ideas sorry .
This is awesome. I’m looking to do something like this.
One question though. Did you install them yourself? Don’t you need a sparky to do it? (unless you are one )
I did them myself. You probably do need a sparky. My brother is, he has his A grade and HV tickets. I just video called him to show him my work.
I am an auto-elec so im pretty confident with wiring