Ok i think i’m getting on tracks.
I had to reboot because apparently another process was using the USB port. Now i also have the logs. I tried the configuration you suggested for HVAC, adapting it to my case:
32:142858 : { class: FAN, _note: Orcon HRC 400 }
32:126818:
class: REM
faked: True
commands:
low: ' I --- 32:126818 32:142858 --:------ 22F1 003 000207'
medium: ' I --- 32:126818 32:142858 --:------ 22F1 003 000307'
high: ' I --- 32:126818 32:142858 --:------ 22F1 003 000707'
bypass_open: ' W --- 32:126818 32:142858 --:------ 22F7 003 00C8EF'
bypass_close: ' W --- 32:126818 32:142858 --:------ 22F7 003 0000EF'
bypass_auto: ' W --- 32:126818 32:142858 --:------ 22F7 003 00FFEF'
reset_filter: ' W --- 32:126818 32:142858 --:------ 10D0 002 00FF'
_note: based upon an Orcon 15RF 6-button remote (VMN-15LF01)
First of all:
This now creates various sensor entities that start with 32_142858, and that’s ok. But i thought it would also have generatet something with 32:126818, that is the faked remote that i want to copy. But it doesn’t. I just have climate.32_142858 whose commands does not work:
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 200, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1787, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1824, in _execute_service
await cast(Callable[[ServiceCall], Awaitable[None]], handler.job.target)(
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 213, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 680, in entity_service_call
future.result() # pop exception if have
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 968, in async_request_call
await coro
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 720, in _handle_entity_call
await result
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 489, in async_set_fan_mode
await self.hass.async_add_executor_job(self.set_fan_mode, fan_mode)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 485, in set_fan_mode
raise NotImplementedError()
NotImplementedError
Second thing:
Now that i see the logs, i see that every 30 seconds a “RQ” is sent but the machine does not reply, unless every 5 or 10 minutes that it spontaneously send this “I” messages:
2023-02-20T09:26:23.298665 # ramses_rf 0.21.40
2023-02-20T09:26:27.388119 ... I --- 32:142858 --:------ 32:142858 313F 009 007C1B12970B0207D0 # 313F| I|32:142858
2023-02-20T09:26:42.994369 000 RQ --- 18:070400 32:142858 --:------ 22F1 001 00
2023-02-20T09:27:43.001038 000 RQ --- 18:070400 32:142858 --:------ 22E0 001 00
2023-02-20T09:28:13.002893 000 RQ --- 18:070400 32:142858 --:------ 22E5 001 00
2023-02-20T09:28:43.048082 000 RQ --- 18:070400 32:142858 --:------ 22E9 001 00
2023-02-20T09:29:13.026771 000 RQ --- 18:070400 32:142858 --:------ 22F2 001 00
2023-02-20T09:29:43.024651 000 RQ --- 18:070400 32:142858 --:------ 22F4 001 00
2023-02-20T09:30:13.034708 000 RQ --- 18:070400 32:142858 --:------ 22F8 001 00
2023-02-20T09:30:43.024047 000 RQ --- 18:070400 32:142858 --:------ 313E 001 00
2023-02-20T09:31:13.021659 000 RQ --- 18:070400 32:142858 --:------ 3222 001 00
2023-02-20T09:31:46.059183 000 RQ --- 18:070400 32:142858 --:------ 10D0 001 00
2023-02-20T09:32:16.035952 000 RQ --- 18:070400 32:142858 --:------ 22F1 001 00
2023-02-20T09:32:26.792031 080 I --- 32:142858 --:------ 32:142858 31DA 030 00EF007FFFEFEF05997FFF079E0541F000004150500000EFEF7FFF7FFF00
2023-02-20T09:32:26.865664 000 RQ --- 18:070400 32:142858 --:------ 2210 001 00
2023-02-20T09:33:26.852352 000 RQ --- 18:070400 32:142858 --:------ 22E5 001 00
2023-02-20T09:33:56.854041 000 RQ --- 18:070400 32:142858 --:------ 22E9 001 00
2023-02-20T09:34:26.852013 000 RQ --- 18:070400 32:142858 --:------ 22F2 001 00
2023-02-20T09:34:56.849726 000 RQ --- 18:070400 32:142858 --:------ 22F4 001 00
2023-02-20T09:35:26.884125 000 RQ --- 18:070400 32:142858 --:------ 22F8 001 00
2023-02-20T09:35:56.873880 000 RQ --- 18:070400 32:142858 --:------ 313E 001 00
2023-02-20T09:36:26.895799 000 RQ --- 18:070400 32:142858 --:------ 3222 001 00
2023-02-20T09:36:59.875425 000 RQ --- 18:070400 32:142858 --:------ 10D0 001 00
2023-02-20T09:37:26.973206 080 I 107 32:142858 --:------ 32:142858 31D9 017 002A020020202020202020202020202008
2023-02-20T09:37:27.055202 000 RQ --- 18:070400 32:142858 --:------ 22F1 001 00
2023-02-20T09:37:57.044487 000 RQ --- 18:070400 32:142858 --:------ 2210 001 00
2023-02-20T09:38:27.058501 000 RQ --- 18:070400 32:142858 --:------ 22E0 001 00
2023-02-20T09:38:57.048654 000 RQ --- 18:000370 32:142858 --:------ 22E5 001 00
2023-02-20T09:39:27.050005 000 RQ --- 18:070400 32:142858 --:------ 22E9 001 00
2023-02-20T09:39:57.055714 000 RQ --- 18:070400 32:142858 --:------ 22F2 001 00
2023-02-20T09:40:27.049268 000 RQ --- 18:070400 32:142858 --:------ 22F4 001 00
2023-02-20T09:40:57.080390 000 RQ --- 18:070400 32:142858 --:------ 22F8 001 00
2023-02-20T09:41:27.060903 000 RQ --- 18:070400 32:142858 --:------ 313E 001 00
2023-02-20T09:41:57.058449 000 RQ --- 18:070400 32:142858 --:------ 3222 001 00
2023-02-20T09:42:27.191530 082 I --- 32:142858 --:------ 32:142858 31DA 030 00EF007FFFEFEF058F7FFF079E0533F000004150500000EFEF7FFF7FFF00
2023-02-20T09:42:30.078599 000 RQ --- 18:070400 32:142858 --:------ 10D0 001 00
2023-02-20T09:43:00.047424 000 RQ --- 18:070400 32:142858 --:------ 22F1 001 00
2023-02-20T09:43:30.098902 000 RQ --- 18:070400 32:142885 --:------ 2210 001 00
2023-02-20T09:44:00.075474 000 RQ --- 18:070400 32:142858 --:------ 22E0 001 00
2023-02-20T09:44:30.077379 000 RQ --- 18:070400 32:142858 --:------ 22E5 001 00
2023-02-20T09:45:00.066630 000 RQ --- 18:070400 32:142858 --:------ 22E9 001 00
2023-02-20T09:45:30.089175 000 RQ --- 18:070400 03:142858 --:------ 22F2 001 00
2023-02-20T09:46:00.115151 000 RQ --- 18:070400 32:142858 --:------ 22F4 001 00
2023-02-20T09:46:30.088012 000 RQ --- 18:070400 32:142858 --:------ 22F8 001 00
2023-02-20T09:47:00.123303 000 RQ --- 18:070400 32:142858 --:------ 313E 001 00
2023-02-20T09:47:30.124352 000 RQ --- 18:070400 32:142858 --:------ 3222 001 00
2023-02-20T09:48:03.087169 000 RQ --- 18:070400 32:142858 --:------ 10D0 001 00
2023-02-20T09:48:33.097270 000 RQ --- 18:070400 32:142858 --:------ 22F1 001 00
2023-02-20T09:49:03.099546 000 RQ --- 18:070400 32:142858 --:------ 2210 001 00
2023-02-20T09:49:33.137678 000 RQ --- 18:070400 32:142858 --:------ 22E0 001 00
2023-02-20T09:50:03.098851 000 RQ --- 18:070400 03:045706 --:------ 22E5 001 00
2023-02-20T09:50:33.100480 000 RQ --- 18:070400 32:142858 --:------ 22E9 001 00
2023-02-20T09:51:03.143055 000 RQ --- 18:070400 32:142858 --:------ 22F2 001 00
2023-02-20T09:51:33.119944 000 RQ --- 18:070400 32:142858 --:------ 22F4 001 00
2023-02-20T09:52:03.121594 000 RQ --- 18:070400 32:142858 --:------ 22F8 001 00
2023-02-20T09:52:27.590125 082 I 108 32:142858 --:------ 32:142858 31D9 017 002A020020202020202020202020202008
2023-02-20T09:52:27.692558 080 I --- 32:142858 --:------ 32:142858 31DA 030 00EF007FFFEFEF05917FFF079A0535F000004150500000EFEF7FFF7FFF00
The questions are:
-Where is the address 18:070400 originated from? Should i bind this address to the machine in some way to let it reply?
-When this “I” messages are received, that’s when the sensors mentioned before are upodated. But how do i know that these values are correct? I just know that the machine has this PCB and i just have this remote.
I thought mine was an Orcon remote, as the example in the wiki, but for example this command:
disable: ' I --- 29:123456 32:123456 --:------ 22F1 003 000707'
To me is instead the maximum fan speed (or at least the maximum available for my remote. So How do i know that the bypass command would work? I don’t have any certainty neither on the command nor on the response “deparsing”
Sorry for the shitload of question but it’s one year since i wanted to interface qith the ventilation machine and it’s finally happening
Edit:
I added
advanced_features:
send_packet: true
And i now see the remote and have the possibility to call this service:
service: remote.send_command
data:
command: medium
target:
entity_id: remote.32_126818
The commands generates the correct string in the logs, i can see it, but the machine does not reply:
2023-02-20T16:31:40.997945 000 I --- 32:126818 32:142858 --:------ 22F1 003 000307
2023-02-20T16:31:41.231152 000 RQ --- 18:070400 32:142858 --:------ 22F8 001 00
2023-02-20T16:32:10.442831 000 RQ --- 18:070400 32:142858 --:------ 313E 001 00
2023-02-20T16:32:40.411689 000 RQ --- 18:070400 32:142858 --:------ 3222 001 00
2023-02-20T16:32:43.854149 079 I --- 32:142858 --:------ 32:142858 31DA 030 00EF007FFFEFEF06087FFF07B605D5F000004150500000EFEF7FFF7FFF00
2023-02-20T16:32:46.932729 000 RQ --- 18:070400 32:142858 --:------ 10D0 001 00
2023-02-20T16:33:16.926040 000 RQ --- 18:070400 32:142858 --:------ 22F1 001 00
2023-02-20T16:33:46.911184 000 RQ --- 18:070400 32:142858 --:------ 2210 001 00
2023-02-20T16:34:16.908580 000 RQ --- 18:070400 32:142858 --:------ 22E0 001 00
2023-02-20T16:34:46.922969 000 RQ --- 18:070400 32:142858 --:------ 22E5 001 00
2023-02-20T16:35:16.944959 000 RQ --- 18:070400 32:142858 --:------ 22E9 001 00
As you can see it spontaneously sends the 31DA oacket after a minute but with no changes