Конвертер для MEPLHAA #2175
Closed
Andreydiz
started this conversation in
MEPLHAA Scripts
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Здравствуйте!
При настройке новых устройств с HAA Home Manager всегда возникает вопрос с сценарием MEPLHAA. Мне очень помогает сайт https://templates.blakadder.com/minitiger_1gang.html где есть описание внутренних настроек GPIO и конфигурация для Tasmota. Можно ли написать простой конвертер "из конфигурации Tasmota в MEPLHAA". Например было {"NAME":"minitiger 1 Gang","GPIO":[17,255,255,255,0,0,0,0,21,56,0,0,0],"FLAG":0,"BASE":28} стало {"c":{"io":[[[12,13],2],[[0],6]],"l":13,"b":[[0,5]]},"a":[{"t":2,"0":{"r":[[12]]},"1":{"r":[[12,1]]},"b":[[0]]}]}, за точность не ручаюсь, но работает. Заранее спасибо.
Beta Was this translation helpful? Give feedback.
All reactions