Possibility to send IR RAW codes
Moderators: grovkillen, Stuntteam, TD-er
-
- Normal user
- Posts: 18
- Joined: 29 Mar 2017, 12:05
Possibility to send IR RAW codes
hello,
how can I send ir raw-codes with th esp Easy firmware? Until now i use a custom sketch with a function "irsend.sendRaw(irLeinwand_stop, sizeof(irLeinwand_stop) / sizeof(irLeinwand_stop[0]), khz);"
the command irsend aloows onl protocal as far I know.
Ther are 3 code from a device which I can't get working. Two different IR-Reiver recordes the same raw codes. Is it necessary to send the ir-signal with a 850 nm ir diod? Actually I'm using a 940 nm.
Greetings
Thomas
how can I send ir raw-codes with th esp Easy firmware? Until now i use a custom sketch with a function "irsend.sendRaw(irLeinwand_stop, sizeof(irLeinwand_stop) / sizeof(irLeinwand_stop[0]), khz);"
the command irsend aloows onl protocal as far I know.
Ther are 3 code from a device which I can't get working. Two different IR-Reiver recordes the same raw codes. Is it necessary to send the ir-signal with a 850 nm ir diod? Actually I'm using a 940 nm.
Greetings
Thomas
Re: Possibility to send IR RAW codes
Hello again,
maybe have a look at this thread:
https://www.letscontrolit.com/forum/vie ... &hilit=raw
The plugin they developed is atm not included in the standard binaries or source code of R148 or ESPEasyMega.
Seems it is still a "work in progress".
Here the "protocol version" is used with FHEM successfully. I've flashed a decoding sketch on an Arduino and decoded my remotes.
Just one remote in my collection refused....... a somewhat crude remote from a linux based HD recorder (old Unitymedia device).
A picture of the small IR-transmitter/receiver is in that thread.
Regards
Thomas
maybe have a look at this thread:
https://www.letscontrolit.com/forum/vie ... &hilit=raw
The plugin they developed is atm not included in the standard binaries or source code of R148 or ESPEasyMega.
Seems it is still a "work in progress".
Here the "protocol version" is used with FHEM successfully. I've flashed a decoding sketch on an Arduino and decoded my remotes.
Just one remote in my collection refused....... a somewhat crude remote from a linux based HD recorder (old Unitymedia device).
A picture of the small IR-transmitter/receiver is in that thread.
Regards
Thomas
Regards
Shardan
Shardan
-
- Normal user
- Posts: 18
- Joined: 29 Mar 2017, 12:05
Re: Possibility to send IR RAW codes
thx,
must the code be written down in hex or dec?
http://192.168.0.76/tools?cmd=IRSEND %2C NEC %2C 8166817E %2C 32
or
http://192.168.0.76/tools?cmd=IRSEND %2C NEC %2C 2170978686 %2C 32
must the code be written down in hex or dec?
http://192.168.0.76/tools?cmd=IRSEND %2C NEC %2C 8166817E %2C 32
or
http://192.168.0.76/tools?cmd=IRSEND %2C NEC %2C 2170978686 %2C 32
Re: Possibility to send IR RAW codes
Hello Thomas,
the codes are in Hex.
From FHEM you can use the "ESPEasy" pluigin from FHEM: https://fhem.de/commandref.html#ESPEasy
I bought some very cheap LED stripes from the DIY market and virtualized the remote control with FHEM "remotecontrol"
https://fhem.de/commandref.html#remotecontrol
If needed i can give a config sample.
Regards
Shardan
the codes are in Hex.
From FHEM you can use the "ESPEasy" pluigin from FHEM: https://fhem.de/commandref.html#ESPEasy
I bought some very cheap LED stripes from the DIY market and virtualized the remote control with FHEM "remotecontrol"
https://fhem.de/commandref.html#remotecontrol
If needed i can give a config sample.
Regards
Shardan
Regards
Shardan
Shardan
-
- Normal user
- Posts: 18
- Joined: 29 Mar 2017, 12:05
Re: Possibility to send IR RAW codes
thx, but I wasn't able to understand the description of the modul? What is ist for? --> "Provides access and control to Espressif ESP8266 WLAN-SoC w/ ESPEasy"
I have read about the modul remotecontrol. But I want to use features combine with alexa/siri so I dont need a remote gui. So is the plan
I have read about the modul remotecontrol. But I want to use features combine with alexa/siri so I dont need a remote gui. So is the plan

-
- Normal user
- Posts: 18
- Joined: 29 Mar 2017, 12:05
Re: Possibility to send IR RAW codes
if you mean esp bridge i can say that I use it still. It's wonderfull by creating devices at it self. But I thougt that it is only one way. So I can Input from DHT/PIR/.. to my fhem.
Greeting and enjoy the weekend
Thomas
Greeting and enjoy the weekend
Thomas
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Possibility to send IR RAW codes
Does the LED strips need to be controlled with IR? Can't you control it with gpio instead?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



Re: Possibility to send IR RAW codes
Yep, it's the espbridge. It can be used bi-directional if the command supports that.tklein.lotte@web.de wrote: ↑31 Mar 2017, 19:02 if you mean esp bridge i can say that I use it still. It's wonderfull by creating devices at it self. But I thougt that it is only one way. So I can Input from DHT/PIR/.. to my fhem.
Greeting and enjoy the weekend
Thomas
When making the IR hardware i contacted the developer as the IRSEND was not supported and he had it integrated within some days.
I use a syntax like "set <fhem-device> IRSEND NEC F700FF 32" to trigger the IR send in the IR device. It's same syntax as with the http just use spaces instead commas.
Regards
Shardan
Regards
Shardan
Shardan
Re: Possibility to send IR RAW codes
Sure i could.grovkillen wrote: ↑31 Mar 2017, 19:03 Does the LED strips need to be controlled with IR? Can't you control it with gpio instead?
But i have several LED stripes in that room, on top TV, stereo and DVD player. It needs only one
single IR transceiver in the room to control all the devices from my homecontrol.
For controlling that by GPIO i had to use several ESPs or long cabling.
Other advantages: I can use the original cabling and power supply without changing anything.
Any of the Stripes can be relocated without problem.
As an extra the manual remote control is still working if necessary.
Another extra: As it is a IR Transceiver it receives commands from remote controls too.
That makes some things possible: For example if i use the usual remote to switch on TV the IR transceiver
receives the signal too - and i can dim down lights automatically via homecontrol.
I have a ready developed LED driver for ESP that avoids usual problems.
Most use too low voltage to drive the MOSFETs so the current they can handle is very limited.
Avoiding this needs far more effort and is more expensive. First you need an additional higher
voltage from the power supply (10...15V) as MOSFET's are voltage driven. Then you need
a MOSFET driver chip like the Maxxim 7667 for interfacing the ESP to the MOSFET's. The
7667 is expensive... and so on.
With this circuit i have tested ESP-based LED drivers with 15A on one single channel.
Pending on the used MOSFET type even more is possible - just my testing equipment has it's limits

Just this is a far more expensive solution equaled to using the IR-modules
delivered with the stripes. I need the IR-transceiver for TV and stereo anyways.
Regards
Shardan
Regards
Shardan
Shardan
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Possibility to send IR RAW codes
I hear ya. 

ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you

ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you



-
- Normal user
- Posts: 18
- Joined: 29 Mar 2017, 12:05
Re: Possibility to send IR RAW codes
perfect, so I can transmit data from my fhem to my oled-display lines 7+8Yep, it's the espbridge. It can be used bi-directional if the command supports that.

That really cool. <fhem-device> --> this ist for example the wemos with the ir transmitter (autocreate by fhem-http and esp-bridge)? Are RAW-codes supported?When making the IR hardware i contacted the developer as the IRSEND was not supported and he had it integrated within some days.
I use a syntax like "set <fhem-device> IRSEND NEC F700FF 32" to trigger the IR send in the IR device. It's same syntax as with the http just use spaces instead commas.
Which Firmware(147, Mega) and FHEM-version must be used?
Greetings
Thomas
Re: Possibility to send IR RAW codes
Hello Thomas,tklein.lotte@web.de wrote: ↑02 Apr 2017, 11:51perfect, so I can transmit data from my fhem to my oled-display lines 7+8Yep, it's the espbridge. It can be used bi-directional if the command supports that.
That really cool. <fhem-device> --> this ist for example the wemos with the ir transmitter (autocreate by fhem-http and esp-bridge)? Are RAW-codes supported?When making the IR hardware i contacted the developer as the IRSEND was not supported and he had it integrated within some days.
I use a syntax like "set <fhem-device> IRSEND NEC F700FF 32" to trigger the IR send in the IR device. It's same syntax as with the http just use spaces instead commas.
Which Firmware(147, Mega) and FHEM-version must be used?
Greetings
Thomas
i didn't test with an OLED Display, following the commendref it is possible
(Search for ESPEasy Devices).
<fhem-device> is just the device as autocreate created, yes.
At this time some standard protocolls are supported. Have a look at this thread:
https://forum.fhem.de/index.php/topic,5 ... #msg530220
Raw codes are not supported at this time. There is a plugin under development for that.
https://www.letscontrolit.com/forum/vie ... lit=IRSEND
I'm using the R148 for IRSEND modules. THe plugin is included in older versions and ESPEasy 2.0.0 too so it should work.
FHEM supports it since version 5.7.
Regards
Shardan
Regards
Shardan
Shardan
Who is online
Users browsing this forum: No registered users and 37 guests