Это ведь исторические данные? Разве последние значения не показываются в текущем запросе к устройству?
я говорю о разделе
thermostat_work — данные о работе термостата
очень нужны данные
boiler_work_time DTA<int>
(для однозонного термостата) Количество секунд, в течении которых котёл работал за последнюю минуту.
target_temp DTA<float> Целевая температура (для однозонного термостата)
pza_t DTA<float> Расчётная температура ПЗА
power DTA<bool>
Наличие основного питания: true — питание есть, false — питания нет.
Я загрузил обновление, посмотрите пожалуйста.
Пока не вижу обновлений ((
Отлично, теперь супер-много данных!
А target_temp нельзя обратно передать? По идее, это то, что в термостатах регулируется по +/-
И странно, что данные, в том числе новые, обновляются так неравномерно
https://yadi.sk/i/IhiQaC2CKQGEeQ
Я запускаю котел из приложения, новый mode приходит сразу в модуль, а всё остальное остается старым.
Я думаю, что дело в том, что если данные не изменились, то они не обновляются.
Плиз, если можно, хорошо было бы target_temp обратно передавать. По идее, это то, что в термостатах регулируется по +/-
А давайте я тоже добавлю все что есть
Array
(
[devices] => Array
(
[0] => Array
(
[id] => 62746
[device_type] => Array
(
[code] => T102
[name] => ZONT H-2
)
[hardware_type] => Array
(
[code] => 405
[name] => 405
)
[capabilities] => Array
(
[0] => has_firmware_upgrade
[1] => has_battery
[2] => has_lithium_battery
[3] => has_multiple_thermometers
[4] => has_thermostat
[5] => has_notifications
[6] => has_rf
[7] => has_external_rf
[8] => has_telpassword
[9] => has_trusted_phones
[10] => has_voltage_sensor
[11] => has_zth_inputs
[12] => has_wifi
[13] => has_serverside_events_notifications
[14] => has_offline_notifications
[15] => has_pza
[16] => has_boiler_delay
[17] => has_thermostat_hysteresis
[18] => has_thermometer_functions
[19] => has_ot_gate
[20] => has_pza_internet_weather
)
[user_id] => 133069
[owner_username] =>
[access] => Array
(
)
[is_active] => 1
[name] => Дача
[color] => #9accdf
[notes] =>
[serial] => 64e3d5166c63
[firmware_version] => Array
(
[0] => 140
[1] => 133
)
[timezone] => 3
[suggest_firmware_upgrade] => 1
[graphs_config] => Array
(
[blocks] => Array
(
[0] => Array
(
[sources] => Array
(
[0] => Array
(
[class] => ZoneTargetTemp
[params] => Array
(
[zone_no] => 1
)
)
[1] => Array
(
[class] => ZoneWorkTime
[params] => Array
(
[zone_no] => 1
)
)
[2] => Array
(
[class] => HeatSetTempGraph
[params] => Array
(
[zone_no] => 1
)
)
[3] => Array
(
[class] => PZATempGraphSource
)
[4] => Array
(
[class] => TemperatureSensorGraphData
[params] => Array
(
[therm_id] => 5b70191105b6050325089def
)
)
[5] => Array
(
[class] => ThermostatModeGraphSource
)
[6] => Array
(
[class] => BoilerFailGraphSource
)
[7] => Array
(
[class] => NoPowerGraphSource
)
[8] => Array
(
[class] => ThermostatGateGraphSource
)
)
[height] => 325px
)
[1] => Array
(
[sources] => Array
(
[0] => Array
(
[class] => ZTCVoltageGraphSource
)
[1] => Array
(
[class] => ThermostatModeGraphSource
)
[2] => Array
(
[class] => BoilerFailGraphSource
)
[3] => Array
(
[class] => NoPowerGraphSource
)
[4] => Array
(
[class] => ThermostatGateGraphSource
)
)
[height] =>
)
[2] => Array
(
[sources] => Array
(
[0] => Array
(
[class] => ThermostatModeGraphSource
)
[1] => Array
(
[class] => BoilerFailGraphSource
)
[2] => Array
(
[class] => NoPowerGraphSource
)
[3] => Array
(
[class] => ThermostatGateGraphSource
)
)
[height] =>
)
)
)
[server_notifications] => Array
(
[events] => Array
(
[enabled] => 1
)
[offline] => Array
(
[enabled] => 1
[timeout] => 1200
)
)
[debug_text_messages_regexp] =>
[stationary_location] => Array
(
[loc] => Array
(
[0] => 37.90782052125
[1] => 55.137435477954
)
)
[last_guard_event] =>
[thermostat_error_input_polarity] => disconnect_ground
[thermostat_inputconfig] => Array
(
[1] => off
[2] => off
)
[thermostat_enable_guard] =>
[boiler_info] => Array
(
[vendor] => PROTHERM
[model] => СКАТ 9 К (KR 13)
)
[thermostat_ext_mode] => 3
[thermostat_mode] => schedule
[thermostat_gate] =>
[tempschedule] => Array
(
[day] => Array
(
[0] => 21
[1] => 21
[2] => 21
[3] => 21
[4] => 21
[5] => 21
[6] => 21
[7] => 21
[8] => 21
[9] => 21
[10] => 21
[11] => 21
[12] => 21
[13] => 21
[14] => 21
[15] => 21
[16] => 21
[17] => 21
[18] => 21
[19] => 21
[20] => 21
[21] => 21
[22] => 21
[23] => 21
)
[week] => Array
(
[0] => Array
(
[0] => 21
[1] => 21
[2] => 21
[3] => 21
[4] => 21
[5] => 21
[6] => 21
[7] => 21
[8] => 21
[9] => 21
[10] => 21
[11] => 21
[12] => 21
[13] => 21
[14] => 21
[15] => 21
[16] => 21
[17] => 21
[18] => 21
[19] => 21
[20] => 21
[21] => 21
[22] => 21
[23] => 21
)
[1] => Array
(
[0] => 21
[1] => 21
[2] => 21
[3] => 21
[4] => 21
[5] => 21
[6] => 21
[7] => 21
[8] => 21
[9] => 21
[10] => 21
[11] => 21
[12] => 21
[13] => 21
[14] => 21
[15] => 21
[16] => 21
[17] => 21
[18] => 21
[19] => 21
[20] => 21
[21] => 21
[22] => 21
[23] => 21
)
[2] => Array
(
[0] => 21
[1] => 21
[2] => 21
[3] => 21
[4] => 21
[5] => 21
[6] => 21
[7] => 21
[8] => 21
[9] => 21
[10] => 21
[11] => 21
[12] => 21
[13] => 21
[14] => 21
[15] => 21
[16] => 21
[17] => 21
[18] => 21
[19] => 21
[20] => 21
[21] => 21
[22] => 21
[23] => 21
)
[3] => Array
(
[0] => 21
[1] => 21
[2] => 21
[3] => 21
[4] => 21
[5] => 21
[6] => 21
[7] => 21
[8] => 21
[9] => 21
[10] => 21
[11] => 21
[12] => 21
[13] => 21
[14] => 21
[15] => 21
[16] => 21
[17] => 21
[18] => 21
[19] => 21
[20] => 21
[21] => 21
[22] => 21
[23] => 21
)
[4] => Array
(
[0] => 21
[1] => 21
[2] => 21
[3] => 21
[4] => 21
[5] => 21
[6] => 21
[7] => 21
[8] => 21
[9] => 21
[10] => 21
[11] => 21
[12] => 21
[13] => 21
[14] => 21
[15] => 21
[16] => 21
[17] => 21
[18] => 21
[19] => 21
[20] => 21
[21] => 21
[22] => 21
[23] => 21
)
[5] => Array
(
[0] => 21
[1] => 21
[2] => 21
[3] => 21
[4] => 21
[5] => 21
[6] => 21
[7] => 21
[8] => 21
[9] => 21
[10] => 21
[11] => 21
[12] => 21
[13] => 21
[14] => 21
[15] => 21
[16] => 21
[17] => 21
[18] => 21
[19] => 21
[20] => 21
[21] => 21
[22] => 21
[23] => 21
)
[6] => Array
(
[0] => 21
[1] => 21
[2] => 21
[3] => 21
[4] => 21
[5] => 21
[6] => 21
[7] => 21
[8] => 21
[9] => 21
[10] => 21
[11] => 21
[12] => 21
[13] => 21
[14] => 21
[15] => 21
[16] => 21
[17] => 21
[18] => 21
[19] => 21
[20] => 21
[21] => 21
[22] => 21
[23] => 21
)
)
)
[tempstep] => 1
[notifications] => Array
(
[alarm] => Array
(
[numbers] =>
[power-off] => off
[power-on] => off
[ignition] => off
[trunk-hood] => off
[doors] => off
[shock] => off
[tilt] => off
[moving] => off
[blackout] => off
[driver_call] => off
)
[guard] => Array
(
[numbers] =>
[on] => off
[off] => off
)
[info] => Array
(
[numbers] =>
[ecu_error] => off
[balance] => off
[fob_battery] => off
)
[thermostat] => Array
(
[temp_high] => off
[temp_low] => off
[therm_malf] => off
[boiler_fail] => off
)
[autoignition] => Array
(
[numbers] =>
[success] => off
[fail] => off
[breakdown] => off
)
)
[thermostat_hysteresis] => 0.5
[temperature_alarm] => Array
(
[high] => 26
[low] => 1
)
[wifi_credentials] => Array
(
[0] => Array
(
[ssid] =>
[password] =>
)
)
[ot_enabled] =>
[ot_save_params] => Array
(
[0] => rml
[1] => wp
)
[ot_min_setpoint] => 5
[ot_max_setpoint] => 70
[ot_max_ml] => 100
[ot_dhw_setpoint] => 30
[ot_min_wp] => 0
[ot_config] => Array
(
[0] => ch
[1] => dhw
[2] => cl
[3] => otc
)
[ot_mode] => analog
[ot_boiler_type] =>
[rf_status] =>
[boiler_delay] => Array
(
[on] => 300
[off] => 300
)
[pza] => Array
(
[enabled] => 1
[curve] => 25
)
[pza_max_delta] => Array
(
[enabled] =>
)
[thermostat_ext_modes_config] => Array
(
[0] => Array
(
[name] => Эконом
[active] => 1
[schedule_number] =>
[zone_temp] => Array
(
[1] => 15
)
[zone_sensors] => Array
(
[1] => 0
)
)
[1] => Array
(
[name] => Комфорт
[active] => 1
[schedule_number] =>
[zone_temp] => Array
(
[1] => 21
)
[zone_sensors] => Array
(
[1] => 0
)
)
[2] => Array
(
[name] => Расписание
[active] => 1
[schedule_number] => 1
[zone_temp] => Array
(
[1] => 22
)
[zone_sensors] => Array
(
[1] => 0
)
)
[3] => Array
(
[name] => Выключен
[active] => 1
[schedule_number] =>
[zone_temp] => Array
(
[1] => 5
)
[zone_sensors] => Array
(
[1] => 0
)
)
[4] => Array
(
[name] => Жара
[active] => 1
[zone_temp] => Array
(
[1] => 25
)
[zone_sensors] => Array
(
[1] => 0
)
[schedule_number] =>
)
[5] => Array
(
[name] =>
[active] =>
)
[6] => Array
(
[name] =>
[active] =>
)
[7] => Array
(
[name] =>
[active] =>
)
[8] => Array
(
[name] =>
[active] =>
)
[9] => Array
(
[name] =>
[active] =>
)
)
[thermostat_target_temps] => Array
(
[0] => Array
(
[manual] =>
[temp] => 25
)
[1] => Array
(
[manual] =>
[temp] => 5
)
)
[thermostat_ext_modes_advanced] => 1
[thermostat_relay_mode] => by_heat
[ot_gate_enabled] =>
[use_internet_weather_for_pza] => 1
[thermometers] => Array
(
[0] => Array
(
[is_assigned_to_slot] => 1
[slot] => 0
[uuid] => 5b70191105b6050325089def
[serial] => 0008035E69E910
[type] => wired
[name] => Датчик №1
[color] => #e58900
[limits] => Array
(
[low] => 1
[high] => 26
)
[function] => control
[functions] => Array
(
[0] => Array
(
[f] => control
[zone] => 1
)
)
[sort] => 0
[last_state] => ok
[last_value] => 5.5
[last_value_time] => 1548165885
)
)
[online] => 1
[last_receive_time] => 1548165903
[last_receive_time_relative] => 3
[gps_relevance] =>
[gps_relevance_relative] =>
[filetransfers] => Array
(
)
[io] =>
[internet_weather] => -13.35
[asp_billing] => Array
(
[in_service] => 1
)
)
)
[ok] => 1
)
Array
(
[ok] => 1
[responses] => Array
(
[0] => Array
(
[device_id] => 62746
[ok] => 1
[thermostat_work] => Array
(
[thermostat_mode] => Array
(
[0] => Array
(
[0] => 1548164146
[1] => 3
)
[1] => Array
(
[0] => -1740
[1] => 3
)
)
[dhw_t] => Array
(
)
[power] => Array
(
[0] => Array
(
[0] => 1548164146
[1] => 1
)
[1] => Array
(
[0] => -1740
[1] => 1
)
)
[fail] => Array
(
[0] => Array
(
[0] => 1548164146
[1] =>
)
[1] => Array
(
[0] => -1740
[1] =>
)
)
[gate] => Array
(
[0] => Array
(
[0] => 1548164146
[1] =>
)
[1] => Array
(
[0] => -1740
[1] =>
)
)
[ot] => Array
(
)
[zones] => Array
(
[1] => Array
(
[target_temp] => Array
(
[0] => Array
(
[0] => 1548164146
[1] => 5
)
[1] => Array
(
[0] => -1740
[1] => 5
)
)
[worktime] => Array
(
[0] => Array
(
[0] => 1548164146
[1] => 60
)
[1] => Array
(
[0] => -60
[1] => 60
)
[2] => Array
(
[0] => -60
[1] => 60
)
[3] => Array
(
[0] => -60
[1] => 60
)
[4] => Array
(
[0] => -60
[1] => 60
)
[5] => Array
(
[0] => -60
[1] => 60
)
[6] => Array
(
[0] => -60
[1] => 60
)
[7] => Array
(
[0] => -60
[1] => 60
)
[8] => Array
(
[0] => -60
[1] => 60
)
[9] => Array
(
[0] => -60
[1] => 60
)
[10] => Array
(
[0] => -60
[1] => 60
)
[11] => Array
(
[0] => -60
[1] => 60
)
[12] => Array
(
[0] => -60
[1] => 60
)
[13] => Array
(
[0] => -60
[1] => 30
)
[14] => Array
(
[0] => -60
[1] => 0
)
[15] => Array
(
[0] => -60
[1] => 0
)
[16] => Array
(
[0] => -60
[1] => 0
)
[17] => Array
(
[0] => -60
[1] => 0
)
[18] => Array
(
[0] => -60
[1] => 0
)
[19] => Array
(
[0] => -60
[1] => 0
)
[20] => Array
(
[0] => -60
[1] => 0
)
[21] => Array
(
[0] => -60
[1] => 0
)
[22] => Array
(
[0] => -60
[1] => 0
)
[23] => Array
(
[0] => -60
[1] => 0
)
[24] => Array
(
[0] => -60
[1] => 0
)
[25] => Array
(
[0] => -60
[1] => 0
)
[26] => Array
(
[0] => -60
[1] => 0
)
[27] => Array
(
[0] => -60
[1] => 0
)
[28] => Array
(
[0] => -60
[1] => 0
)
[29] => Array
(
[0] => -60
[1] => 0
)
)
)
)
[boiler_work_time] => Array
(
[0] => Array
(
[0] => 1548164146
[1] => 60
)
[1] => Array
(
[0] => -60
[1] => 60
)
[2] => Array
(
[0] => -60
[1] => 60
)
[3] => Array
(
[0] => -60
[1] => 60
)
[4] => Array
(
[0] => -60
[1] => 60
)
[5] => Array
(
[0] => -60
[1] => 60
)
[6] => Array
(
[0] => -60
[1] => 60
)
[7] => Array
(
[0] => -60
[1] => 60
)
[8] => Array
(
[0] => -60
[1] => 60
)
[9] => Array
(
[0] => -60
[1] => 60
)
[10] => Array
(
[0] => -60
[1] => 60
)
[11] => Array
(
[0] => -60
[1] => 60
)
[12] => Array
(
[0] => -60
[1] => 60
)
[13] => Array
(
[0] => -60
[1] => 30
)
[14] => Array
(
[0] => -60
[1] => 0
)
[15] => Array
(
[0] => -60
[1] => 0
)
[16] => Array
(
[0] => -60
[1] => 0
)
[17] => Array
(
[0] => -60
[1] => 0
)
[18] => Array
(
[0] => -60
[1] => 0
)
[19] => Array
(
[0] => -60
[1] => 0
)
[20] => Array
(
[0] => -60
[1] => 0
)
[21] => Array
(
[0] => -60
[1] => 0
)
[22] => Array
(
[0] => -60
[1] => 0
)
[23] => Array
(
[0] => -60
[1] => 0
)
[24] => Array
(
[0] => -60
[1] => 0
)
[25] => Array
(
[0] => -60
[1] => 0
)
[26] => Array
(
[0] => -60
[1] => 0
)
[27] => Array
(
[0] => -60
[1] => 0
)
[28] => Array
(
[0] => -60
[1] => 0
)
[29] => Array
(
[0] => -60
[1] => 0
)
)
[target_temp] => Array
(
[0] => Array
(
[0] => 1548164146
[1] => 5
)
[1] => Array
(
[0] => -1740
[1] => 5
)
)
[pza_t] => Array
(
[0] => Array
(
[0] => 1548164146
[1] => 51.9
)
[1] => Array
(
[0] => -60
[1] => 51.9
)
[2] => Array
(
[0] => -60
[1] => 51.9
)
[3] => Array
(
[0] => -60
[1] => 51.9
)
[4] => Array
(
[0] => -60
[1] => 51.9
)
[5] => Array
(
[0] => -60
[1] => 51.9
)
[6] => Array
(
[0] => -60
[1] => 51.9
)
[7] => Array
(
[0] => -60
[1] => 51.9
)
[8] => Array
(
[0] => -60
[1] => 51.9
)
[9] => Array
(
[0] => -60
[1] => 51.9
)
[10] => Array
(
[0] => -60
[1] => 51.9
)
[11] => Array
(
[0] => -60
[1] => 51.9
)
[12] => Array
(
[0] => -60
[1] => 51.9
)
[13] => Array
(
[0] => -60
[1] => 51.9
)
[14] => Array
(
[0] => -60
[1] => 51.9
)
[15] => Array
(
[0] => -60
[1] => 51.9
)
[16] => Array
(
[0] => -60
[1] => 51.9
)
[17] => Array
(
[0] => -60
[1] => 51.9
)
[18] => Array
(
[0] => -60
[1] => 51.9
)
[19] => Array
(
[0] => -60
[1] => 51.9
)
[20] => Array
(
[0] => -60
[1] => 51.9
)
[21] => Array
(
[0] => -60
[1] => 51.9
)
[22] => Array
(
[0] => -60
[1] => 51.9
)
[23] => Array
(
[0] => -60
[1] => 51.9
)
[24] => Array
(
[0] => -60
[1] => 51.9
)
[25] => Array
(
[0] => -60
[1] => 51.9
)
[26] => Array
(
[0] => -60
[1] => 51.9
)
[27] => Array
(
[0] => -60
[1] => 51.9
)
[28] => Array
(
[0] => -60
[1] => 51.9
)
[29] => Array
(
[0] => -60
[1] => 51.9
)
)
)
)
)
)
Так а как обновление получит?
Пожалуйста, войдите в систему, чтобы добавлять комментарии Присоединиться!