Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad output after tail -f /var/log/messages command #18

Open
spyrito79 opened this issue Feb 24, 2021 · 2 comments
Open

Bad output after tail -f /var/log/messages command #18

spyrito79 opened this issue Feb 24, 2021 · 2 comments

Comments

@spyrito79
Copy link

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

@magcode
Copy link
Owner

magcode commented Feb 24, 2021

two points

in the file "/var/etc/persistent/mqtt/client/mqtt.cfg" i set the following string:
mqtthost=10.1.10.10

mqtthost must point the host ip of your MQTT Server. Not the mpower

I'm definitely blocked after this command below:

The messages you posted are "normal" and have nothing to do with this tool.
You may want to read this https://github.com/magcode/mpower-tools/tree/master/nocontroller to get rid of it

@spyrito79
Copy link
Author

Thanks for your quick reply.
I haven't given you all the information on my real problem and I'm sorry.

I have installed openhab 2.5.4 on Ubuntu 18.04 server and I created mqtt binding and mqtt broker by web browser but i 'm not able to get openhab to communicate with mpower pro.
What are my issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants