Can't Dim N4012 From App

Hi There,
I wanted to replace a Minoston dimmer plug, since it was always unreliable. I bought a New One N4012 dimmer plug, and when I went to add it, I saw that "New One" brand was available, so I used that. After discovering the device, it reports as Minoston! (blarg). I can turn on/off/dim just fine using the web interface, but using the app, I can only turn on/off. If I try to dim, I get an error in the logs:
2025-01-17 04:14:25.886 PMerrorgroovy.lang.MissingMethodException: No signature of method: MinostonMP21ZDDimmer.setLevel() is applicable for argument types: (java.lang.String) values: [17] Possible solutions: setLevel(java.lang.Number), setLevel(java.lang.Number, java.lang.Number) on line 282 (method setLevel)

So, is this an app bug, since it works fine from the browser interface?

Oops - I just realized that I can't dim ANY dimmer I have with the app. I get the same error listed above. So, this looks to have nothing to do with the dimmer plug at all, and everything to do with the app.

This is due to a breaking change in how the app sends the level command to the hub.

What driver are you using? (Listed as type on the device info tab)
System driver or custom? If custom, provide a link to code.

I can easily patch if its a custom driver, if system driver then staff needs to fix.

Actually if its a custom driver this same patch will work for any driver.

You can add that block of code just about anywhere, right above the existing setLevel function is the ideal place.

Type is listed as Minoston Mini Plug Dimmer.
Not sure what you mean by "System driver", but I am not doing anything custom.
I am using the Hubitat Android App, version 2.0.9.

Looks to be a system driver, you will have to wait for HE to fix it.

image

Calling @bertabcd1234

As I mentioned, I see this behavior with all my dimmers. Besides this "Minoston" dimmer plug, the rest of my dimmers are all Zooz. I see there is a similar topic regarding those.

You can use my Zooz dimmer driver (linked above) and apply the patch to the code if you want. If you are using a built in driver please let us know which one exactly so staff can fix it. They thought they fixed them but missed some apparently.

Honestly I really wish they would just fix the app..... would be much easier.

jtp,
Thanks for your help.

Sorry, you asked for the "built in" driver, but I don't know what that is. Where would I find this information?

Also, you mentioned that you linked to a Zooz driver above, but I'm afraid I don't see a link.

Built In aka System driver. One that comes preinstalled on the hub. Same thing as I asked above, the name of the driver listed in the "Type" box on the device info page.

Even better might be to look on the device list, it shows you right there if it is a user driver or system. Example below, top one is system driver bottom is user/custom


The post I quoted above is the thread for my custom Zooz switch/dimmer driver, here is the top post: [DRIVER] Zooz ZEN Switches Advanced (and Dimmers)

Right. I am having the same trouble with these 2 devices:
Zooz Zen72 Dimmer
Minoston Mini Plug Dimmer

jtp,
I was able to load your Zooz driver, and add the patch above. Now I can dim the Zooz dimmers from the app. Now I'll wait for a patch for the Minoston dimmer plug.

Thanks a lot for your help!!

1 Like

What version of the hub platform version are you running? Check Settings > Hub Details. This should have been fixed about six months ago, so I suspect you're out-of-date (or I'm really missing something)...

2.3.5.105.

That would be the problem, then. Your hub platform version is nearly two years old.

If you don't want to upgrade to 2.4.0 yet, the latest 2.3.9 builds would also have the fix (you'd need to use the /hub/advanced/downloadPlatform/239 endpoint to download it and then the Diagnostic Tool to install if you want to go with this version).

2 Likes

Well now I'm just embarrassed. I updated my hub to 2.4.0.148, and yes, this fixed my issue.

I'm sorry for taking up people's time on this. I will be sure to check this next time before posting.

But thanks anyway, you guys rock!

1 Like

My fault I should have asked that as soon as they said it was a system driver. I kind of thought you had to have the new platform for the new app but I guess it still partially works.

I'd just added two of these N4012 "New One" devices, and HE didn't find a match, only came back as device "Device", and no options to control the device.

futzed around with various other Device manifests and settling on device setting to " Minstion Mini Plugin Dimmer".

So, given the context of this thread, HE has a breaking change for this device?

And I keep up with the updates:

  • Platform Version: 2.4.0.151
  • Hardware Version: C-5