Commit Graph

63 Commits

Author SHA1 Message Date
ElVit 3a9cd04a1e Renamed log_uart_hex to write_uart_log 2026-03-26 20:11:40 +01:00
ElVit e587424f1b Set version to 0.0.7-beta.2 and enhance logging in dump_config 2026-03-20 17:17:08 +01:00
ElVit e242962c05 Avoid too many warnings if checksum of response message is invalid 2026-03-19 10:22:42 +01:00
ElVit 9a6883b7e7
Update panasonic_heatpump.cpp
Fixed next loop state for water_heater entites
2026-02-18 10:04:58 +01:00
ElVit 3376fdfced Add water heater component for Panasonic heat pump integration 2026-02-06 13:46:12 +01:00
ElVit b2b041f9db Do not update last_request_time_ if INITIAL request is sent (#21) 2026-02-05 19:38:58 +01:00
ElVit c0542cacf7
Update panasonic_heatpump.cpp (#21)
Polling request message shall only be sent if requestType != RequestType::NONE
2026-01-12 14:13:33 +01:00
ElVit 2a2b121e45 fixed warning message in function 'read_request' (#13) 2026-01-08 16:05:06 +01:00
ElVit e28ffa3288 fixed warning message (#13) 2025-12-15 20:05:39 +01:00
ElVit b8b75685af
Update panasonic_heatpump.cpp 2025-12-08 10:16:20 +01:00
ElVit 94d156b30a Disable uart_client_timeout if 100 or lower 2025-12-02 13:15:17 +01:00
ElVit 1bbc1db03b Fixed warning message if request or response was invalid 2025-12-02 12:39:44 +01:00
ElVit 98836df74f Added uart client timeout fix 2025-12-01 19:34:59 +01:00
ElVit 9bde8737f9 updated version constant 2025-11-27 23:10:34 +01:00
ElVit edb14478f7 minor changes 2025-11-27 22:31:29 +01:00
ElVit 99b28e3fca
Update panasonic_heatpump.cpp 2025-11-26 09:19:34 +01:00
ElVit 6b2d70321e
Update panasonic_heatpump.cpp 2025-11-25 12:08:30 +01:00
ElVit ec33c9b031
Update panasonic_heatpump.cpp 2025-11-24 22:51:11 +01:00
ElVit 99c17d5396 Set version to 0.0.4 2025-07-22 19:33:43 +02:00
ElVit 51c405b543 Added support for extra query (fixes #11) 2025-07-20 20:13:05 +02:00
ElVit 0693ea8413
Added version to dump_config() 2025-07-19 19:52:14 +02:00
ElVit 8c4eadbf2c Added support for extra query (fixes #11) 2025-07-19 19:25:05 +02:00
ElVit 9d2bd07ecb
panasonic_heatpump.cpp aktualisieren
Fixed issue in function 'send_request()' (fixes #11)
2025-07-19 08:45:54 +02:00
ElVit 6cbbebc6f9 Reduce some code lines 2025-07-18 15:36:21 +02:00
ElVit fbe604523a Added support for extra query (fixes #11) 2025-07-17 20:23:33 +02:00
ElVit 3753b3d475 Added support for extra query (fixes #11) 2025-07-16 16:08:09 +02:00
ElVit 505d643bf0
Update panasonic_heatpump.cpp
Added additional check in `panasonicheatpumpcomponent::check_response` to not decode Panasonic extra query.
2025-07-12 14:52:17 +02:00
ElVit 18b8ed0f4a Added options "min_temperature", "max_temperature" and "temperature_step" to the climate component.
Added option "min_value", "max_value" and "step" to the number component.
Added option "cool_mode" to select and climate component and removed it from panasonic_heatpump component.
Removed function "set_traits", because the user can now set its own limits in yaml.
2025-06-24 14:10:53 +02:00
ElVit 472d36bf72 Added climate entities.
Renamed 'raw_topics' into 'traits_settings'.
2025-06-20 13:11:50 +02:00
ElVit 423ca2dbc8 Added "has_state()" check in "publish_new_state()" functions.
Save raw_topics in a map for setting traits.
2025-06-12 20:43:42 +02:00
ElVit 641df6b42a Added empty check in function "publish_new_state()".
Moved code from functions "publish_...()" to function "loop()".
2025-06-11 09:52:04 +02:00
ElVit f9f29a635d Refactored Code: Moved most code from main component class to entity component classes. Set traits for select entities. 2025-06-10 20:08:35 +02:00
ElVit 60d172f057 Replaced setPlus73 with setPlus1 2025-06-09 10:24:06 +02:00
ElVit 7ac5119fbd Check bytes before publish state.
Renamed set16_1 to set16_9.
Renamed some states e. g. OperationMode (top4/set9).
Added functions to set only high or low nibble of a byte in a command message.
2025-06-06 13:05:02 +02:00
ElVit bf59e203d2 Changed setup_priority to DATA. Replaced trigger_request_ with RequestType::NONE. Updated number min/max value change mechanism. 2025-06-02 20:29:43 +02:00
ElVit 7df705290e Implementing set_number_min_max_value 2025-06-02 10:04:02 +02:00
ElVit a09038bc8d Fixed issue with min/max values of number entities 2025-05-30 19:59:33 +02:00
ElVit 40930dbf06 Use switch-case in loop function. Added function to change min/max values of some number entities. 2025-05-30 00:05:33 +02:00
ElVit e9d1180cc8 Move log_uart_hex() to helper class.
Use state machine to lower loop time.
2025-05-22 22:34:21 +02:00
ElVit 0fa40dab47 Added function getResponseByte for lambda use 2025-02-21 20:45:37 +01:00
ElVit 190374dde7 Made member 'response_message_' public for use in lambda. Converted variable 'chunkSize' to #define. 2025-02-20 10:43:10 +01:00
ElVit 4d8a51c12e Used constexpr for KnownModels. All numbers for temperature curve zone 1 or 2 are set at once. 2025-02-19 17:21:13 +01:00
ElVit 8d2499c783 Allowed 0x21 in 3th and 4th byte 2025-02-18 09:25:25 +01:00
ElVit 2194f3edf7 Added initial response 2025-02-17 20:20:17 +01:00
ElVit a4b0f605f8 added comments 2025-02-16 13:10:27 +01:00
ElVit e3f68833b4 improved log_uart_hex 2025-02-16 11:58:01 +01:00
ElVit a869f41672 improved log_uart_hex 2025-02-16 11:38:15 +01:00
ElVit b148b465f4 Added 10ms delay after log msg. Accept also init message in read_response and read_request. 2025-02-15 22:13:18 +01:00
ElVit c3e9f30b1f renamed some functions, splitted decode_response in multiple functions 2025-02-13 19:27:40 +01:00
ElVit 7df9370631 Added custom classes vor sensor, binary_sensor and text_sensor. Added dump_config function to number, select and switch classes. 2025-02-08 21:12:19 +01:00