[ST Edge] Personal Tuya Devices - Generic EF00 Device

This is the response to App On command (one press)

2023-08-31T11:18:36.969554847+00:00 INFO Zigbee Switch Mc  <ZigbeeDevice: c2105564-e0ed-4030-ab96-22954bb9d002 [0x48A6] (Aire Acondicionado)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x48A6, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, lqi: 0xCA, rssi: -37, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x26, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0000, DataType: Boolean, OnOff: true > > > >

This is the response to a App Off command (one press)

2023-08-31T11:24:20.221719127+00:00 INFO Zigbee Switch Mc  <ZigbeeDevice: c2105564-e0ed-4030-ab96-22954bb9d002 [0x48A6] (Aire Acondicionado)> received Zigbee message: < ZigbeeMessageRx || type: 0x00, < AddressHeader || src_addr: 0x48A6, src_endpoint: 0x01, dest_addr: 0x0000, dest_endpoint: 0x01, profile: 0x0104, cluster: OnOff >, lqi: 0xC8, rssi: -38, body_length: 0x0007, < ZCLMessageBody || < ZCLHeader || frame_ctrl: 0x18, seqno: 0x29, ZCLCommandId: 0x0A >, < ReportAttribute || < AttributeRecord || AttributeId: 0x0000, DataType: Boolean, OnOff: false 
> > > >

@w35l3y
Hi, how do one update firmware of a tuya button?


Interesting.
It is acting as an actual switch, not a push button.

Hopefully, using the 0xEF00 cluster, the commands will be different.
Otherwise, I probably will need to ignore the state and use something like a toggle command to implement momentary capability for this cluster.

1 Like

@brogio with Wesley driver, remove the battery from the Fingerbot, wait 10 seconds and then reinsert the battery again.
Wait 10 seconds and refresh the device view, you should be able to discover much more Data Points.

1 Like

Only using a tuya hub.
This driver doesn’t support OTA and I don’t know any other zigbee driver that supports it.

2 Likes

All DP are known from HA driver. I already posted:
image

1 Like

Knowing the datapoints isn’t enough.
I need to know the current values so I could understand why it is behaving this or that way.

I need to understand the domains… 101 is 0/1/2 ? I don’t know.
It may be working as a switch because its current mode is Switch.
We will never know without the current values.

I will add you in another private conversation.

Nice. I don’t know that. Thanks!

Some of the new Tuya devices are reproting all (or most of) the datapoints during the power on. So it is always worth to try it.

1 Like

It interprets the on and off commands as if it were a state change command, just like it does with its own physical button.

For this reason, in the routines so that the state of the silly device does not get out of sync, you have to put:

  • to execute an on: if state = off then set on
  • to execute an off: if state = on then set off

2 Likes

@w35l3y ,

Please can you add this to your Tuya main driver based on the screenshot below?

Enum 1 is the smoke detection. 1 is clear and 0 is detected
Boolean 4 detects whether the smoke detector has been attached to its mounting plate. It reacts to a button that is pressed when the detector is twisted into the mounting plate that attaches to the ceiling. “True” when the button is released and the detector is off the plate and “false” when the button is pressed down and the detector is seated in its mounting plate
Enum 14 detects battery level. “2” means batteries are full (100%), “1” is low (50%), “0” is empty (0%).

This got added as a Generic device in Smartthings and though I chose ‘Smoke detector’ in the driver profile, nothing gets displayed probably because you have not mapped the data points yet?

1 Like

It seems a very common problem with iOS app version.
Try closing the app and try again.

Does it have any test button ?
If so, what is the datapoint associated ?

@w35l3y, Thanks for your quick response. I am not sure what you mean by common problem. Am I right in understanding that you have added the data points to the driver based on the screenshot I provided?

I am using Android and not iOS.

Yes, it has a test button but there is no data point associated to it.

@Mitokafander, Just to let you know that Wesley has kindly added our smoke detector to his Beta driver and it is working perfectly fine. I was also able to add it to the SHM directly without the need for a Virtual switch so you may want to try this too.

2 Likes

Is it possible to add this pressence sensor:
_tze204_sbyx0lm6
From this link8
ZigBee 24G MmWave Radar Human Body Presence Motion Sensor For Light Switch Luminosity Detection 110/220V Tuya Smart Life Home
https://a.aliexpress.com/_mLitGgS

Attached also screenshots of cluster and datapoints info.



Regards, Dusan

Hi

I would appreciate your help, I set the driver for 1 gang breaker without a zero line (N) - without success.

For a similar switch (of the exact same type) I connected zero line (N). It also appears in the same configuration and cannot be used.

I have attached screenshots of the switch fingerprint

@w35l3y
I’m updating in the name of @Elad_Natan .


This switch worked , according to Elad , only when selecting 3 switch profile . When selecting switch profile , NO response from module. Can you please comment…

I asked him in private because I didn’t understand anything of what he said.

What is zero line (N) ? Is it neutral wire ?
Where is the screenshot of the settings ?
Where is the screenshot of the detail view ?

I am answering all of them in private.

I already got the results from @Subramanian_Swaminat
I am waiting some results from @Gruv_Shack
I also am waiting some results from @dusanhauko

1 Like