Post Requests for Zigbee Edge Drivers Here (community-created)

Hey @Mariano_Colmenarejo , I know you seem to have your hands full but if it’s something you might want to tackle in spare time and like a challenge there are a great many people here would be grateful for a driver for this device… rafaelborja/SmartthingsKingOfFansZigbee: Smartthings device handler for Home Depot Home Decorators Zigbee Fan (and fan controller) produced by King of Fans. This device handler is based on https://github.com/dcoffing/KOF-CeilingFan, refectored to work with new Smartthing app and to provide simpler user experience.

2 Likes

Yes, very difficult times are ahead!

I’ll look into it, but the main problem is doing the debugging without physically having the device.
That seems very complicated to me in devices like these

1 Like

I use it as well, so hoping a driver will be created esp for the LED notification setting which was the primary reason I bought this device

Hello, long time user user here who had no problem using groovy ide along with WebCore to modify device handers to my requirements, but am finding github / edge drivers a bit beyond my skill set as of now.

Would anyone be able to publish a variation of the zigbee power meter edge driver SmartThings/zigbee-power-meter/ to add a user defined variable for the divisor key?

For some reason, my UK electric supplier has installed a smart meter that doesn’t use the standard 1000 led pulses per kWh (mine used 3200 flashes), so I might not be alone in this use case.

I use the Frient Power Meter, and the beta Edge Driver pick up the device fine, it just overreads.

It’s line 44 of SmartThingsCommunity/SmartThingsEdgeDrivers/blob/main/drivers/SmartThings/zigbee-power-meter/src/frient/init.lua that needs attention.

device:set_field(constants.SIMPLE_METERING_DIVISOR_KEY, 1000, {persist = true})

It’s the “1000” that needs to be a user defined value.
I would assume there are similar lines of code in the handlers for the other manufactures.

Many Thanks.

tagging @Mariano_Colmenarejo

Hi @Jaz666

And what value do you want to put as a divisor?

That value is the divider used in the calculation of the power for this device, it should be independent of who your supplier is, or I may have misunderstood the post.

If you want, I can modify the value and make a test driver.

Also here is a Tutorial link on how to modify the lua code and create a new driver

2 Likes

Hello @Mariano_Colmenarejo, how are you my friend?
could you add this siren?

Thanks for the link, I’ve spent all morning trying to get my head around the CLI, but there are just too many steps for me at this time. I’m still using my modified ide handler, but am trying to migrate across to edge before the ide gets switched off.

The Frient Power Meter is the type that uses a sensor placed over the flashing LED, and it is hardcoded to assume 1000 pulses = 1 kWh. A quick search shows (mainly on the home assistant forums) plenty of users like me who have a meter that pulses at a different rate.
3200 per kWh in my case, but this can vary according to manufacturer.
Frient have not provided a way for users to alter this number (it is there in the firmware, but altering it is beyond a normal user).

As a result, the readings from both the old groovy Device Handler here and the new Edge Driver result in readings too high or too low for users who’s meter pulses differently.
In my case, 3.2 times too high.

The way around this I found was to alter the groovy code to compensate.
In my use case, in the old groovy code, altering powerDivisor activePowerDivisor and energyDivisor all to 3.2 resulted in readings that matched my Smart Meter Display.

If it is possible, rather than just produce a modified Edge Driver just for me, it might be useful to make the SIMPLE_METERING_DIVISOR_KEY and ELECTRICAL_MEASUREMENT_DIVISOR_KEY constants in the new Edge Driver user set variables instead.

I hope that makes sense.

Hello Niquini, I’m very well, I hope you are well too

I added the fingerprints to this driver, but I have no idea about this driver, it is the stock driver to which I added a model like this a long time ago and it seems to work.

try to see what happens

┌─────────────┬──────────────────────────────────────┐
│ Name        │ Zigbee Siren Mc                      │
│ Version     │ 2022-08-23T14:44:12.715616001        │
└─────────────┴──────────────────────────────────────┘
  - id : Zigbee/_TYZB01_0wcfvptl
    deviceLabel : Zigbee Siren
    manufacturer : _TYZB01_0wcfvptl
    model : TS0216
    deviceProfileName : switch-alarm
  - id : Zigbee/_TYZB01_8scntis1
    deviceLabel : Zigbee Siren
    manufacturer : _TYZB01_8scntis1
    model : TS0216
    deviceProfileName : switch-alarm

Hi @Jaz666

Okay, I’m going to do it, I’ll let you know in a while when it’s done

I will put two preferences so that you can modify the dividers to your liking, with the driver defaults.

Modified the stock driver so that the reference meters have in preferences the settings of the divisors for power and energy

preferences:
  - name: "simpleMeteringDivisor"
    title: "Simple Metering Divisor key"
    description: "Simple Metering Divisor for Power Calculation (default: 1000)"
    required: false
    preferenceType: number
    definition:
      minimum: 1
      maximum: 100000
      default: 1000
  - name: "electricalMeasureDivisor"
    title: "Electrical Measure Divisor key"
    description: "Electrical Measure Divisor for Energy Calculation (default: 10000)"
    required: false
    preferenceType: number
    definition:
      minimum: 1
      maximum: 100000
      default: 10000

The defaults are the same as the stock driver, try different values to see what you see.
The Electrical Measure Divisor key setting should not affect if you don’t have an energy meter.

Download install in your hub this driver from my channel and then do a driver change to this from stock

┌─────────────┬──────────────────────────────────────┐
│ Name        │ Zigbee Power/Meter-Test              │
│ Version     │ 2022-08-23T15:43:30.589419958        │
└─────────────┴──────────────────────────────────────┘

Is there a zigbee edge driver for blinds from the community? I see one from the smartthings beta channel but not sure who can add the fingerprints for this one

Any edge driver for
Ecolink Water/Freeze Sensor ?

zw:S type:0701 mfr:014A prod:0005 model:0010 ver:10.09 zwv:4.38 lib:06 cc:5E,86,72,5A,73,80,30,71,85,59,84

Also

  • MSR: 0063-4944-3038
  • manufacturer: Jasco Products

ANy edge driver ?

How about this one?

Thank you, this works perfectly.
As expected, entering 3200 for the Simple Meter Divisor Key gives me the correct reading for the instantaneous Power Meter, maybe rename that to “Pulses per kWh” to make it easier to understand for other users.

I’ve only tested it for 20 minutes, but putting 32,000 as the Electrical Measure Divisor Key seems to be giving the correct output for the overall Energy Consumption. So it’s possible that can be hard coded to 10 times the Pulses per kWh figure.

Another vote for the KoF controller here!

3 Likes

I’m interested in a driver for iBlinds. The only capability it adds on top of a stock dimmer or window shade driver is the ability to send a “configure” command, which recalibrates the blinds. I have a WebCoRE piston that runs this regularly to keep the tilt setting from drifting.

This seems like it would be a relatively simple one to implement so I may try to work on it if I can get my head around setting up the Lua development environment…

1 Like

LifX Group of Groups or LAN Control

Need this to properly control LifX bulbs without the popcorn effect from turning on multiple bulbs and color coordination.

Previously was using this solution: [OBSOLETE] LIFX Group of Groups

Nope. I couldn’t figure out where to start with development so I threw in the towel.