Send Data via Infrared from one Node to another - easiest way?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
kr0815
Normal user
Posts: 136
Joined: 18 Nov 2015, 18:24

Send Data via Infrared from one Node to another - easiest way?

#1 Post by kr0815 » 17 Feb 2022, 20:29

Hi all,

i have a setup where i want to read out data from one fixed Node - show it on another (mobile) one

It´s like a mobile reader - i hold it in front of the fixed installed Node, get a few values
( I´m mainly interested in IP, Station Name,....)

My idea- transmit it over infrared
Problem: there are so many different plugins, IR-Remote, serialserver,...

The Data transfered is alphanumeric, about 30-50 characters, so Dummy Device won´t work?
I´m thinking about serial communication, 120 Baud or lower

The fixed installed Node could send the Data either periodically, or by push of a button

What would be best practice?
Any Idea how to solve this?

Maybe somebody did this before?

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

Re: Send Data via Infrared from one Node to another - easiest way?

#2 Post by Ath » 17 Feb 2022, 22:01

Why can't you use the Inter-ESPEasy Network feature? Aren't both units on the same WiFi network?

When the port number is set in Tools/Advanced at UDP port (suggested, official, port number 8266) is configured you can use the 'sendto' command to send commands to another unit.
You can also use the ESPEasy P2P Networking controller, to mirror sensors and their data, from one ESP to another.
This method doesn't really allow sending string values, like the device name, as ESPEasy doesn't support storing string/text values, so the name is not directly available for use, other that in an event, sent via 'sendto'.

Entertaining the IR communication idea, it is possible to use an IR-transmit plugin on 1 side and IR-receive on the other, but the receiver does only accept numeric values, for the same reason as before, ESPEasy doesn't really handle string/text values.
/Ton (PayPal.me)

kr0815
Normal user
Posts: 136
Joined: 18 Nov 2015, 18:24

Re: Send Data via Infrared from one Node to another - easiest way?

#3 Post by kr0815 » 17 Feb 2022, 22:13

The "Reader" won´t be in a Network at all

Maybe i could use IR Transmit with raw values?

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

Re: Send Data via Infrared from one Node to another - easiest way?

#4 Post by Ath » 17 Feb 2022, 22:20

kr0815 wrote: 17 Feb 2022, 22:13 The "Reader" won´t be in a Network at all

Maybe i could use IR Transmit with raw values?
But will the reader be an ESPEasy based device?

IR-transmit does support sending raw data, so setting stuff up that way might be a nice exercise for a rainy afternoon or evening :)
/Ton (PayPal.me)

kr0815
Normal user
Posts: 136
Joined: 18 Nov 2015, 18:24

Re: Send Data via Infrared from one Node to another - easiest way?

#5 Post by kr0815 » 17 Feb 2022, 22:31

My Goal is that everything is ESPEasy

I´m also thinking that IR-Transmit / Raw-Data is the right way, but wanted to hear your ideas

Cheers

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests