DIGITAL CHANNELS
L'exemple de cette section ne présente que le canal numérique 1, appelé chd1. Les autres canaux (chd2, chd3, chd4, chd5 et chd6) suivent
le même modèle de données.
REQUEST DIGITAL CHANNELS
{
"timestamp":1585819219,
"desired": {
"chd1": {
"enable":1,
"counting_m":2,
"type":3,
"edge":1,
"debounce":555,
"reset_m":2,
"debounce_enable":0
}
}
}
PERIODIC COUNTER RESET
REQUEST CHD_PERIODIC_RESET
{
"timestamp":1585819219,
"desired": {
"chd_periodic_reset" : {
"type":0,
"day":2,
"hour":3,
"minute":4,
"sec":5,
"week_day":6
}
}
}
NOVUS AUTOMATION
RESPONSE DIGITAL CHANNELS
{
"pid": 51387408,
"device_id": "device0",
"timestamp":1585819219,
"reported": {
"chd1": {
"error": 0,
"enable":1,
"counting_m":2,
"type":3,
"edge":1,
"debounce":555,
"reset_m":2
"debounce_enable":0
}
}
}
RESPONSE CHD_PERIODIC_RESET
{
"pid": 51387408,
"device_id": "device0",
"timestamp":1585819219,
"reported": {
"chd_periodic_reset" : {
"error": 0,
"type":0,
"day":2,
"hour":3,
"minute":4,
"sec":5,
"week_day":6
}
}
}
57/102