iklein99 / homebridge-smartthings

This is a plugin to Homebridge to connect your Smartthings network into Apple Home Kit.
Apache License 2.0
150 stars 52 forks source link

Please show oven as fan #134

Open AussieFries opened 1 year ago

AussieFries commented 1 year ago

Describe Your Problem:

Hi there, thank you for your great work on the Smartthings plugin! My Samsung NV7B41207 oven is currently showing as a temperature sensor in Apple Homekit. What about showing it as a fan with two sliders: one for the temp and the other one for cooking time? Many thanks for your consideration!

Logs:

Show the Homebridge logs here, remove any sensitive information.
https://paste.kodi.tv/otayelezin

Plugin Config: "name": "Smartthings Plug (IK)", "BaseURL": "https://api.smartthings.com/v1/", "AccessToken": "x", "GarageDoorMaxPoll": 40, "PollLocksSeconds": 10, "PollDoorsSeconds": 10, "PollSensorsSeconds": 5, "PollSwitchesAndLightsSeconds": 10, "platform": "HomeBridgeSmartThings"

Show your Homebridge config.json here, remove any sensitive information.

Environment:

iklein99 commented 1 year ago

I don't know that I can show it as a fan. I need to see what the device supports. If you want me to look at this, follow the instructions in the link here and send me the detailed logs after startup. I'll see what the device is reporting. Instructions for Producing a Detailed Log.pdf

AussieFries commented 1 year ago

Thank you very much for looking into this!

Smartthings Homebridge code based on plugin v1.5.3:

[3/22/2023, 2:41:55 PM] [Smartthings Plug (IK)] Updated status for Oven: {"ovenSetpoint":{"ovenSetpoint":{"value":0,"timestamp":"2023-03-21T17:14:33.658Z"}},"samsungce.meatProbe":{"temperatureSetpoint":{"value":null},"temperature":{"value":null},"status":{"value":null}},"refresh":{},"samsungce.doorState":{"doorState":{"value":"closed","timestamp":"2023-03-21T18:14:52.199Z"}},"samsungce.waterReservoir":{"slotState":{"value":null}},"samsungce.kitchenDeviceDefaults":{"defaultOperationTime":{"value":null},"defaultOvenMode":{"value":"Convection","timestamp":"2022-12-20T12:57:29.542Z"},"defaultOvenSetpoint":{"value":null}},"execute":{"data":{"value":{"payload":{"rt":["x.com.samsung.da.rm.micomdata"],"if":["oic.if.baseline","oic.if.a"]}},"data":{"href":"/rm/micomdata/vs/0"},"timestamp":"2023-03-22T01:32:45.395Z"}},"samsungce.deviceIdentification":{"micomAssayCode":{"value":null},"modelName":{"value":null},"serialNumber":{"value":null},"serialNumberExtra":{"value":null},"modelClassificationCode":{"value":null},"description":{"value":null},"binaryId":{"value":"TP1X_DA-KS-OVEN-0107X","timestamp":"2023-03-22T01:32:44.375Z"}},"samsungce.ovenDrainageRequirement":{"drainageRequirement":{"value":null}},"ocf":{"st":{"value":null},"mndt":{"value":null},"mnfv":{"value":"AKS-WW-TP1X-21-OVEN_40211229","timestamp":"2022-12-20T12:57:29.672Z"},"mnhw":{"value":"Realtek","timestamp":"2022-12-20T12:57:29.672Z"},"di":{"value":"5c48ee26-08bb-1a0f-6313-a99f686efdb9","timestamp":"2022-12-20T12:57:29.672Z"},"mnsl":{"value":" http://www.samsung.com","timestamp":"2022-12-20T12:57:29.672Z"},"dmv":{"value":"1.2.1","timestamp":"2023-02-20T18:55:24.308Z"},"n":{"value":"[oven] Samsung","timestamp":"2022-12-20T12:57:29.672Z"},"mnmo":{"value":"TP1X_DA-KS-OVEN-0107X|40456741|50030018001611000A00000000000000","timestamp":"2022-12-20T12:57:29.672Z"},"vid":{"value":"DA-KS-OVEN-0107X","timestamp":"2022-12-20T12:57:29.672Z"},"mnmn":{"value":"Samsung Electronics","timestamp":"2022-12-20T12:57:29.672Z"},"mnml":{"value":" http://www.samsung.com","timestamp":"2022-12-20T12:57:29.672Z"},"mnpv":{"value":"DAWIT 3.0","timestamp":"2022-12-20T12:57:29.672Z"},"mnos":{"value":"TizenRT 3.1","timestamp":"2022-12-20T12:57:29.672Z"},"pi":{"value":"5c48ee26-08bb-1a0f-6313-a99f686efdb9","timestamp":"2022-12-20T12:57:29.672Z"},"icv":{"value":"core.1.1.0","timestamp":"2022-12-20T12:57:29.672Z"}},"remoteControlStatus":{"remoteControlEnabled":{"value":"true","timestamp":"2023-03-21T18:14:53.053Z"}},"samsungce.kitchenDeviceIdentification":{"regionCode":{"value":"EU","timestamp":"2022-12-20T12:57:29.542Z"},"modelCode":{"value":"NV7000B-/EU2","timestamp":"2022-12-20T12:57:29.542Z"},"fuel":{"value":null},"type":{"value":"oven","timestamp":"2022-12-20T12:57:28.920Z"},"representativeComponent":{"value":null}},"samsungce.kitchenModeSpecification":{"specification":{"value":{"single":[{"mode":"Autocook","supportedOperations":["set"],"supportedOptions":{}},{"mode":"Convection","supportedOperations":["start","set"],"supportedOptions":{"temperature":{"C":{"min":30,"max":250,"default":160,"resolution":5}},"operationTime":{"min":"00:01:00","max":"23:59:00","default":"01:00:00","resolution":"00:01:00"}}},{"mode":"TopHeatPluseConvection","supportedOperations":["start","set"],"supportedOptions":{"temperature":{"C":{"min":40,"max":250,"default":180,"resolution":5}},"operationTime":{"min":"00:01:00","max":"23:59:00","default":"01:00:00","resolution":"00:01:00"}}},{"mode":"Conventional","supportedOperations":["start","set"],"supportedOptions":{"temperature":{"C":{"min":30,"max":250,"default":180,"resolution":5}},"operationTime":{"min":"00:01:00","max":"23:59:00","default":"01:00:00","resolution":"00:01:00"}}},{"mode":"LargeGrill","supportedOperations":["start","set"],"supportedOptions":{"temperature":{"C":{"min":100,"max":270,"default":220,"resolution":5}},"operationTime":{"min":"00:01:00","max":"23:59:00","default":"01:00:00","resolution":"00:01:00"}}},{"mode":"SmallGrill","supportedOperations":["start","set"],"supportedOptions":{"temperature":{"C":{"min":100,"max":270,"default":220,"resolution":5}},"operationTime":{"min":"00:01:00","max":"23:59:00","default":"01:00:00","resolution":"00:01:00"}}},{"mode":"BottomHeatPluseConvection","supportedOperations":["start","set"],"supportedOptions":{"temperature":{"C":{"min":40,"max":250,"default":200,"resolution":5}},"operationTime":{"min":"00:01:00","max":"23:59:00","default":"01:00:00","resolution":"00:01:00"}}},{"mode":"PlateWarm","supportedOperations":["start","set"],"supportedOptions":{"temperature":{"C":{"min":30,"max":80,"default":50,"resolution":5}},"operationTime":{"min":"00:01:00","max":"23:59:00","default":"01:00:00","resolution":"00:01:00"}}},{"mode":"KeepWarm","supportedOperations":["start","set"],"supportedOptions":{"temperature":{"C":{"min":40,"max":100,"default":60,"resolution":5}},"operationTime":{"min":"00:01:00","max":"23:59:00","default":"01:00:00","resolution":"00:01:00"}}},{"mode":"Bottom","supportedOperations":["start","set"],"supportedOptions":{"temperature":{"C":{"min":100,"max":230,"default":150,"resolution":5}},"operationTime":{"min":"00:01:00","max":"23:59:00","default":"01:00:00","resolution":"00:01:00"}}},{"mode":"EcoConvection","supportedOperations":["start","set"],"supportedOptions":{"temperature":{"C":{"min":30,"max":250,"default":160,"resolution":5}},"operationTime":{"min":"00:01:00","max":"23:59:00","default":"01:00:00","resolution":"00:01:00"}}},{"mode":"FanGrill","supportedOperations":["start","set"],"supportedOptions":{"temperature":{"C":{"min":100,"max":250,"default":180,"resolution":5}},"operationTime":{"min":"00:01:00","max":"23:59:00","default":"01:00:00","resolution":"00:01:00"}}},{"mode":"Defrost","supportedOperations":["start","set"],"supportedOptions":{"temperature":{"C":{"min":30,"max":60,"default":30,"resolution":5}},"operationTime":{"min":"00:01:00","max":"23:59:00","default":"01:00:00","resolution":"00:01:00"}}},{"mode":"SteamClean","supportedOperations":[],"supportedOptions":{}}]},"timestamp":"2022-12-20T12:57:29.542Z"}},"custom.disabledCapabilities":{"disabledCapabilities":{"value":["samsungce.waterReservoir","samsungce.ovenDrainageRequirement"],"timestamp":"2022-12-20T12:57:28.920Z"}},"samsungce.definedRecipe":{"definedRecipe":{"value":{"cavityId":"0","recipeType":"0","categoryId":0,"itemId":0,"servingSize":0,"browingLevel":0,"option":0},"timestamp":"2022-12-20T12:57:29.150Z"}},"samsungce.driverVersion":{"versionNumber":{"value":22100101,"timestamp":"2022-12-20T12:57:28.920Z"}},"samsungce.softwareUpdate":{"targetModule":{"value":null},"otnDUID":{"value":"KLCGCEMPUBPYG","timestamp":"2022-12-20T12:57:29.542Z"},"lastUpdatedDate":{"value":null},"availableModules":{"value":[],"timestamp":"2022-12-20T12:57:29.542Z"},"newVersionAvailable":{"value":false,"timestamp":"2022-12-20T12:57:29.542Z"},"operatingState":{"value":null},"progress":{"value":null}},"temperatureMeasurement":{"temperature":{"value":0,"unit":"C","timestamp":"2023-03-21T17:14:28.472Z"}},"samsungce.ovenOperatingState":{"completionTime":{"value":"2023-03-22T01:32:44.334Z","timestamp":"2023-03-22T01:32:44.339Z"},"operatingState":{"value":"ready","timestamp":"2023-03-21T17:14:28.264Z"},"progress":{"value":0,"timestamp":"2023-03-21T17:14:33.355Z"},"ovenJobState":{"value":"ready","timestamp":"2023-03-21T17:14:33.552Z"},"operationTime":{"value":"00:00:00","timestamp":"2023-03-21T17:14:33.355Z"}},"ovenMode":{"supportedOvenModes":{"value":["Others","Bake","ConvectionRoast","Broil","ConvectionBake","warming","BottomHeat","ConvectionBroil"],"timestamp":"2022-12-20T12:57:29.542Z"},"ovenMode":{"value":"Others","timestamp":"2023-03-21T17:14:33.632Z"}},"ovenOperatingState":{"completionTime":{"value":"2023-03-22T01:32:44.334Z","timestamp":"2023-03-22T01:32:44.339Z"},"machineState":{"value":"ready","timestamp":"2023-03-21T17:14:28.264Z"},"progress":{"value":0,"unit":"%","timestamp":"2023-03-21T17:14:33.355Z"},"supportedMachineStates":{"value":null},"ovenJobState":{"value":"ready","timestamp":"2023-03-21T17:14:33.552Z"},"operationTime":{"value":0,"timestamp":"2023-03-21T17:14:33.355Z"}},"samsungce.ovenMode":{"supportedOvenModes":{"value":["Autocook","Convection","TopHeatPluseConvection","Conventional","LargeGrill","SmallGrill","BottomHeatPluseConvection","PlateWarm","KeepWarm","Bottom","EcoConvection","FanGrill","Defrost","SteamClean"],"timestamp":"2022-12-20T12:57:29.542Z"},"ovenMode":{"value":"NoOperation","timestamp":"2023-03-21T17:14:33.632Z"}},"samsungce.lamp":{"brightnessLevel":{"value":"off","timestamp":"2023-03-21T18:14:52.234Z"},"supportedBrightnessLevel":{"value":["off","high"],"timestamp":"2022-12-20T12:57:29.542Z"}},"samsungce.kidsLock":{"lockState":{"value":"unlocked","timestamp":"2022-12-20T12:57:29.070Z"}}} [3/22/2023, 2:41:55 PM] [Smartthings Plug (IK)] State for Oven: 0 [3/22/2023, 2:41:55 PM] [Smartthings Plug (IK)] Oven value updated. [3/22/2023, 2:41:55 PM] [Smartthings Plug (IK)] Oven command or request is proceeding. [3/22/2023, 2:41:55 PM] [Smartthings Plug (IK)] Oven still waiting... [3/22/2023, 2:41:55 PM] [Smartthings Plug (IK)] State for Oven: 0 [3/22/2023, 2:41:55 PM] [Smartthings Plug (IK)] Oven value updated. [3/22/2023, 2:42:00 PM] [Smartthings Plug (IK)] Oven polling... [3/22/2023, 2:42:00 PM] [Smartthings Plug (IK)] Received getSensorState() event for Oven [3/22/2023, 2:42:00 PM] [Smartthings Plug (IK)] Refreshing status for Oven

On Sun, Mar 19, 2023 at 6:29 PM iklein99 @.***> wrote:

I don't know that I can show it as a fan. I need to see what the device supports. If you want me to look at this, follow the instructions in the link here and send me the detailed logs after startup. I'll see what the device is reporting. Instructions for Producing a Detailed Log.pdf https://github.com/iklein99/homebridge-smartthings/files/11011796/Instructions.for.Producing.a.Detailed.Log.pdf

— Reply to this email directly, view it on GitHub https://github.com/iklein99/homebridge-smartthings/issues/134#issuecomment-1475333118, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUTS2NJOYRD4WLALPWJ3B3W4466LANCNFSM6AAAAAAURF373I . You are receiving this because you authored the thread.Message ID: @.***>