ioBroker / ioBroker.rflink

Support of RFLink
MIT License
11 stars 10 forks source link

Standardization of USB/COM port handling with smartmeter adapter #31

Open klassisch opened 4 years ago

klassisch commented 4 years ago

More a question or a suggestion for optimization - not an issue. Both, RFLink adapter and SmartMeter adapter are using USB, serial COM inputs. The input unit of the smart meter adapter seems to be more advanced and more versatile. So, also the use of a TCP server is possible which makes USB, COM, tty handling obsolete and even enables access of multiple computers which is a real benefit. Of course this alse can be achieved using the current RFLink adapter 2.0.0 but requieres an (at least inconveniant) additional piece of Software running in parallel and establishing a virtual serial port. Would it make sense to carry over the input handling unit of smart meter adapter to the RFLink adapter? This would increase the functionality of the adapter and could also reduce the maintenance effort for the RFLink adapter.

Apollon77 commented 4 years ago

Is rflink over tcp really existing? DonOu have an example? Never heated of it

klassisch commented 4 years ago

Yes, it is existing at least once - here. I am using it as my productive solution to get rid of this nasty USB connection. The direct USB connection worked properly over years in my systems (Linux as well as Win 10). So, nothing to complain about the SW, but it binds the antenna close to the position of the ioBroker computer. Using one of the various USR-TCP232 modules of usriot.com gives you the possibility to separate the antenna's location from the ioBroker computer's location. As a useful side effect the RFLInk signals are now available to different computers. Okay, it needs some hands on. This is a HW modifications by changing the serial input of the Mega2560 from the USB-serial converter (FTDI or CH340) to an additional USR-TCP232 module and paralleling the serial out of the mega to this USR-TCP232. So a bit of extra soldering is necessary in addition to the soldering you have to do for RFLink anyway.