-
Notifications
You must be signed in to change notification settings - Fork 10
313F: System Date & Time
David Bonnes edited this page Jan 21, 2020
·
1 revision
When asked, an evohome controller will RP the date & time::
078 RQ --- 04:189076 01:145038 --:------ 313F 001 00
045 RP --- 01:145038 04:189076 --:------ 313F 009 00FC2F0024070107E4
Non-evohome configurations have been seen to:
095 I --- --:------ --:------ 12:259810 313F 009 0038020AAD170B07E3
Regardless, the Python code to decode this payload is:
import datetime as dt
def parser_313f(payload, msg) -> Optional[dict]:
assert len(payload) / 2 == 9
datetime_str = dt(
year=int(seqx[14:18], 16),
month=int(seqx[12:14], 16),
day=int(seqx[10:12], 16),
hour=int(seqx[8:10], 16) & 0b11111, # 1st 3 bits: DayOfWeek
minute=int(seqx[6:8], 16),
second=int(seqx[4:6], 16),
).strftime("%Y-%m-%d %H:%M:%S")
return {"datetime": datetime_str}| Payload decode: | ||
|---|---|---|
| Value | [2:4] | FC (write to device) or 60 (write to controller) |
| Time (seconds) | [4:6] | |
| Time (minutes) | [6:8] | |
| Time (hours) | [8:10] | |
| Date (day) | [10:12] | |
| Date (month) | [12:14] | |
| Date (year) | [14:18] |
- 07/CS92: DHW Sensor
- 13/BDR91: Relay
- [04/HR92: TRV][HR92]
0001RF Check0004Zone name0008Relay demand0009Relay failsafe000AZone config000CZone actuators0016RF signal test0100Localisation0404Zone schedule0418System fault1030Mix zone config1060Battery state10A0DHW setpoint10E0Device info1100Boiler relay info1260DHW temperature12B0Window sensor1F09System Sync1F41DHW mode1FC9RF bind1FD4Opentherm ticker22C9UFH setpoint22D9Boiler setpoint2309Zone setpoint2349Setpoint override2E04Controller mode30C9Zone temperature313FSystem datetime3150Heat demand3220Opentherm message3B00Actuator sync3EF0Actuator info3EF1Actuator unknown
0002External sensor0005Zone management0006Schedule sync000EUnknown01D0Unknown01E9Unknown042FUnknown1280Outdoor humidity1290Outdoor temp12A0Indoor humidity2249Now/next setpoint22D0UFH unknown22F1Ventilation unit command22F3Ventilation unit temp. high2389Unknown2D49Unknown3120Unknown31D9HVAC Unknown31DAHVAC Unknown31E0HVAC Unknown