Zorch Posted June 13, 2019 Posted June 13, 2019 Есть ли возможность опубликовать сообщение в MQTT из keenetic bash? что то врооде mosquitto_pub -d -t topic -m "message" -h 192.168.1.5 -p 1883 Поставил opkg install mosquitto mosquitto-client libmosquitto Находит по mosquitto TAB: mosquitto mosquitto_pub mosquitto_sub ~ # mosquitto но при попытке запуска пишет: ~ # mosquitto_pub -sh: mosquitto_pub: not found Quote
Zorch Posted June 14, 2019 Author Posted June 14, 2019 ~ # opkg install mosquitto-client-ssl Package mosquitto-client-ssl (1.6.2-1) installed in root is up to date. ~ # mosquitto_pub -d -t topic -m "message" -h 192.168.1.5 -p 1883 -sh: mosquitto_pub: not found ~ # не помогло :( Quote
zyxmon Posted June 14, 2019 Posted June 14, 2019 Ошибка в пакете (не передаются правильные флаги линковки). Исправим. Quote
Zorch Posted June 14, 2019 Author Posted June 14, 2019 39 минут назад, zyxmon сказал: Ошибка в пакете (не передаются правильные флаги линковки). Исправим. Круто! когда ждать? Quote
zyxmon Posted June 14, 2019 Posted June 14, 2019 23 минуты назад, Zorch сказал: Круто! когда ждать? mipsel выложили, mips скоро выложим. Quote
Zorch Posted June 14, 2019 Author Posted June 14, 2019 Вот это скорость! Спасибо большое! Проверил, работает! Quote
Alex Tammat Posted October 17, 2019 Posted October 17, 2019 (edited) mosquitto_sub -h 192.168.1.1 -p 1883 -v -t "/omni/#" Unable to connect (Unknown error.). Установил mosquitto-client-nossl, ошибка непонятная, кто-то сталкивался??? установил c ssl - все заработало Edited October 17, 2019 by Alex Tammat Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.