RCSwitch compilation

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

RCSwitch compilation

#1 Post by kniazio » 17 Sep 2023, 08:57

I need a *.bin file for esp8266 containing a working RCSwitch plugin. I need to receive a signal from a 433MHz remote control and trigger the appropriate reaction in Rules

User avatar
Ath
Normal user
Posts: 3522
Joined: 10 Jun 2018, 12:06
Location: NL

Re: RCSwitch compilation

#2 Post by Ath » 17 Sep 2023, 09:39

Are you talking about the hard_LCtech build? AFAIK, we don't have a plugin that supports 433MHz reception. Are you looking for a RFLink solution? That, combined with ESPEasy plugin P020 Serial Server does support receiving RFLink signals via a serial connection, so any build (except minimal and custom) should suffice, as they (nearly) all include that plugin.
/Ton (PayPal.me)

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: RCSwitch compilation

#3 Post by kniazio » 17 Sep 2023, 09:46

I need to add the RCSwitch plugin https://github.com/sanderpleijers/EspEa ... 111_RF.ino to the EspEasy build

User avatar
Ath
Normal user
Posts: 3522
Joined: 10 Jun 2018, 12:06
Location: NL

Re: RCSwitch compilation

#4 Post by Ath » 17 Sep 2023, 10:09

Hmm, that plugin isn't going to work with current ESPEasy, as it's rather old, and hasn't been updated to the improvements that have been made to the code-base.

Have you contacted the original author of that plugin, to see if he has updated to the current code-base of ESPEasy?
/Ton (PayPal.me)

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: RCSwitch compilation

#5 Post by kniazio » 17 Sep 2023, 10:18

Ath wrote: 17 Sep 2023, 10:09 Hmm, that plugin isn't going to work with current ESPEasy, as it's rather old, and hasn't been updated to the improvements that have been made to the code-base.

Have you contacted the original author of that plugin, to see if he has updated to the current code-base of ESPEasy?
NO. I have not contacted the author. I don't even know how to do it

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: RCSwitch compilation

#6 Post by kniazio » 17 Sep 2023, 10:19

I don't understand why this plugin is not updated. This is a very good plugin.
Maybe there will be someone who will adapt this plugin to the new EspEasy. We will be very grateful.
Last edited by kniazio on 17 Sep 2023, 10:23, edited 1 time in total.

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: RCSwitch compilation

#7 Post by TD-er » 17 Sep 2023, 10:22

It was developed by someone else and perhaps never submitted as a pull request to be merged into the main ESPEasy repository.

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: RCSwitch compilation

#8 Post by kniazio » 17 Sep 2023, 10:23

TD-er wrote: 17 Sep 2023, 10:22 It was developed by someone else and perhaps never submitted as a pull request to be merged into the main ESPEasy repository.
Maybe there will be someone who will adapt this plugin to the new EspEasy. We will be very grateful.

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: RCSwitch compilation

#9 Post by TD-er » 17 Sep 2023, 10:25

Someone else also noticed it wasn't possible to compile that plugin with the current ESPEasy branch... in 2018
https://github.com/sanderpleijers/EspEa ... h/issues/1

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: RCSwitch compilation

#10 Post by kniazio » 17 Sep 2023, 10:31

TD-er wrote: 17 Sep 2023, 10:25 Someone else also noticed it wasn't possible to compile that plugin with the current ESPEasy branch... in 2018
https://github.com/sanderpleijers/EspEa ... h/issues/1
Does this mean this plugin will never work with EspEasy again?
This is a really useful plugin.

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: RCSwitch compilation

#11 Post by kniazio » 17 Sep 2023, 10:33

I think it can be done for those who know the subject. This plugin would be very useful on the EspEasy plugin list. I love EspEasy.
I could and want to support the work. How can I do this?

User avatar
Ath
Normal user
Posts: 3522
Joined: 10 Jun 2018, 12:06
Location: NL

Re: RCSwitch compilation

#12 Post by Ath » 17 Sep 2023, 13:34

kniazio wrote: 17 Sep 2023, 10:33 I could and want to support the work. How can I do this?
If you have a (new) set of transmitter/receiver available and can send that to me (NL, details via PM) it will probably arrive here faster then when ordered from Ali (~2 months :o).
I can make the required adjustments and do some preliminary testing, but will need you to do the actual testing.

A quick look at the linked repository shows it seems to use some of the IR-plugin features, so it will most likely be added in the IR/IRext builds.
/Ton (PayPal.me)

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: RCSwitch compilation

#13 Post by kniazio » 17 Sep 2023, 14:27

Ath wrote: 17 Sep 2023, 13:34
kniazio wrote: 17 Sep 2023, 10:33 I could and want to support the work. How can I do this?
If you have a (new) set of transmitter/receiver available and can send that to me (NL, details via PM) it will probably arrive here faster then when ordered from Ali (~2 months :o).
I can make the required adjustments and do some preliminary testing, but will need you to do the actual testing.

A quick look at the linked repository shows it seems to use some of the IR-plugin features, so it will most likely be added in the IR/IRext builds.
I live in Poland. At the moment I do not have a new 433MHz receiver.
When it comes to IR, there is a discussion on the forum about it:
viewtopic.php?t=2475&start=50
According to the plugin author, the most recently released plugins are: https://github.com/sanderpleijers/EspEasy-RC-Switch

I could send you money for the receiver and transmitter because the shipment from PL to NL will take the same time as with Aliexpress

User avatar
Ath
Normal user
Posts: 3522
Joined: 10 Jun 2018, 12:06
Location: NL

Re: RCSwitch compilation

#14 Post by Ath » 17 Sep 2023, 14:59

I'm trying to approach this a bit more generic, been talking to TD-er as well, and he suggested the RadioLib library, that has support for many more modules and protocols, though I haven't yet looked at what kind of effort that would need to implement.
Haven't been able to determine if the MX-05V and FS-03V modules are supported (they're not listed explicitly), but as there are enough 433 MHz FSK modules supported, finding cheap alternative hardware shouldn't be much of an issue.
Besides the RF protocol, using RadioLib will also give access to low-level LoRa, GPS and GSM/LTE modules, making this project much more interesting, though also much larger.

Adding support for only this hardware and the limited set of supported protocols, and the expected support after a more versatile module (as stated in the previous paragraph) is added later, isn't very useful, IMHO, resources are already quite scarce (time, ppl, available code space, etc.), so should be used as efficient as possible, IMHO. :)
/Ton (PayPal.me)

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: RCSwitch compilation

#15 Post by kniazio » 17 Sep 2023, 15:11

Ath wrote: 17 Sep 2023, 14:59 I'm trying to approach this a bit more generic, been talking to TD-er as well, and he suggested the RadioLib library, that has support for many more modules and protocols, though I haven't yet looked at what kind of effort that would need to implement.
Haven't been able to determine if the MX-05V and FS-03V modules are supported (they're not listed explicitly), but as there are enough 433 MHz FSK modules supported, finding cheap alternative hardware shouldn't be much of an issue.
Besides the RF protocol, using RadioLib will also give access to low-level LoRa, GPS and GSM/LTE modules, making this project much more interesting, though also much larger.

Adding support for only this hardware and the limited set of supported protocols, and the expected support after a more versatile module (as stated in the previous paragraph) is added later, isn't very useful, IMHO, resources are already quite scarce (time, ppl, available code space, etc.), so should be used as efficient as possible, IMHO. :)
Does this mean that something will be done about it? How can I help? I'm not a programmer. I'm just an EspEasy user. I love EspEasy.

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: RCSwitch compilation

#16 Post by kniazio » 17 Sep 2023, 15:18

I will only add that I use EspEasy at school with students. We have a workshop equipped with several dozen ESP8266 controllers and lots of sensors. The ability to add a 433MHz receiver to the ESP would be great for me and my students. Our website: http://cyfrowydom.cba.pl/news.php

My students and I are happy to advertise the EspEasy project

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: RCSwitch compilation

#17 Post by kniazio » 19 Sep 2023, 05:57

I found out that Tasmota and ESPHome have RCSwitch. Too bad EspEasy doesn't have this

User avatar
Ath
Normal user
Posts: 3522
Joined: 10 Jun 2018, 12:06
Location: NL

Re: RCSwitch compilation

#18 Post by Ath » 19 Sep 2023, 08:54

I have been working on the plugins (also on the transmitter), but they are of rather poor quality code, so it will take some more time. And also some other ESPEasy issues had to be taken care of first.
Please be patient, we'll get there.
/Ton (PayPal.me)

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: RCSwitch compilation

#19 Post by kniazio » 19 Sep 2023, 14:04

Thank you very much for the good news. I will wait patiently :)

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: RCSwitch compilation

#20 Post by kniazio » 23 Nov 2023, 14:03

Is there anything going on in the topic? )

User avatar
Ath
Normal user
Posts: 3522
Joined: 10 Jun 2018, 12:06
Location: NL

Re: RCSwitch compilation

#21 Post by Ath » 23 Nov 2023, 21:29

Didn't get to it yet, too much going on at the moment.
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests