torandreroland / homebridge-millheat

Homebridge plugin for Mill heaters
14 stars 6 forks source link

Can't toggle first gen oven #16

Open korqiie opened 3 years ago

korqiie commented 3 years ago

I have two Mill 1200w ovens, one from each generation. This plugin works perfect with the 2nd gen oven, but when trying to toggle the second gen oven i get this error:

[26.1.2021, 13:27:08] [millheat] MillHeater[API] Couldn't perform command:error: { errorCode: 500, error: invalid parameters, subDomain length and physicalId length or deviceId should be greater than 0, and reqMsg should not be null, description: undefined }

[26.1.2021, 13:27:08] [millheat] MillHeater[6b4142e2-e97b-4851-a319-b0fcab23709b] couldn't set power to true

Both works fine in the Mill app. Could it be related to a mac address starting with a lot of zeros on the first gen oven?

Thanks!

andyno commented 3 years ago

Hi. I'll have a look, but I don't own a gen1 oven so might be a bit hard to debug.

toredash commented 2 years ago

I don't think gen1 supports turning it off. I'm not able to perform that action in the official app at least, it returns an error.

Would an alternative be to map power=off on gen1 to the lowest possible temp value supported ?