In version 0.113 of Home Assistant it will be possible to send RfxTrx event codes with the new rfxtrx.send service.
I just tested this in the beta release and this works great.
First capture and test the needed command code for each button of the fireplace remote in the Rfx Manager application. And copy this code so that it can be used in service call.
@aerodolphin Due to having to use Ethernet, I am currently controlling our fireplace using ESPHome and an ESP32-POE with 433MHz transmitter.
In case it’s of any help, below is my configuration YAML in ESPHome. As you can see, I have four commands (power on/off, and flame up/down). Each command is defined as a switch (i.e. 433MHz transmitter sends the code to the fireplace), as well as a binary sensor (HA detects when the original remote’s buttons are pressed, and also when the 433MHz transmitter sends the codes). The binary sensors are not really necessary, but I really wanted to make sure I was able to go full circle (due to being a control freak ).
Based on the message from @Marsman, I have successfully added controls for the Mertik G6R-H4T5 to Home Assistant. After capturing the command codes with RFXmgmr, I have added the following code to configuration.yaml:
Hi Corne. Is it possible to supply me all the events from all the buttons. My remote broke and I would like to control my fireplace by home assistant instead of replacing the remote witch is really expensive and I already have a rfxcom. I can pair it as a new remote.
I just found out that the Mertik Maxitrol has a (expensive) WiFi module that communicates using a serial interface with the gasblock controller (G6R-R4AU). So the WiFi module is nothing more than a protocol convertor.
If someone does have the WiFi module, we could monitor the serial connection and the integration in HA is piece of cake.
I also have the WiFi module. I asked Mertik about the protocol, but they referred my to the producer of the fireplace?! The I reverseved engineered the android app, but I could see how the actual communication is done.
(https://apkpure.com/myfire/com.iqontrol.mertik)
Any ideas on how to approach this?
Will the WiFi module offer more functionality or performance to HA than the radio version does?
This is an old thread but I found it as I was researching automating my fireplace. I don’t have a Mertik but I have a Valor which appears to use the same Wifi module as Mertik.
I’ve been meaning to attempt to reverse engineer the protocol used for the Wifi app but haven’t been able to spend the time yet. I was able to get a network capture on from my phone while I was using the app. I wasn’t able to easily and quickly decipher the data so I put the project on hold.
Since then I’ve learned a little more. My guess (haven’t verified this yet) is that the app simply sends the same commands as the RF remote but wrapped in TCP. I’d have to do another capture and verify this assumption but if it’s true it should be pretty easy to code something up.
I’ll get around to doing this sometime but if anyone is still interested in working on this and gets to it before I do I could share a network capture.
For what it’s worth, I too am about to try to do this with a valor fireplace so any updates or findings in getting this to work would be awesome! My initial approach was going to be to try to capture the codes using an ardunio and a receiver and try to use esphome to build a second remote, but I also admittedly don’t really know what I’m doing…
While searching to see if there was an HA integration I happened across this thread but also this GitHub repo which seems to have done at least something toward getting a working solution with the WiFi module with Homey.
Not much more to add than that unfortunately. Maybe the above helps someone to put something together for the WiFi module.
Did anyone came up with working solution ? My idea was to replace this wifi module of mertik maxitrol with esp32.
I got the source code from apkpure.When i try to run the app in Android studio, it always shows error in String str = BuildConfig.FLAVOR;
^
symbol: variable FLAVOR
location: class BuildConfig
if anyone has any guide in replacing this wifi module, please write. I have been struggling with this for two weeks, and i have to complete this task.
I have not worked on this topic since my last post. But with the informtion from the project Lewis linked to, I believe I can convert it to a HA integration component. Give me some days, and I examine if the connection is successful
I also did exactly as you did. converted apk to source code. But there is always this bulid.config error.
I have the esp board, i have to replace the wifimodule of mertik maxitrol to esp. I have the protocol. But i dont know how to do this task.
This app is only connected to the wifi box of maxitrol and not to esp(because of the protocol). Or how do i program this esp that it is getting connected to app and control the fireplace. Really need help. IT HAS BEEN THREE WEEKS WITH THIS STUFF