Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

pdid as json #28

Open
Links2004 opened this issue Jul 22, 2020 · 5 comments
Open

pdid as json #28

Links2004 opened this issue Jul 22, 2020 · 5 comments

Comments

@Links2004
Copy link

may helpful for someone.
may includes pdid not documented in PROTOCOL-PDO.md currently (never checked back)

{
        { id: 16, type: 1, name: 'status.away' }, // 01 = low, medium, high fan speed, 07 = away
        { id: 49, type: 1, name: 'status.mode' }, // 01 = limited manual, 05 = unlimited manual, ff = auto
        { id: 56, type: 1, name: 'status.mode2', log: false },  // 01 = unlimited manual, ff = auto

        { id: 65, type: 1, name: 'setting.speed', unit: ''},
        { id: 66, type: 1, name: 'setting.bypass', log: false  }, // 0 = auto, 1 = on, 2 = off
        { id: 67, type: 1, name: 'setting.temperature', log: false }, // 0 = normal, 1 = cool, 2 = warm

        { id: 70, type: 1, name: 'setting.fan.direction', log: false },  // 1 = IN only, 0 = IN + OUT

        // 4294967295 / 0xFFFFFFFF = no auto change
        { id: 81, type: 3, name: 'counter.fan.speed', log: false, unit: 'sec' },
        { id: 82, type: 3, name: 'counter.bypass', log: false, unit: 'sec' },
        { id: 86, type: 3, name: 'counter.fan.direction', log: false, unit: 'sec' },

        { id: 117, type: 1, name: 'fan.out.value', unit: '%'},
        { id: 118, type: 1, name: 'fan.in.value', unit: '%'},

        { id: 119, type: 2, name: 'fan.out.flow', unit: 'm³/h'},
        { id: 120, type: 2, name: 'fan.in.flow', unit: 'm³/h'},

        { id: 121, type: 2, name: 'fan.out.rpm', unit: 'rpm'},
        { id: 122, type: 2, name: 'fan.in.rpm', unit: 'rpm'},

        { id: 128, type: 2, name: 'power.watt.current', unit: 'W'},
        { id: 129, type: 2, name: 'power.watt.year', unit: 'kWh'},
        { id: 130, type: 2, name: 'power.watt.total', unit: 'kWh'},

        { id: 146, type: 2, name: 'preheat.power.watt.current', unit: 'W'},
        { id: 144, type: 2, name: 'preheat.power.watt.total', unit: 'kWh'},
        { id: 145, type: 2, name: 'preheat.power.watt.year', unit: 'kWh'},

        { id: 192, type: 2, name: 'filter.life.left', unit: 'days'},

        { id: 208, type: 1, name: 'setting.ui.temperature', log: false }, // 0 = °C, 1 = °F
        { id: 209, type: 6, name: 'rmot', scale: -1, unit: '°C'},

        { id: 212, type: 6, name: 'air.temperature.room.soll', scale: -1, unit: '°C' },

        { id: 213, type: 2, name: 'energy.saved.current', unit: 'W'},
        { id: 214, type: 2, name: 'energy.saved.year', unit: 'kWh'},
        { id: 215, type: 2, name: 'energy.saved.total', unit: 'kWh'},

        { id: 216, type: 2, name: 'energy.saved.current_cool', unit: 'W'},
        { id: 217, type: 2, name: 'energy.saved.year_cool', unit: 'kWh' },
        { id: 218, type: 2, name: 'energy.saved.total_cool', unit: 'kWh'},

        { id: 220, type: 6, name: 'air.temperature.in.outdoor2', log: false, scale: -1, unit: '°C' },
        { id: 221, type: 6, name: 'air.humidity.in.supply2', log: false, scale: -1, unit: '°C'  },

        { id: 225, type: 1, name: 'override.humidity' }, // 2 = override, 1 = auto
        { id: 226, type: 2, name: 'fan.out.flow2', unit: 'm³/h', log: false },

        { id: 227, type: 1, name: 'bypass.value', unit: '%'},

        { id: 274, type: 6, name: 'air.temperature.out.extract', scale: -1, unit: '°C'},
        { id: 275, type: 6, name: 'air.temperature.out.exhaust', scale: -1, unit: '°C'},

        { id: 276, type: 6, name: 'air.temperature.in.outdoor', scale: -1, unit: '°C'},
        { id: 278, type: 6, name: 'air.temperature.in.supply', scale: -1, unit: '°C'},

        { id: 290, type: 1, name: 'air.humidity.out.extract', unit: '%'},
        { id: 291, type: 1, name: 'air.humidity.out.exhaust', unit: '%'},
        { id: 292, type: 1, name: 'air.humidity.in.outdoor', unit: '%'},
        { id: 294, type: 1, name: 'air.humidity.in.supply', unit: '%'},

        { id: 338, type: 3, name: 'bypass.mode' }, // 0= AUTO, 1 = ON, 2 = OFF

        { id: 784, type: 1, name: 'compressor.state', log: false },



        { id: 224, type: 1, name: undefined },

        { id: 401, type: 1, name: undefined },
        { id: 33, type: 1, name: undefined },
        { id: 321, type: 2, name: undefined },
        { id: 337, type: 3, name: undefined },
        { id: 37, type: 1, name: undefined },
        { id: 325, type: 2, name: undefined },
        { id: 53, type: 1, name: undefined },
        { id: 85, type: 3, name: undefined },
        { id: 341, type: 3, name: undefined },


        { id: 87, type: 3, name: undefined },
        { id: 71, type: 1, name: undefined },
        { id: 176, type: 1, name: undefined },
        { id: 386, type: 0, name: undefined },
        { id: 402, type: 0, name: undefined },
        { id: 419, type: 0, name: undefined },
        { id: 210, type: 0, name: undefined },
        { id: 211, type: 0, name: undefined },
        { id: 369, type: 1, name: undefined },
        { id: 370, type: 1, name: undefined },
        { id: 371, type: 1, name: undefined },
        { id: 372, type: 1, name: undefined },
        { id: 345, type: 3, name: undefined },
        { id: 89, type: 3, name: undefined },
        { id: 73, type: 1, name: undefined },
        { id: 57, type: 1, name: undefined },
        { id: 42, type: 1, name: undefined },
        { id: 330, type: 2, name: undefined },
        { id: 58, type: 1, name: undefined },
        { id: 74, type: 1, name: undefined },
        { id: 90, type: 3, name: undefined },
        { id: 346, type: 3, name: undefined },
        { id: 228, type: 1, name: undefined },
        { id: 219, type: 2, name: undefined },
        { id: 400, type: 6, name: undefined },
        { id: 384, type: 6, name: undefined },
        { id: 418, type: 1, name: undefined },
        { id: 416, type: 6, name: undefined },
        { id: 417, type: 6, name: undefined },
        { id: 802, type: 6, name: undefined },

   { id: 230, type: 8, name: undefined, decode: function(o, val) {
        //        Passive temperature  00 08 00 02 00 20 00 00  -  35184405645312n
        //        OK              00 00 00 00 00 00 00 00  -  0n
        //        Rampup      02 00 00 00 00 60 00 00  -  105553116266498n
        //        restriction    0a 00 00 00 00 60 00 00  -  105553116266506n
}},
}
@Cmachtel
Copy link

Hello,
Does anyone have an idea what is id: 221, type: 6, name: 'air.humidity.in.supply2' ???

@hme0354
Copy link

hme0354 commented Apr 17, 2021

Look into the PROTOCOL-PDO.md

It is:
221 | 6 | Temperature & Humidity: Supply Air (aa00 = 170 -> 17.0 °C) PostHeaterTempAfter

I checked that with my zehnder app and it is correct.

@Cmachtel
Copy link

ok thanks. I do not have a PostHeater and it gives me the same value as { id: 294, type: 1, name: 'air.humidity.in.supply', unit: '%'},
So you are probably right but i did'nt now that it is measured 2 times

@Cmachtel
Copy link

Probably the wrong place to ask but i do not know wher eles:
Is ther a way to add the other commands.
I Use these:

comfoconnect.cmd_rmi_request(CMD_FAN_MODE_AWAY)  # Go to away mode
    # comfoconnect.cmd_rmi_request(CMD_FAN_MODE_LOW)  # Set fan speed to 1
    # comfoconnect.cmd_rmi_request(CMD_FAN_MODE_MEDIUM)  # Set fan speed to 2
    # comfoconnect.cmd_rmi_request(CMD_FAN_MODE_HIGH)  # Set fan speed to 3

but would ne interest in "Switch to auto mode" and "Boost mode: start for 10m "
I have found them in PROTOCOL-RMI.md but where/how to send these commands?

Thank you very much for this amazing code

@Cmachtel
Copy link

For those it also interests I found out this:
comfoconnect.cmd_rmi_request(CMD_MODE_AUTO) # Set Auto
comfoconnect.cmd_rmi_request(CMD_MODE_AUTO) # Set Auto

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants