ser2net - possible to set baudrate with rules?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
grundy
New user
Posts: 9
Joined: 01 Jul 2019, 22:08

ser2net - possible to set baudrate with rules?

#1 Post by grundy » 15 Jul 2019, 16:08

Hello everyone!

first: i love espeasy, keep up the good work so i can keep buying kofis for you :D

at the moment i try to make a little wireless-rs232 adapter wich was really easy with the esp. but i alwasy have to log in to the webinterface to change baudrate, databits..
im using a wemos d1mini and the "communication-serial server" device
is there a possibility to change the baudrate and other port settings with rules oder http commands?

grundy
New user
Posts: 9
Joined: 01 Jul 2019, 22:08

Re: ser2net - possible to set baudrate with rules?

#2 Post by grundy » 25 Jul 2019, 16:26

..or at least a possibility to change the settings with a http command or something?? i really dont want to use 3 different ESPs für different port settings...

User avatar
ThomasB
Normal user
Posts: 1064
Joined: 17 Jun 2018, 20:41
Location: USA

Re: ser2net - possible to set baudrate with rules?

#3 Post by ThomasB » 25 Jul 2019, 17:55

From what I see in the source code, ser2net baud rate is set when the plugin is loaded; Changing baud during run-time is not supported.

- Thomas

grundy
New user
Posts: 9
Joined: 01 Jul 2019, 22:08

Re: ser2net - possible to set baudrate with rules?

#4 Post by grundy » 22 Aug 2019, 21:12

its not necessary to do it during runtime, it would be ok to change it and do a reboot after.

but i guess it will be easier to just user 4 esp units ( i have 4 serial settings i often use) and just make a switch wich turns on one of the 4 units..

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

Re: ser2net - possible to set baudrate with rules?

#5 Post by TD-er » 23 Aug 2019, 12:57

It can be done by adding a command for it.
Can you make a feature request issue for it on GitHub?

However, I don't think it will be added really soon, since I have other priorities like WiFi stability right now.
But maybe others may hop in.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 13 guests