Comments (10)
Set a hint for the 30:071287
in the known list - it is of class FAN, not RFG.
Do you have the 4-way switch already bound, and you're simply trying to impersonate it?
The must be exactly one command to learn
is a known bug - use the other version of ramses_cc.
But you should need to learn anything... as long as the switch is already bound.
As on the forum - others have got this working... as long as a switch is already bound, and you simply impersonate it.
A fix is coming for fully-faked switches...
from ramses_cc.
Set a hint for the
30:071287
in the known list - it is of class FAN, not RFG.Do you have the 4-way switch already bound, and you're simply trying to impersonate it?
The
must be exactly one command to learn
is a known bug - use the other version of ramses_cc.But you should need to learn anything... as long as the switch is already bound.
As on the forum - others have got this working... as long as a switch is already bound, and you simply impersonate it.
A fix is coming for fully-faked switches...
Thanks for the reply
No matter which version I download Ramses_cc it always shows "TypeError: must be exactly one command to learn" when I send or use learn a command to test if impersonated or faked remote work.
How can I properly impersonate the switch and use it via HA Please? Maybe I am doing something wrong ?
My config now
Folowed manual etc... nothing working with brand new install.
from ramses_cc.
Bought two controllers and had no luck .
Literary nothing works, tried any available ramses version and downgrade HA
from ramses_cc.
Tried to bind , as well no luck
from ramses_cc.
If need any further logs details tests just let here know
from ramses_cc.
Having the same issue with the Drimaster PIV. Trying to impersonate an already bound remote
[547168192448] Error handling message: Unknown error (unknown_error) Mo Gusbi from 2a00:23c7:e48d:f301:4868:70e4:4669:5a55 (Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36)
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response
await func(hass, connection, msg)
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 731, in handle_execute_script
script_result = await script_obj.async_run(msg.get("variables"), context=context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 1578, in async_run
return await asyncio.shield(run.async_run())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 420, in async_run
await self._async_step(log_exceptions=False)
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 470, in _async_step
self._handle_exception(
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 493, in _handle_exception
raise exception
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 468, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 704, in _async_call_service_step
response_data = await self._async_run_long_action(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 666, in _async_run_long_action
return long_task.result()
^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2035, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 2072, in _execute_service
return await target(service_call)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 830, in handle_service
await service.entity_service_call(
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 876, in entity_service_call
response_data = await _handle_entity_call(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 948, in _handle_entity_call
result = await task
^^^^^^^^^^
File "/config/custom_components/ramses_cc/remote.py", line 216, in svc_send_command
await self.async_learn_command(*args, **kwargs)
File "/config/custom_components/ramses_cc/remote.py", line 135, in async_learn_command
raise TypeError("must be exactly one command to learn")
TypeError: must be exactly one command to learn
Edit: Here's my config
ramses_cc:
serial_port: /dev/ttyACM0
ramses_rf:
enforce_known_list: true
known_list:
18:074254:
class: FAN
_note: Nuaire PIV
30:071138:
class: REM
faked: true
commands:
normal: " I --- 30:071138 18:074254 --:------ 22F1 003 00020A"
boost: " I --- 30:071138 18:074254 --:------ 22F1 003 00030A"
heater_auto: " I --- 30:071138 18:074254 --:------ 22F1 003 000A0A"
heater_off: " I --- 30:071138 18:074254 --:------ 22F1 003 00090A"
_note: Nuaire DRI-ECO-4S (4-way switch)
from ramses_cc.
from ramses_cc.
Hi, Unfortunately, there was no success in binding a fake ar impersonating the existing one. The same error always: "TypeError: must be exactly one command to learn."
from ramses_cc.
This can be closed. Please see the response to my question.
At the current date, for at least NUAIRE I should use system service calls and not ramses_cc service calls
https://community.home-assistant.io/t/honeywell-ch-dhw-via-rf-evohome-sundial-hometronics-chronotherm/151584/3578?u=ingus16
Thanks developer for this tool
from ramses_cc.
The solution for v0.20.x and v0.21.x is to use:
service: remote.send_command
... instead of:
service: ramses_cc.send_command
from ramses_cc.
Related Issues (20)
- Cant bind to my MVS-15R from orcon
- Entity climate.01:215596 (<class 'custom_components.ramses_cc.climate.RamsesController'>) implements HVACMode(s): heat, off, auto and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. HOT 1
- ramses_rf transmits too many packets per unit time HOT 4
- The integration is not tolerant of temporary issues with the packet source. HOT 8
- 0.31.16 Problem with the serial port: Transport did not initialise HOT 12
- 0.31.16 ramses_cc.get_zone_schedule service failing HOT 3
- Startup hangs with pyserial-asyncio-fast HOT 32
- 0.31.7 known_list does not filter out my next door neighbour's Evohome HOT 11
- [Question] What class to use for dual purpose device? HOT 2
- Packet log not rotating in config_flow HOT 3
- Warning: Detected that custom integration 'ramses_cc' accesses hass.helpers.storage HOT 1
- Missing sensor for bypass_mode Orchon 22f7
- Detected blocking call to open inside the event loop by custom integration 'ramses_cc' HOT 6
- All entities Unknown with Gateway status stuck on Problem HOT 13
- How to fake a Nuaire CO2 Sensor
- voluptuous.error.MultipleInvalid: not a valid value for dictionary value @ data['class'] after updating to 2024.8.0 HOT 12
- Ramses_CC stopped working after HA update 2024.8.2 HOT 3
- Entity supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature
- `Accept packets from known devices IDs only` causes exception HOT 4
- Detected blocking call ... inside the event loop
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ramses_cc.