Vera plus - how connect Tuya wifi PIR motion sensor?

Do you have any experience connecting this sensor?

Unlike other Z-Wave Hubs, Vera does not have native integration to TUYA, also there is no TUYA Plug In, most strange given the amount of TUYA/Smart Life devices out there.
As a work around you could use HASS and the corresponding HASS Vera App or wait for Homeseer4 which will have native integration.

I made several attempts to get my developer application approved with Tuya. After several weeks waiting for approval, I sent several follow-up emails but never got a response, not even an auto-reply. Moving on…

3 Likes

^^^
Yes, and thank you for the effort that you put into that, It’s unfortunate that you meet with a stone wall response.
Given that HASS has many integrations with devices that VERA hasn’t, would it be in the realms of possibility for a HASS Plug In ?
This would alleviate many requests for devices that are not VERA friendly but are integrated with HASS?
I’m not a developer so I’m not sure if it could be done, however as the reverse is already possible there could be hope?

This discussion led me to the same thought. Stay tuned… I’m exploring…

I partially already did this integration with… @rigpapa’s site sensor. I am finding that there are too many device types on HASS to be able to completely transparently move HASS entities into Vera’s devices so I used various site sensors to sync up device variables instead and likewise have setup HASS automation to update these variables on the vera when they change depending on how quickly I want the sensor to update.

I use IFTTT webhooks to integrate to some of my TuyaSmart/SmartLife devices. I have also integrated Home Assistant to Vera, Tuya and HomeKit - allowing control of Tuya (switches and blinds/shades) and Vera Devices from Siri or the HomeKit app. It works very well.

As many of you know, I went for a different route. I just wrote my own MQTT-to-Vera publisher (in C#., running on .NET Core under linux) and it’s working very well. While I was there, I wrote a couple of APIs (Telegram, OpenSprinkler, MiLight, Tasmota) and integrated it.

I used it to learn some things about MQTT that could be useful to my job, but I digress. This way I can basically route MQTT messages to variables/actions under Vera, where Virtual Devices could be used to do the opposite.

Home Assistant is able to receive/push MQTT messages, so I still think that a native MQTT broker inside the Vera OS could be a game changer. It’s similar to what site sensor is doing for @rafale77, but it’s nearly realtime and very smooth.

The latest addition to the family is a Tasmota TH 16, running my humidifier, and it’s using a native (virtual) device in order to display humidity, status and so on:

image

(pardon the Italian name)

Status is pushed to the device via HTTP and the MQTT message enables real time status, thanks to the broker, when switched on locally (or by a rule/timer).

Supporting MQTT natively could make 3rd party integration very easy.

1 Like

@edward added Mosquitto to the installable packages for me a while back…

echo "src/gz mios http://dl.mios.com/firmware/mt7621_dev/openwrt/ramips/packages" >> /etc/opkg.conf
opkg update
opkg install mosquitto

It’s a start…

1 Like

Yep, I was exploring that option prior to my implementation, but mosquito was not available at that time.

I’m evaluating deconz to add general zigbee support (mainly for hue strips) and it’s probably one of the options.

© 2020 Vera Control Ltd., All Rights Reserved. Terms of Use | Privacy Policy