[BETA] Tasmota (Connect) - Pure Tasmota/HE Integration + real-time status (for Sonoff, Tuya, SmartLife & other ESP8266 devices) - ST port

@pgux there is a bug in this that any device that is not a generic 1 ch switch will not report data until polled. This does not seem to have any affect from brand. All 1ch plugs and switches work, all dimmers, 2ch plugs, and power meters have this bug. Doesn’t really matter on the specific devices I have, as you can still give the off command even if the device is off and it will work. It would be nice though if this were to work. Two of my 2ch smart plugs are inaccessible so no way to press the button, but the dimmers button is pressed. However, no automations based on if a button is pressed so I am fine. Also the power monitoring doesn’t show a power variable. Again don’t have any automations for the power so no need..just want.

@jchurch this occurs for all devices with your integration. However, the power monitoring does work, but it must be refreshed to work.

PGUX! Thanks for the coding!

Can some help out here?

I have recently acquired a HE Hub and I'm trying to connect all my Tasmota devices (mostly Minis and Basics).

I've added the "User App", but after choosing the device type and typing the name I get this message:

Have you added all the device handlers?

Please follow these steps:

  1. Sign in to your SmartThings IDE.

  2. Under 'My Device Handlers' > click 'Settings' > 'Add new repository' > enter the following

Owner: hongtat, Name: tasmota-connect, Branch: Master

  1. Under 'Update from Repo' > click 'tasmota-connect' > Select all files > Tick 'Publish' > then 'Execute Update'

Error message: Device type 'Tasmota Generic Switch' in namespace 'hongtat' not found.

Help? Please?

1 Like

@gusthepenguin I got that error too. It is a namespace error. I just changed the namespace and now it works. I forked hiss repository and edited this. Here it is:

Tasmota Generic Switch cannot be found because it has been renamed to Tasmota Generic Switch Test. Renaming it back works.

Thank you for correcting this! it seems that I uploaded a test file to my github.
Sorry not opening the HE community and check my messages in a while. ST community was always very supportive, but my experience with in HE community has been awful. That is why I am not using this frequently.
I corrected my github project.

Thanks.

2 Likes

Hello, I have some problems with sonoff tx 3 gang. the 3 gang work well with tasmota, but when I try to configure this in HE only shows 1 gang. Do you know what is the problem?.

@ropalet 3 ganG is supported with a different driver but it doesn’t get push alerts about the state being changed due to the button. Just use TH4E for multi-gang devices.

Thanks @Abhijeet_Ghosh. Can I use the original tasmota firmware or is mandatory to install the fork firmware?

@ropalet You have to use the forked firmware. First use the forked minimal, even if you still have enough space. Then load the main firmware. Then do a reset 5 (must). You don’t need to re-solder, just use the tasmota OTA updates from the web ui.

Excellent @Abhijeet_Ghosh , it works like a charm. I used the original firmware.

If you use the original firmware it won’t sync up when the button is used to control the smart plug. Power usage also won’t sync up unless you hit the refresh button. If you are happy without this, then it’s ok to use the original firmware.

@Abhijeet_Ghosh I have been trying to make a 3 gang switch work as mentioned, making a push-button work instantaneously, without luck.

When you mention that "Just use TH4E for multi-gang devices", you mean that if we use that driver it will work? Can you be more specific? Can you provide a link to such a driver?

I have been using HongTat Tan "test" driver on single switch devices, and it works great, but on multiple gang devices it cannot be used, or I don´t know how to configure it.

Thank you for your help.

I don't understand this. The switch's button should work regardless of hubitat. If you are trying to use a wireless button for soft-3-way or any other button that involves hubitat, I will explain how to get the integration working. You will then be able to create rules that can control the working devices.

To use TH4E, first remove your devices from this integration. Then use the OTA firmware update functionality of the tasmota web ui to get the TH4E minimal fork of tasmota on the device. Do same thing, this time with TH4E full. Finally, run reset 5 and reconfigure the tasmota device. If you don't care about it pushing changes in the state in the switch and are ok with polling the switch for state changes, you don't have to do this, but I recommend doing it.

On the hubitat hub, install the universal TH4E driver and apps. Follow the instructions. I do not recommend using SSDP auto-discovery, just use the manual IP discovery. If you don't use the forked firmware, I doubt SSDP will work. It should auto-detect 3 child devices. If you use the forked firmware, they should receive pushes when the state of any switch changes.

Hope that helps!

you need to use a different device driver:
tasmota-virtual-4-button.src

It's not fully ported, it will work, but the status of the switch will be collected through poling (not real time). Try that.

Thanks.

1 Like

WOW! Great! Thanks. It worked as expected.

Sorry for my confusing message, but at the end you understood what I was looking for; Being able to turn on/off a remote switch from a wireless 3-gang switch.

My error was that I was using typical Tasmota firmware, and I was already on 8.5.0. Now I went back to 8.3.1(tasmota-he) and it works as expected.

Now I´m considering migrating all other multiple-gang switches I have installed, although not yet using them with that purpose.

The next question would be, when do I (we as users) will update the Tasmota firmware on our devices if Tasmota is already on ver. 8.5.0?

And another question would be if you recommend changing the firmware back to 8.3.1 (Tasmota-HE) on other single-switch devices, such as Sonoff Minis I already own and work as expected, but with a different driver (Hongtat driver)? I have noticed on the Log that those SfMinis send an error message:

2020-09-27 01:51:56.088 pm errorjava.lang.NullPointerException: Cannot get property 'ip' on null object on line 320 (refresh)

They work as expected, without any noticeable problem, but I don´t know how bad that particular error is for the HE system.

Again, thanks for your help.

1 Like

I couldn't understand what this means.

You should just use this integration for single-switch devices. It has no devices inside of child devices, for example. The error doesn't matter much. The changes in the relay are also pushed, not polled. So just stick with regular tasmota and this integration for single-switch devices (no power monitoring, no dimmer, no night light + plug, just single-relay devices).

:+1:t3: Thanks!

1 Like

Hello friend, I would like to congratulate you for the effort of trying to bring tasmota connect to Hubitat, I currently use it on Smartthings and it works perfectly, Hongtat did an excellent job of developing this app.
I was wondering if it would be possible to control an IR Tuya in the same way that is possible in ST.
I use this driver a lot, is it possible to convert it to work in Hubitat?
https://raw.githubusercontent.com/hongtat/tasmota-connect/master/devicetypes/hongtat/tasmota-virtual-air-conditioner.src/tasmota-virtual-air-conditioner.groovy

Hello friend, I was wondering if you could update the App to add the virtual air conditioner, I'm testing your app and it's working really well. Keep up the good work

1 Like

Sonoff virtual air conditioner? Not familiar with that product. Can you post a link?

Thanks!

Hello there.... Thanks for the great job done with this application....

I have tasmotized the following device

Sonoff TX T0 2 Gang

When I use your app to install the new device, the app only recognize the first Switch and not the second one. I have tried different configurations but the result is always the same.

Any idea why this might be happening?

Thanks in advance