alexsee / openhab2-addons

Add-ons for openHAB 2.x
Eclipse Public License 2.0
1 stars 2 forks source link

State of the development #1

Open claell opened 4 years ago

claell commented 4 years ago

Just wanted to ask about the current development state of the binding, since I'd be interested in having one available for Tuya devices.

Also I found this other approach: https://github.com/wvissers/openhab2-addons-tuya which is currently not further developed due to stability issues. Maybe force can be joined in order to get a working binding?

pacoja84 commented 4 years ago

Hello @claell,

I could make this works with the tuya Switchs.(Only with Switchs)

You need to compile this code in order to generate the addon.

To do it, you need to install Java SDK(recomended version 8) and Maven.

When you deploy the jar to the addon folder, you need to configure a thing using configuration files:

Something like: Thing tuya:wifiSocket:Enchufe1 [ hostAddress = "", tuyaId = "", tuyaKey = "", updateInterval="60"]

then, you need to map to an items:

Switch Enchufe1 "Depuradora [%s]" { channel="tuya:wifiSocket:Enchufe1:switch" }

Hope this helps.

Regards

TRSx80 commented 4 years ago

@pacoja84,

I could make this works with the tuya Switchs.(Only with Switchs)

Are you on OpenHAB 2.5 per chance?

pacoja84 commented 4 years ago

@pacoja84,

I could make this works with the tuya Switchs.(Only with Switchs)

Are you on OpenHAB 2.5 per chance?

No, in 2.4.