Oven not send program name #124

Closed
opened 2023-11-03 12:58:37 +01:00 by MiguelAngelLV · 1 comment
MiguelAngelLV commented 2023-11-03 12:58:37 +01:00 (Migrated from github.com)

Describe the bug
When use oven from HA, only send oven code and not oven name.

With a recent update, hOn app crash when you try to see a oven programa create from HA in history program.

To Reproduce
Steps to reproduce the behavior:

  1. Set a oven program from HA
  2. See error

Expected behavior
Send the oven program name too

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Home Assistant Version: 2023.10.0
  • hOn Integration Version: v0.10.0
  • pyhOn Version [e.g. 0.13.1, can be found in device log]

Additional context

Command from hOn

 {
        "SK": "xxxXxxxxxx#xxxxxXxxxxxx#1111-11-11X11:11:11.1X",
        "PK": "xxxx#xx-xxxx-1:1111111x-x1x1-1x1x-11x1-111x11xx1111#xxx#xx-xx-xx-xx-xx-xx",
        "SK_Secondary": "xxxXxxxxxx#1111-11-11X11:11:11.1X",
        "command": {
            "macAddress": "xx-xx-xx-xx-xx-xx",
            "commandName": "startProgram",
            "applianceOptions": {},
            "programName": "PROGRAMS.OV.CONVENTIONAL",  ## <--- THIS
            "ancillaryParameters": {
                "remoteActionable": "1",
                "programFamily": "[dashboard|manual]",
                "remoteVisible": "1",
                "probe": "0"
            },
            "applianceType": "OV",
            "attributes": {
                "channel": "mobileApp",
                "origin": "standardProgram"
            },
            "device": {
                "appVersion": "2.2.4",
                "deviceModel": "gauguin",
                "osVersion": "33",
                "mobileId": "111111xxx1xxxxx1",
                "mobileOs": "android"
            },
            "parameters": {
                "prTime": "13",
                "preheatStatus": "0",
                "recipeStep": "0",
                "tempSel": "220",
                "delayTime": "0",
                "prCode": "5",
                "prPosition": "1",
                "dryLevel": "0",
                "onOffStatus": "1",
                "recipeId": "NULL"
            },
            "transactionId": "xx-xx-xx-xx-xx-xx_1970-01-01T00:00:00.0Z",
            "timestamp": "1970-01-01T00:00:00.0Z"
        },
        "lastUpdate": "1970-01-01T00:00:00.0Z"
    }

Command from HA

    {
        "timestampAccepted": "1970-01-01T00:00:00.0Z",
        "timestampExecuted": "1970-01-01T00:00:00.0Z",
        "SK": "xxxXxxxxxx#xxxxxXxxxxxx#1111-11-11X11:11:11.1X",
        "PK": "xxxx#xx-xxxx-1:1111111x-x1x1-1x1x-11x1-111x11xx1111#xxx#xx-xx-xx-xx-xx-xx",
        "SK_Secondary": "xxxXxxxxxx#1111-11-11X11:11:11.1X",
        "command": {
            "macAddress": "xx-xx-xx-xx-xx-xx",
            "commandName": "startProgram",
            "applianceOptions": {},  ## <--- NO HERE
            "ancillaryParameters": {
                "remoteActionable": "1",
                "programFamily": "[dashboard|manual]",
                "remoteVisible": "1",
                "probe": "0"
            },
            "applianceType": "OV",
            "attributes": {
                "channel": "mobileApp",
                "origin": "standardProgram",
                "energyLabel": "0"
            },
            "device": {
                "appVersion": "2.3.5",
                "deviceModel": "exynos9820",
                "osVersion": 31,
                "mobileId": "1x1x1xx111111111",
                "mobileOs": "android"
            },
            "parameters": {
                "prTime": "60",
                "preheatStatus": "0",
                "recipeStep": "0",
                "tempSel": "200",
                "delayTime": "3",
                "prCode": "5",
                "prPosition": "1",
                "onOffStatus": "1",
                "recipeId": "NULL"
            },
            "transactionId": "xx-xx-xx-xx-xx-xx_1970-01-01T00:00:00.0Z",
            "timestamp": "1970-01-01T00:00:00.0Z"
        },
        "lastUpdate": "1970-01-01T00:00:00.0Z"
    }

Home Assistant Logs

ov_577.zip

**Describe the bug** When use oven from HA, only send oven code and not oven name. With a recent update, hOn app crash when you try to see a oven programa create from HA in history program. **To Reproduce** Steps to reproduce the behavior: 1. Set a oven program from HA 4. See error **Expected behavior** Send the oven program name too **Screenshots** If applicable, add screenshots to help explain your problem. **Environment (please complete the following information):** - Home Assistant Version: 2023.10.0 - hOn Integration Version: v0.10.0 - pyhOn Version [e.g. `0.13.1`, can be found in device log] **Additional context** Command from hOn ```json { "SK": "xxxXxxxxxx#xxxxxXxxxxxx#1111-11-11X11:11:11.1X", "PK": "xxxx#xx-xxxx-1:1111111x-x1x1-1x1x-11x1-111x11xx1111#xxx#xx-xx-xx-xx-xx-xx", "SK_Secondary": "xxxXxxxxxx#1111-11-11X11:11:11.1X", "command": { "macAddress": "xx-xx-xx-xx-xx-xx", "commandName": "startProgram", "applianceOptions": {}, "programName": "PROGRAMS.OV.CONVENTIONAL", ## <--- THIS "ancillaryParameters": { "remoteActionable": "1", "programFamily": "[dashboard|manual]", "remoteVisible": "1", "probe": "0" }, "applianceType": "OV", "attributes": { "channel": "mobileApp", "origin": "standardProgram" }, "device": { "appVersion": "2.2.4", "deviceModel": "gauguin", "osVersion": "33", "mobileId": "111111xxx1xxxxx1", "mobileOs": "android" }, "parameters": { "prTime": "13", "preheatStatus": "0", "recipeStep": "0", "tempSel": "220", "delayTime": "0", "prCode": "5", "prPosition": "1", "dryLevel": "0", "onOffStatus": "1", "recipeId": "NULL" }, "transactionId": "xx-xx-xx-xx-xx-xx_1970-01-01T00:00:00.0Z", "timestamp": "1970-01-01T00:00:00.0Z" }, "lastUpdate": "1970-01-01T00:00:00.0Z" } ``` Command from HA ```json { "timestampAccepted": "1970-01-01T00:00:00.0Z", "timestampExecuted": "1970-01-01T00:00:00.0Z", "SK": "xxxXxxxxxx#xxxxxXxxxxxx#1111-11-11X11:11:11.1X", "PK": "xxxx#xx-xxxx-1:1111111x-x1x1-1x1x-11x1-111x11xx1111#xxx#xx-xx-xx-xx-xx-xx", "SK_Secondary": "xxxXxxxxxx#1111-11-11X11:11:11.1X", "command": { "macAddress": "xx-xx-xx-xx-xx-xx", "commandName": "startProgram", "applianceOptions": {}, ## <--- NO HERE "ancillaryParameters": { "remoteActionable": "1", "programFamily": "[dashboard|manual]", "remoteVisible": "1", "probe": "0" }, "applianceType": "OV", "attributes": { "channel": "mobileApp", "origin": "standardProgram", "energyLabel": "0" }, "device": { "appVersion": "2.3.5", "deviceModel": "exynos9820", "osVersion": 31, "mobileId": "1x1x1xx111111111", "mobileOs": "android" }, "parameters": { "prTime": "60", "preheatStatus": "0", "recipeStep": "0", "tempSel": "200", "delayTime": "3", "prCode": "5", "prPosition": "1", "onOffStatus": "1", "recipeId": "NULL" }, "transactionId": "xx-xx-xx-xx-xx-xx_1970-01-01T00:00:00.0Z", "timestamp": "1970-01-01T00:00:00.0Z" }, "lastUpdate": "1970-01-01T00:00:00.0Z" } ``` **Home Assistant Logs** [ov_577.zip](https://github.com/Andre0512/hon/files/13249845/ov_577.zip)
Andre0512 commented 2023-11-21 02:41:32 +01:00 (Migrated from github.com)

Hi, the program name should now be sent 🙂

Hi, the program name should now be sent :slightly_smiling_face:
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: xiconfjs/hon#124
No description provided.