Uw opmerkingen

Hello!


You tried to send this command through the browser? If so, then please tell me it works?

Здравствуйте!


Если под "стандартным скриптом" вы имели ввиду драйвер добавляемый вручную, а не через скрипты, то в этом случае никаких проблем с подключением к удаленному серверу нет. Как впрочем и с драйвером создаваемым через скрипты, т.к. он работает аналогично драйверу из базы драйверов редактора. Вы можете воспользоваться любым удобным для вас способом. Вот пример отправки GET запроса с использованием вашей ссылки через драйвер добавленный из базы драйверов редактора:

1) Добавляем драйвер и настраиваем его



2) Настраиваем команду для отправки GET-запроса

В моем случае я привязал ее к кнопке, при нажатии на которую происходил запрос.

3) В редакторе скриптов добавляем слушателя на получение данных от драйвера


4) И выводим в лог то, что пришло


Как видно мы получили от драйвера xml - файл, с которым теперь можем работать. Дальше вся обработка ведется аналогично той, что представлена в нашем модуле погоды.

Please try these features and tell us about the results

Hello!


Do you have tried to use a listener on the event of receiving data from the driver?

EVENT_RECEIVE_DATA or EVENT_RECEIVE_TEXT

Hello!


You can drag&drop this command to the button to receive the status when you press this button. Or if you need to receive status on startup, then you may to set up the timer. For example:


Hello!


If you want to get the status of relays and dimmers when you start you need to set up a command StatusOnStart as follows:

1) Operation code - Single Channel Read Target.

2) Channel number - specify the channel number to get the status of a specific relay or dimmer. Or leave 0 to get the status of all dimmers or relays.

For example:



Try using the following command:

'#X001|web|SR1|3|U|',13,10

Because according to your documentation, the word return matches the end of string in hex format: "return = 0x0d 0x0a"

Need to send this command the way I showed above

Hello!

You can send a command as follows:


Please note that the command in the "Custom Data" should be in single quotes: '#X001|web|SR1|3|U|return'

Hello!

Try to save the project on the local drive of your computer. Our program is not adapted to save over the network. But we will try to fix it.