Yes correct. That’s why they stayed as DTH. now that I have a community Driver with the right fingerprint, will they be migrated? as I understood from the post you shared it should be yes… but what’s not clear is the child devices, for that will wait & see…
Hi all, Just wondering if anything changed in the last day or so ? I have 5 Tuya zigbee 3 plugs that i have been using with this driver for 3 or 4 months now with no issues. Yesterday they all stopped working. i tried all kinds of stuff and rebooted the hub etc etc. eventually I downloaded another zigbee power EDGE driver from smartthing Drivers (BETA) and that now works fine for all the plugs. Just wondering what changed in the last couple of days ?
Just and FYI, today i switched one of the plugs back to your driver and its working great again! . I didnt change anything to my network, only uninstalled and reinstalled the Zigbee Switch Mc driver. The driver version before removal and after reinstall both show 2023-5-22 ( does this driver auto update? )
but when i go into setting for a zigbee switch using this driver the first line of the settings page shows ( Version 4 (MAr 2022) why is that ?
One final question , is it possible to disable the physical button on these switches with a setting in the driver ?
Thanks so very much for your amazing work on these its great to have people working hard to give us all options to buy and try different devices and brands!!
Hi @Alexhp11
This is the date and time of the last compilation of the driver when any changes have been made, any fingerprint added, … and it is automatically updated on your hub.
This is a reference when the new functions that have been introduced in the driver.
I don’t know of zigbee devices that have this function in settings. That would depend on specific functions that the manufacturer can introduce.
I think that in zwave there is some devices that has this type of adjustment, but I don’t remember which models
@Mariano_Colmenarejo the following switch is report power reading that are high by about a factor of 10. The power reading were fine a week ago.
Hi @Paul_Oliver
In this version I introduced that it is possible to establish a custom divisor for the calculation of Power and Energy from preferences.
It seems that there was an error in the devices that do respond to the reading of their divisor.
This version should correct it, but I have a question about this Centralite 3210-L device. Does it show Energy readings? in the stock driver it only has a Power capability.
Could you please install this version of the driver with the CLI and send me the installation logs?
───────────────────────────────────────────────────
Name Zigbee Switch Power Mc
Version 2023-05-28T10:37:37.696271832
───────────────────────────────────────────────────
The driver automatically updated overnight.
But now it is totally unresponsive. It will not turn on or off (network error) and they is no power readings. I unplug the device, cleared the cash, force stopped the app and changed drivers. Nothing helped.
Yes the plug reports energy consumption.
I can’t send you logs. I didn’t bring my laptop to camp with me. I need be I will bring the switch home to get logs.
It’s only been 4 hours since I published it.
Will it be partially updated?
You were right.
I temporarily changed the driver to beta ZigBee Switch and uninstalled your driver. I reinstalled your driver and changed the device back to the updated driver and it is working.
Using a divisor of 10 everything looks correct on the power reporting side.
Thanks for promptly fixing this problem.
Please, could you try setting the divisor to 0 and that it still works well with the divisor by 10 that this device sends?
When I set the divisor to 0 it still retains the correct power reading.
If this device worked fine with the previous driver version and since I hadn’t assigned any custom divisors to it, then is supposed, device send to the driver the correct divisors to use in the calculations.
Thanks for test it
Finally back at the location where I can log driver changes. Thank you for your patience @Mariano_Colmenarejo !
Changing from Zigbee Switch Power Mc to Zigbee Switch Power Mc TEST I get the attached log.
Hi @S.F.B
Zigbee switch power TEST is deprecated and deleted from the channel.
Zigbee Switch Power Mc is the driver you should use to test your device
Lightning quick!
In that case a log for the Zigbee Switch Power Mc shows some errors, re attached.
In the app, the temp field is not populated and the app signals “This device hasn’t updated all status info …”
Btw @Mariano_Colmenarejo : I believe I’m using the latest version: 2023-05-28T10:37:37:69…
@S.F.B , @nayelyz Before doing anything else, I think is needed enter the IDE and the HUB, utilities, click on Send Hub Logs
This driver has been incorrectly installed on the hub and is giving these errors
This error is happening to some users on some drivers when an update is installed and it renders the driver inoperable, it goes into a driver initialization loop:
2023-05-29T12:39:16.826483671+00:00 FATAL Zigbee Switch Power Mc runtime error: [string “cosock.lua”]:296: [string “datastore.lua”]:37: Data store keys and values must be JSON encodeable: userdata: (nil) is of unsupported type userdata.
Please, @nayelyz Could you give the instructions to send the Hub logs and how to fix this error? to see what is happening in these cases of driver bad updated.
@S.F.B If you uninstall the driver and reinstall it, it should be solved, like other users, but first wait to see what @nayelyz says
Hi, they are pretty much what you already mentioned to @S.F.B:
- In the IDE, enter “my hubs”
- Enter the corresponding Hub and go to “view utilities”
- Click on “send” below "send hub logs”
Do you mean when you publish a new version and it gets installed automatically on the user’s Hub?
Does it happen only with your drivers or where have you seen other reports about that?
I will have to ask the engineering team about this, if it’s urgent for you @S.F.B to have the driver up an running, you can reinstall it after you sent the logs but it would be helpful for them to still see the driver in that weird state.
Can you also provide the following, please?
- Driver ID
- Confirm the email account registered in the forum is the same one you use for SmartThings. If not, please share it with me over DM
- Enable support access to your account:
- Go to the SmartThings Web (my.smartthings.com)
- Log in to your Samsung Account
- Select Menu (⋮) and choose Settings
- Toggle on Account Data Access
- Select the time period and confirm - In this step, please select “Until turned off”, once the team finishes, we’ll let you know so you can disable it again.
Yes, it must have been when updating the driver automatically and there has been another user that has also happened to him, that I know of. Reinstalling the driver fixes it.
I found an error in the template in the definition of a subdriver, it should be outside the table zigbee_handlers ={}
I was like this in the driver version with the error:
zigbee_handlers = {
global = {
[zcl_clusters.OnOff.ID] = {
[zcl_global_commands.DEFAULT_RESPONSE_ID] = default_response_handler
}
},
cluster = {
[zcl_clusters.Groups.ID] = {
[zcl_clusters.Groups.commands.GetGroupMembershipResponse.ID] = Groups_handler
},
},
attr = {
[zcl_clusters.OnOff.ID] = {
[zcl_clusters.OnOff.attributes.OnOff.ID] = on_off_attr_handler
},
[zcl_clusters.SimpleMetering.ID] = {
[zcl_clusters.SimpleMetering.attributes.CurrentSummationDelivered.ID] = energy_meter_handler
},
},
sub_drivers = { require("device-temperature")},
},
it should be like this:
zigbee_handlers = {
global = {
[zcl_clusters.OnOff.ID] = {
[zcl_global_commands.DEFAULT_RESPONSE_ID] = default_response_handler
}
},
cluster = {
[zcl_clusters.Groups.ID] = {
[zcl_clusters.Groups.commands.GetGroupMembershipResponse.ID] = Groups_handler
},
},
attr = {
[zcl_clusters.OnOff.ID] = {
[zcl_clusters.OnOff.attributes.OnOff.ID] = on_off_attr_handler
},
[zcl_clusters.SimpleMetering.ID] = {
[zcl_clusters.SimpleMetering.attributes.CurrentSummationDelivered.ID] = energy_meter_handler
},
},
--sub_drivers = { require("device-temperature")},
},
sub_drivers = { require("device-temperature")},
Worse, it doesn’t give me any problems in the installation on hub v3 firmware 48.02, and neither do other users of the driver. The only thing is that the “device-temperature” subdriver does not run because it is not registered.
I don’t know if this have something to do with the error
Driver ID Zigbee Switch Power Mc, version 2023-05-28T10:37:37:696271832
Hub logs sent
Account Data access granted “forever”
Samsung Account info DM’ed
And, yes, the device (Develco SPLZB-131) is not operable anymore
I hope that is all.
I will not have physical access to the hub and the device(s) for the next few days from now