Hi all, I’m used to use Domoticz (still running on a different Rpi) and I have been building a new installation of Home Assistant. All my sensors have been transferred, and everything works great. The last network to transfer is also the most important one: 433mhz! I installed dimmers and switches all over my house years ago. Setting this up with RFlink in Domitcz was very easy. There was a really nice UI for it, and integration in Domoticz was made very easy. (no editing text files for example). In HA the support seems to be there, but not as a integration with any UI at all. I think i installed it correctly, but i dont understand the next steps i can take.
In 433mhz devices there is a big difference between a transmitter and a receiver. A transmitter (remote or wall switch) sends a code. Typicaly these are only “on” codes, but there are also “group” codes, and codes that include data like the percentage of light for a dimmer, and sensors like temperature of humidity.
If i understand correctly you can auto add these to HA, but you can also get their data from the logs (which log?) and add them manually to configuration.yaml. To bad there is no UI for this, but i guess i can work with this.
A receiver however receiver is a different story. If i want to control a 433mhz switch i need to learn it a code that was generated by a transmitter, or one that is defined in the home automation controller. In Domoticz it was possible to create any devide. Just create the right kind (for example dimmer) select the right protocol (for example KAKU), and choose a “random” code yourself. Next you need to send that code while the receiver is in learning mode.
I dont have a clue on how to do this. Can anyone help?
This way received (and sent) messages appear in the regular homeassistant log.
Another way :
under light: , add
- platform: rflink
automatic_add: true
Lights and switches will appear on the autogen dashboard like that. Then you can move them to yaml ,
and give them a sensible name. Best to move detected switches to the switch: section
I’m not seeing any of these things in the log but new KAKU devices however do appear as entity in HA. For the logs i’m looking at: supervisor → system → log → core. Its the same for configuration - > logs.
So anyway, besides the log i think this is working. I can pick up 433mhz signals, but i still dont know how to generate one that isnt already send by a 433mhz transmitter and added as a entity.
The developer tools are totally new to me. It seems like its a way to make HA do something without having to switch a entity with UI switch or automation. Do i understand right?
Is newkaku_03a0b810_1 only a name, or does i contain all data of what needs to be transmitter?
I guess that “newkaku” can be the protocal and “03a0b810” could be the unique code like generated by a transmitter
So what is the last number?
And how do i get to send it a certain command? I guess for a switch its “on” and “off” but how do i send a command to set a dimmer at 50%?