This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Keyboard.h> | |
#include <SoftwareSerial.h> | |
// Set up SoftwareSerial on pins 14 and 15 (RX, TX) | |
SoftwareSerial mySerial(14, 15); | |
void setup() { | |
// Start serial communication with baud rate of 9600 | |
Serial.begin(9600); | |
mySerial.begin(9600); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <SoftwareSerial.h> | |
const int BUFFER_SIZE = 14; // RFID DATA FRAME FORMAT: 1byte head (value: 2), 10byte data (2byte version + 8byte tag), 2byte checksum, 1byte tail (value: 3) | |
const int DATA_SIZE = 10; // 10byte data (2byte version + 8byte tag) | |
const int DATA_VERSION_SIZE = 2; // 2byte version (actual meaning of these two bytes may vary) | |
const int DATA_TAG_SIZE = 8; // 8byte tag | |
const int CHECKSUM_SIZE = 2; // 2byte checksum | |
SoftwareSerial ssrfid = SoftwareSerial(6,8); // RX, TX |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <IRremote.h> | |
const int ir_recv_pin = 8; | |
const int ir_send_pin = 3; | |
IRrecv irrecv(ir_recv_pin); | |
IRsend irsend(ir_send_pin); | |
decode_results results; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Replace all 192.168.0.2 with your local IP | |
NBOX 5800S: | |
1. Login to device by telnet/ssh and run "wget http://iptvplayer.pl/iptvinstaller.sh -O - | /bin/sh" | |
2. Run "echo 'streamPC; rtmp://192.168.0.2/view/test' > /hdd/urllist.txt" | |
3. Reboot device | |
4. "SETUP" button => "Plugins" => "IPTV Player" or "E2iPlayer" => All plugins (rubic cube icon) => Urllists player ( white document icon ) => All => streamPC | |
Windows 10: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Right : 0000 006D 002A 0000 0072 0072 0013 0013 0013 0039 0013 0039 0013 0013 0013 0039 0013 0013 0013 0013 0013 0013 0013 0039 0013 0039 0013 0013 0013 0039 0013 0013 0013 0039 0013 0013 0013 0039 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0039 0013 0039 0013 0039 0013 0039 0013 0013 0013 0039 0013 0072 | |
Left : 0000 006D 002A 0000 0072 0072 0013 0013 0013 0039 0013 0039 0013 0013 0013 0039 0013 0013 0013 0013 0013 0013 0013 0039 0013 0039 0013 0013 0013 0013 0013 0013 0013 0039 0013 0039 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0039 0013 0013 0013 0039 0013 0039 0013 0039 0013 0013 0013 0072 | |
Up : 0000 006D 002A 0000 0072 0072 0013 0013 0013 0039 0013 0039 0013 0013 0013 0039 0013 0013 0013 0013 00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<irplus> | |
<device manufacturer="EUFY" model="RoboVac V11" columns="12" format="PRONTO_HEX" repeatheader="false" frequency="38028"> | |
<button label="󿋞" labelSize="20.0" span="6">0000 006D 002A 0000 0072 0072 0013 0013 0013 0039 0013 0039 0013 0013 0013 0039 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0039 0013 0039 0013 0039 0013 0039 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0039 0013 0039 0013 0039 0013 0013 0013 0039 0013 0039 0013 0039 0013 0072</button> | |
<button label="AUTO" labelSize="20.0" span="6" backgroundColor="FFC84334">0000 006D 002A 0000 0072 0072 0013 0013 0013 0039 0013 0039 0013 0013 0013 0039 0013 0013 0013 0013 0013 0013 0013 0039 0013 0013 0013 0039 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 0013 001 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Data::Dumper; | |
# inputs | |
my $data = { | |
'Home' => '3000 3000 500 500 500 1500 500 1500 500 500 500 1500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 1500 500 1500 500 1500 500 1500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 1500 500 1500 500 1500 500 500 500 1500 500 1500 500 1500 500', | |
'Auto' => '3000 3000 500 500 500 1500 500 1500 500 500 500 1500 500 500 500 500 500 500 500 1500 500 500 500 1500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 1500 500 500 500 500 500 500 500', | |
'Spot' => '3000 3000 500 500 500 1500 500 1500 500 500 500 1500 500 500 500 500 500 500 500 500 500 500 500 500 500 1500 500 500 500 500 500 1500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 500 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
var httpProxy = require('http-proxy'); | |
var body = require("body"); | |
var proxy = httpProxy.createProxyServer({secure:false}); | |
proxy.on('proxyReq', (proxyReq, req) => { | |
if (req.body) { | |
console.log(req.body); | |
proxyReq.setHeader('Content-Length', Buffer.byteLength(req.body)); | |
proxyReq.write(req.body); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
POWER: 0x0538 0xBC81 | |
VOL-: 0x0500 0x8481 | |
VOL+: 0x0500 0x0401 | |
AUX: 0x0500 0x595C | |
AUTO OFF: 0x0538 0x1924 | |
SLEEP: 0x0538 0x6954 | |
MUTING: 0x0500 0x4C49 | |
DISK: 0x0550 0x2570 | |
>=10: 0x0538 0x211C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<irplus> | |
<device manufacturer="MANTA" model="3204" columns="12" format="WINLIRC_NEC1" bits="16" pre-bits="16"> | |
<button label="" labelSize="25.0" span="4" backgroundColor="FFC84334">0x04fb 0x4ab5</button> | |
<button label="󿖁" labelSize="25.0" span="4">0x04fb 0xca35</button> | |
<button label="TV/AV" labelSize="18.0" span="4">0x04fb 0x02fd</button> | |
<button label="EPG" labelSize="18.0" span="4">0x04fb 0xea15</button> | |
<button label="P+" labelSize="18.0" span="4">0x04fb 0x40bf</button> | |
<button label="EXIT" labelSize="18.0" span="4">0x04fb 0x50af</button> |
NewerOlder