Search found 1 match
- Wednesday 06 January 2021 4:38
- Forum: Utility
- Topic: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
- Replies: 97
- Views: 25612
Re: DDS238-4 W wifi Energy-meter S0-interface RS485-Interface ON/OFF control
Inspired by netcat :) #!/usr/bin/perl use IO::Socket::INET; use JSON; use Data::Dumper; use WWW::Curl::Simple; # flush after every write $| = 1; my ($socket,$data); $socket = new IO::Socket::INET ( PeerAddr => '192.168.1.131', PeerPort => 10000, Proto => 'udp' ) ; $req1 = "{\"msgId\":6,\"action ...