I create a new topic for a new problem.
I have bought a chacon dio 54785 .
I use the protocol to add him on se platform rflink. And try to found the entities id, debug logs.
And i can’t see anything, how can i find elements to add this plug 433,92mhz !!
If I’m not mistaken, this device is a plug, correct?
In addition to the plug, do you have a remote to turn it on and off? (the button of the plug don’t count to what we need)
If you have a remote, you can use the device_id of the remote control to control it from HA or generate a new one in HA.
If you do not have a remote, you will need someone to indicate the ‘format’ of the device_id that accepts this type of plug in HA.
It would be easier if someone told us what protocol supports this device, or if it has any limitations.
If we don’t get that information, you can try to go blind with some protocol waiting for it to work.
In any case, you will need to register a new switch type device in HA.
Once the device is configured in HA you will have to pair it with the plug. The procedure should come in the instructions. To pair it, I think it’s better if you use the “Developer tools” and invoke whatever service (for example: switch.turn_on):
* http://<your_ip>:<your_port>/developer-tools/service
* service: `switch.turn_on`
* entity: `switch.your_new_entity`
I think you lose nothing by trying any of the following `device_id` :
* Powerfix_000080_0
* Kaku_00004d_1
* NewKaku_00c142_1
* NewKaku_128ac4d_1
I have tried all this, in switch.turn_on
and doesn’t works
Have you first created the switch in HA?
Have you tried pairing the switch? You must first put the plug into pairing mode.
What does the manufacturer’s procedure say?
Any logs?
Awww i didn’t undertand that
I have to create the switch before using those command ?
My bad
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 125, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1235, in async_call
processed_data = handler.schema(service_data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 208, in __call__
return self._exec((Schema(val) for val in self.validators), v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 287, in _exec
raise e if self.msg is None else AllInvalid(self.msg, path=path)
File "/usr/local/lib/python3.8/site-packages/voluptuous/validators.py", line 283, in _exec
v = func(v)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
return schema(data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 272, in __call__
return self._compiled([], data)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
return base_validate(path, iteritems(data), out)
File "/usr/local/lib/python3.8/site-packages/voluptuous/schema_builder.py", line 432, in validate_mapping
raise er.MultipleInvalid(errors)
with switch.NewKaku_00c142_1
In the manufacturer’s : ( I will try google translate )
Learning the code:
1 Approach the receiver transmitter, press the receiver socket learning button.
2 The receiver led flashes slowly and press the transmitter on button
3 The light connected to the receiver flashes twice, the code is confirmed and the led stops flashing.
But I think we can take another approach. Let’s try this, instead of creating the switchin HA, we can call the rflink.send_command service.
At the “developer tools” > “services”, you can find the rflink.send_command service.
There is an option at the bottom “Fill example data”, push it to fill the config part.
Now, you can try to pair any device_id without creating it first in HA.
You need to find a valid device_id, so you have to repeat the whole process for each ID you want to test.
The steps will be (more o less according to your info):
Approach the receiver transmitter, press the receiver socket learning button.
While the receiver led flashes slowly, call the rflink.send_command service in HA
The socket led will flash twice. If not, repeat the rflink.send_command again. You need to see the led flashing twice.
Once paired (the socket have paired twice), verify that you can switch on and off the socket with the rflink.send_command (changing the command: 'on' to off).
If it works as expected, then create in HA the new switch with the device_id paired.
Those traces are only reporting that you have sent the on command for the device_id NewKaku_128ac4d_1 and newkaku_0000c6c2_1.
Are you familiar with the procedure of pairing a new device?
Have you tried to pair your plug?
The HA traces are not going to tell you anything since that part is working as expected (is sending the command that you want). I think at this point your problem has nothing to do with HA.
Please, if you do not try to provide all the requested information, it is very difficult to try to help you.
Have you put the plug into pairing mode?
Was the plug led flashing slowly when you tried to pair?
Have you seen if the plug led blinked twice when invoking the command from HA?
I think you are having trouble understanding the device pairing procedure and that has nothing to do with HA. I recommend to find a video tutorial for your plug.
When you know the procedure, it will be easier for you to do it with HA.
Are you familiar with the procedure of pairing a new device?
Yes, pressing pairing button, and led flash.
Have you put the plug into pairing mode?
Yes
Was the plug led flashing slowly when you tried to pair?
Yes
Have you seen if the plug led blinked twice when invoking the command from HA?
No
I think you are having trouble understanding the device pairing procedure and that has nothing to do with HA. I recommend to find a video tutorial for your plug.
If him wondering in this forum, it’s because i have tried to find tutorial, and vidéos but i couldn’t.
When you know the procedure, it will be easier for you to do it with HA.
Yeah, sure.
Sorry about the fact, i’m newb in this system.
Thanks a lot for help.
The normal procedure for these kind of device : pair the plug with the remote, and let HA (rflink) capture the remote signal. But since you don’t have the remote. It should be possible, the problem is finding a correct signal.