Uw opmerkingen
Добрый день.
Отправьте запрос через curl и посмотрите в сниффере, что уходит фактически. То же самое отправьте из i3 pro.
Hello.
You need to parse the resulting array using a script. This data cannot be converted to an ASCII string. For example, you only need 15-18 bytes for a string: 0x8F,0x8F,0x8F,0x8F,0x00,0x14,0xAA,0x01,0xF3,0x1B,0x01,0x00,0x00,0x00,0x02,0x03,0x00,0x05,0x00,0xFF:
var message = [0x8F,0x8F,0x8F,0x8F,0x00,0x14,0xAA,0x01,0xF3,0x1B,0x01,0x00,0x00,0x00,0x02,0x03,0x00,0x05,0x00,0xFF];
var e_15 = message[14];
var e_16 = message[15];
var e_17 = message[16];
var e_18 = message[17];
IR.Log("value Mute Option: " + e_15);
IR.Log("Number of bytes: " + e_16);
IR.Log("Channel is to be accessed: " + e_17);
IR.Log("Channel number: " + e_18);
Can you attach this documentation here?
Hello.
To interpret the data received from the device, you need to refer to the documentation for the device. It is possible that interpretation via a condition, as in your example, is the solution for your case.
Yes, you need to send an array in the Send method. In your case, you need an array of numbers in HEX, not an array of strings.
Hello.
In your project a packet is sent from the channel:
You can use the script to send it like this:
IR.GetDevice("ASHLY").Send([0xAA,0xAA,0xAA,0xAA,0x00,0x14,0xAA,0x01,0xF3,0x1B,0x64,0x65,0x66,0x61,0x75,0x6C,0x74,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x0A,0x04,0x00,0x05,0x01,0x03,0xFF]);
The result will be exactly the same as in the screenshot above.
Attach your project where you set up sending commands in channels (i.e. the project that sends the command correctly).
The syntax in the project we attached earlier is correct (0xaa). The project sends data via UDP at the start with a delay. Make sure that you have UDP connections enabled on the port specified in the project. You may have a firewall blocking UDP connections.
Customer support service by UserEcho
Добрый день.
Мы проверили на версии Raspberry 3B с Jessie.
При отправке из shell слушатель с EVENT_RECEIVE_TEXT и EVENT_RECEIVE_DATA отслеживает данные:
Аналогично работает и на 3B+ с Buster. Убедитесь, что пин настроен как out.