-
Notifications
You must be signed in to change notification settings - Fork 46
Description
Hi magcode
I was following your github guide. My first problem was your script that not worked for me. So copied and pasted manually every your single file in the folder:
mqtt/client
save
reboot
After that i started mqtt with this below command:
/var/etc/persistent/mqtt/client/mqrun.sh
this output gives me back:
MF.v2.1.11# /var/etc/persistent/mqtt/client/mqrun.sh
mqtt: killing old instances
killall: mqsub.sh: no process killed
mqtt: Using temp file /tmp/mqtmp.XXXX33WiDi
mqtt: starting pub and sub scripts
MF.v2.1.11# mqtt: Found 6 ports.
mqtt: MQTT listening...
mqtt: Publishing to 10.1.10.1 with topic homie/mFi-bedroom
in the file "/var/etc/persistent/mqtt/client/mqtt.cfg" i set the following string:
mqtthost=10.1.10.10
with the ip of my mpower device itself
Now, if i do well until here ,I'm definitely blocked after this command below:
MF.v2.1.11# tail -f /var/log/messages
Jan 1 14:23:34 mFi-bedroom user.err syslog: ace_reporter.reporter_fail(): initial contact failed #3, url=http://mfi:6080/inform, rc=3
Jan 1 14:24:04 mFi-bedroom user.debug syslog: ace_reporter.reporter_timedout(): Connect(http://mfi:6080/inform) has timed out
Jan 1 14:24:04 mFi-bedroom user.err syslog: ace_reporter.reporter_fail(): server unreachable
Jan 1 14:24:04 mFi-bedroom user.err syslog: ace_reporter.reporter_fail(): initial contact failed #4, url=http://mfi:6080/inform, rc=3
Jan 1 14:24:34 mFi-bedroom user.debug syslog: ace_reporter.reporter_timedout(): Connect(http://mfi:6080/inform) has timed out
Jan 1 14:24:34 mFi-bedroom user.err syslog: ace_reporter.reporter_fail(): server unreachable
Jan 1 14:24:34 mFi-bedroom user.err syslog: ace_reporter.reporter_fail(): initial contact failed #5, url=http://mfi:6080/inform, rc=3
Jan 1 14:25:04 mFi-bedroom user.debug syslog: ace_reporter.reporter_timedout(): Connect(http://mfi:6080/inform) has timed out
Jan 1 14:25:04 mFi-bedroom user.err syslog: ace_reporter.reporter_fail(): server unreachable
Jan 1 14:25:04 mFi-bedroom user.err syslog: ace_reporter.reporter_fail(): initial contact failed #6, url=http://mfi:6080/inform, rc=3
Jan 1 14:25:34 mFi-bedroom user.debug syslog: ace_reporter.reporter_timedout(): Connect(http://mfi:6080/inform) has timed out
Jan 1 14:25:34 mFi-bedroom user.err syslog: ace_reporter.reporter_fail(): server unreachable
Jan 1 14:25:34 mFi-bedroom user.err syslog: ace_reporter.reporter_fail(): initial contact failed #7, url=http://mfi:6080/inform, rc=3
Where am i doing wrong?
Thanks for your eventual help
spyrito79