mpower-tools
mpower-tools copied to clipboard
Mport
Hi,
are the Thermostat script working on mPort ? With the mFi THS one or any other module connected to the mPort ? I try use and mosquito_sub don't detect any comming from mPort, mPower outlets working fine, just all my mPorts not working in mqtt. Any solution to this ?
Regards,
Luis
Sorry. I don't own a mPort. No idea what is inside and if mqtt works on this thing. Does it have a /var/log/messages? Anything inside from the thermostat script?
You can also try to just run the
mosquitto_sub -I <clientID> -h
from the command line and see what happens
Hi,
the status of mqtt v2 running on mPort are:
MF.v2.1.12# ./mqrun.sh mqtt: killing old instances killall: mqsub.sh: no process killed mqtt: Using temp file /tmp/mqtmp.XXXXwKkfps mqtt: starting pub and sub scripts MF.v2.1.12# mqtt: MQTT listening... mqtt: Found 0 ports. mqtt: Publishing to 192.168.0.1 with topic homie/mPortAcessos
but can't find any sensors connected.
When I try run mosquito_sub in mPort I get this.
MF.v2.1.12# ./mosquitto_sub -I -h -v ./mosquitto_sub: can't load library 'libmosquitto.so.1'
mqtt v2 does not find ports because it is designed to work with mpower. Feel free to change it and support mport "sensors"
When I try run mosquito_sub in mPort I get this.
set ld lib path before:
export LD_LIBRARY_PATH=/var/etc/persistent/mqtt
of course you need also provide the right params for mosquitto_sub. see manual of mosquitto_sub
ok, let me try then. I will update you with more info asap.
Thank You
@ws
ok, let me try then. I will update you with more info asap.
Thank You
Did you manage to find a solution
useless thing...doesnt work propertly. mFiMSC doesnt know.