Transmit a string char from Domoticz to Arduino
Moderator: leecollings
-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Transmit a string char from Domoticz to Arduino
Hello,
I use the X10RF protocol (433MHz) to transmit to Domoticz the quantity of water consumed every 30 seconds at my home. (via Arduino and RFXcom)
Today I am looking to transmit a character string from Domoticz => RFXcom => Arduino.
Most of the RFXcom send protocols are On/Off switches which seem incompatible with my needs.
I welcome any inexpensive idea compatible with my RFXcom.
Thx
I use the X10RF protocol (433MHz) to transmit to Domoticz the quantity of water consumed every 30 seconds at my home. (via Arduino and RFXcom)
Today I am looking to transmit a character string from Domoticz => RFXcom => Arduino.
Most of the RFXcom send protocols are On/Off switches which seem incompatible with my needs.
I welcome any inexpensive idea compatible with my RFXcom.
Thx
NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
- waltervl
- Posts: 5409
- Joined: Monday 28 January 2019 18:48
- Target OS: Linux
- Domoticz version: 2024.7
- Location: NL
- Contact:
Re: Transmit a string char from Domoticz to Arduino
MQTT over wifi?
What kind of data would you like to send to your Arduino?
What connection modules has your Arduino? Wifi? Bluetooth? Serial?
Why an Arduino and not for example an esp2886 that has everything build in. Check espeasy and Tasmota projects.
What kind of data would you like to send to your Arduino?
What connection modules has your Arduino? Wifi? Bluetooth? Serial?
Why an Arduino and not for example an esp2886 that has everything build in. Check espeasy and Tasmota projects.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Re: Transmit a string char from Domoticz to Arduino
@waltervl Thank you for your reply.
I have a SOMFY garage door working with rotating codes that I have not been able to emulate from Domoticz. Currently to do this from Domoticz I installed a 433MHz module in parallel on the switch located inside the garage.
This device works perfectly except that it is not at all secure!
I'm thinking about using a one-shot code: I send the current opening code to the Arduino which the next moment sends me the code to use for the next opening. It's very simple, but there doesn't seem to be a solution with RFXcom?
I don't know ESP8266 but I have just seen that it can interface with an Arduino but I have also seen an inexpensive Arduino RF which has the advantage of operating at 7-12v unlike the ESP8266.
What else does MQTT offer?
To be continued …
I have a SOMFY garage door working with rotating codes that I have not been able to emulate from Domoticz. Currently to do this from Domoticz I installed a 433MHz module in parallel on the switch located inside the garage.
This device works perfectly except that it is not at all secure!
I'm thinking about using a one-shot code: I send the current opening code to the Arduino which the next moment sends me the code to use for the next opening. It's very simple, but there doesn't seem to be a solution with RFXcom?
I don't know ESP8266 but I have just seen that it can interface with an Arduino but I have also seen an inexpensive Arduino RF which has the advantage of operating at 7-12v unlike the ESP8266.
What else does MQTT offer?
To be continued …
Last edited by boggiz on Wednesday 20 March 2024 12:47, edited 2 times in total.
NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
- habahabahaba
- Posts: 218
- Joined: Saturday 18 March 2023 14:44
- Target OS: Windows
- Domoticz version: 2024.4
- Contact:
Re: Transmit a string char from Domoticz to Arduino
Why dont you want to store this codes in Dz veriables ? Or it is mandatory requirement to store them outside of Dz ?boggiz wrote: ↑Wednesday 20 March 2024 11:09 This device works perfectly except that it is not at all secure!
I'm thinking about using a one-shot code: I send the current opening code to the Arduino which the next moment sends me the code to use for the next opening. It's very simple, but there doesn't seem to be a solution with RFXcom?
-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Re: Transmit a string char from Domoticz to Arduino
Yes of course the code will be stored in a Dz variable but the question is how to transmit this code to my Arduino ?
NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
- habahabahaba
- Posts: 218
- Joined: Saturday 18 March 2023 14:44
- Target OS: Windows
- Domoticz version: 2024.4
- Contact:
-
- Posts: 565
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Transmit a string char from Domoticz to Arduino
I had the problem with that solution that it closes the RFXCom port on Domoticz.
It gets up again, but gives an error.
It gets up again, but gives an error.
Logic will get you from A to B. Imagination will take you everywhere.
-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Re: Transmit a string char from Domoticz to Arduino
@ habahabahaba Yes! Very interesting
Thanks for the lead! I will try this as soon as possible but it does not seem easy to implement with Domoticz
@Kedi I saw this problem but it seems that Domoticz reestablishes the connection on its own
Thanks for the lead! I will try this as soon as possible but it does not seem easy to implement with Domoticz
@Kedi I saw this problem but it seems that Domoticz reestablishes the connection on its own
NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
-
- Posts: 565
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Transmit a string char from Domoticz to Arduino
But in the time between lost and reconnect you might lose some data and/or switches or other stuff might not be activated.
Last edited by Kedi on Thursday 21 March 2024 11:45, edited 1 time in total.
Logic will get you from A to B. Imagination will take you everywhere.
-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Re: Transmit a string char from Domoticz to Arduino
@Kedi
Are you using this solution or have you given up ?
Are you using this solution or have you given up ?
NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
-
- Posts: 565
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Transmit a string char from Domoticz to Arduino
I have given up, because of the disconnect/connect.
Logic will get you from A to B. Imagination will take you everywhere.
- habahabahaba
- Posts: 218
- Joined: Saturday 18 March 2023 14:44
- Target OS: Windows
- Domoticz version: 2024.4
- Contact:
Re: Transmit a string char from Domoticz to Arduino
@boggiz, Isn't there a separate remote control for these gates?
-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Re: Transmit a string char from Domoticz to Arduino
@Kedi,
How often do you send raws? Because for me it will be very little because I have the switch inside the garage and the remote controls.
@habahabahaba,
Yes, of course. I have several but the only one I always have with me is my phone!
How often do you send raws? Because for me it will be very little because I have the switch inside the garage and the remote controls.
@habahabahaba,
Yes, of course. I have several but the only one I always have with me is my phone!
NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
-
- Posts: 565
- Joined: Monday 20 March 2023 14:41
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Somewhere in NL
- Contact:
Re: Transmit a string char from Domoticz to Arduino
For me it was only an experiment a long time ago, but you might be able to use it, if it is just a few commands per day.
Logic will get you from A to B. Imagination will take you everywhere.
- habahabahaba
- Posts: 218
- Joined: Saturday 18 March 2023 14:44
- Target OS: Windows
- Domoticz version: 2024.4
- Contact:
Re: Transmit a string char from Domoticz to Arduino
I went the other way. I disassembled one of the remotes, soldered the wires to the contacts of the button and connected it to the relay. now Domotics closes the relay for 1 second by emulating the physical pressing of a button 

-
- Posts: 46
- Joined: Thursday 07 March 2019 11:40
- Target OS: NAS (Synology & others)
- Domoticz version: 2024.4
- Location: France
- Contact:
Re: Transmit a string char from Domoticz to Arduino
This is actually another solution which is equivalent to mine, i.e. putting the relay contacts in parallel on the push button in my garage: I lose the Somfy Rolling Code function because Domoticz always sends the same code which can be easily sniffed by a malicious person.habahabahaba wrote: ↑Thursday 21 March 2024 14:50 I went the other way. I disassembled one of the remotes, soldered the wires to the contacts of the button and connected it to the relay. now Domotics closes the relay for 1 second by emulating the physical pressing of a button![]()
NAS Syno DS718+ with 12Go ram
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
RFXtrx433XL v1044 with 3dBi antenna
Domoticz 2024.4 on Docker
TFA rain gauge, 4 ways automatic watering program, LINKY consumption, waterflow counter
- habahabahaba
- Posts: 218
- Joined: Saturday 18 March 2023 14:44
- Target OS: Windows
- Domoticz version: 2024.4
- Contact:
Re: Transmit a string char from Domoticz to Arduino
Yes. But this solution is much simpler.
And if there are intruders who are able to intercept your signal and retransmit it, then it seems to me that your decision will not stop them either
In any case, good luck finding a solution.
And if there are intruders who are able to intercept your signal and retransmit it, then it seems to me that your decision will not stop them either

In any case, good luck finding a solution.
Who is online
Users browsing this forum: No registered users and 0 guests