Comments (6)
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 -h -v
from the command line and see what happens
from mpower-tools.
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'
from mpower-tools.
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
from mpower-tools.
ok, let me try then.
I will update you with more info asap.
Thank You
from mpower-tools.
ok, let me try then.
I will update you with more info asap.Thank You
Did you manage to find a solution
from mpower-tools.
useless thing...doesnt work propertly. mFiMSC doesnt know.
from mpower-tools.
Related Issues (19)
- Works for me HOT 1
- Frequent reconnects with Mosquitto HOT 2
- Disconnecting HOT 1
- save failed HOT 1
- Problems with number of ports on mPower Pro HOT 1
- Bus error when trying to save HOT 3
- mPower - Read-only file system HOT 12
- Has anybody gathered a list of the awesome mPower/mFi repos like this one? HOT 1
- sh: Mini: unknown operand HOT 1
- Bad output after tail -f /var/log/messages command HOT 2
- Clarification on the guide /mqtt/client HOT 3
- .sh files contain ^M endine HOT 1
- Cloning the repository results in only empty files HOT 6
- install-client.sh- seems not working HOT 2
- Zero kb files HOT 1
- MQTT reports -1 for relay state HOT 4
- Extremely usefull HOT 3
- mPower 3 Outlet subs wrong HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpower-tools.