<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with mqtt]]></title><description><![CDATA[A list of topics that have been tagged with mqtt]]></description><link>http://community.onion.io/tags/mqtt</link><generator>RSS for Node</generator><lastBuildDate>Tue, 17 Mar 2026 13:47:49 GMT</lastBuildDate><atom:link href="http://community.onion.io/tags/mqtt.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Jun 2024 07:54:38 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Persistence DB file not created with mosquitto mqqt broker]]></title><description><![CDATA[I now just integrated the the mosquitto 2.0.17 package inside the firmware and removed the Mosquitto 2.0.18 package from the profile file. The i install the package after booting with the new firmware. So i just hope mosquitto will be fixed in the feature and i just can use the standard package again. If they didnt fix it i will go your way.
Thx for your help, its a nice experience to get answers really soon in the onion community!
]]></description><link>http://community.onion.io/topic/5054/persistence-db-file-not-created-with-mosquitto-mqqt-broker</link><guid isPermaLink="true">http://community.onion.io/topic/5054/persistence-db-file-not-created-with-mosquitto-mqqt-broker</guid><dc:creator><![CDATA[DocHardinger]]></dc:creator><pubDate>Thu, 27 Jun 2024 07:54:38 GMT</pubDate></item><item><title><![CDATA[Help for project]]></title><description><![CDATA[@Franmcm said in Help for project:

omega 2+

Hi Franmcm, the omega2 + is an excellent choice for your hardware and software requirements. If you have used raspberry you will not have problems with omega2 +.
]]></description><link>http://community.onion.io/topic/4526/help-for-project</link><guid isPermaLink="true">http://community.onion.io/topic/4526/help-for-project</guid><dc:creator><![CDATA[jossvall]]></dc:creator><pubDate>Wed, 07 Jul 2021 16:17:43 GMT</pubDate></item><item><title><![CDATA[MQTT Broker ssl]]></title><description><![CDATA[I'm using golang, for MQTT over ssl.  The solution in our code was to use tcps for the connector and port 8333.
Granted, we're using certificates already in the ca-bundle (Amazon) for the upstream message broker, so we don't need to finagle self-signed certs.
What language are you using?
]]></description><link>http://community.onion.io/topic/4136/mqtt-broker-ssl</link><guid isPermaLink="true">http://community.onion.io/topic/4136/mqtt-broker-ssl</guid><dc:creator><![CDATA[Lnx Prof]]></dc:creator><pubDate>Sat, 23 May 2020 23:27:00 GMT</pubDate></item><item><title><![CDATA[How to Install Mosquitto MQTT Broker on Omega2+?]]></title><description><![CDATA[@Alexandr-Didenko "Naturally" you didn't say anything about your Omega2+'s firmware (as usual;)

Omega Firmware Changelog


So - for example on a vanilla v0.2.0-b197 ... v0.3.2 b232 firmware - mosquitto has already installed.
Run a top command even on your freshly installed Omega2+ please.
# Omega2+ with v0.3.2 b232 firmware

root@Omega-5BE1:/# opkg list-installed | grep -i mosquitto
libmosquitto-ssl - 1.5.8-2
mosquitto-client-ssl - 1.5.8-2
mosquitto-ssl - 1.5.8-2

root@Omega-5BE1:/# opkg info mosquitto-ssl
Package: mosquitto-ssl
Version: 1.5.9-2
Depends: libc, librt, libuuid, libopenssl, libwebsockets-openssl
Provides: mosquitto
Status: unknown ok not-installed
Section: net
Architecture: mipsel_24kc
Size: 76962
Filename: mosquitto-ssl_1.5.9-2_mipsel_24kc.ipk
Description: Mosquitto is an open source (BSD licensed) message broker that implements
 the MQTT protocol version 3.1 and 3.1.1. MQTT provides a lightweight
 method of carrying out messaging using a publish/subscribe model.
 
 This package also includes some basic support for configuring via UCI
 This package is built with SSL support.  TLS-PSK will be included (in both
 the client and broker) if OpenSSL is built with TLS-PSK support.

Package: mosquitto-ssl
Version: 1.5.8-2
Depends: libc, librt, libuuid, libopenssl, libwebsockets-openssl
Provides: mosquitto
Status: install user installed
Architecture: mipsel_24kc
Conffiles:
 /etc/mosquitto/mosquitto.conf cad5c6ae4ecf25e2709e88f2b92d75905ac4aedc622df6e9a536238c0b047856
 /etc/config/mosquitto eaa6b71fbd8e5f7142d949432374017e4cb5d01cf5039b9cd4a65f8953126521
Installed-Time: 1566829837

root@Omega-5BE1:/# mosquitto -h
mosquitto version 1.5.8

mosquitto is an MQTT v3.1.1 broker.

Usage: mosquitto [-c config_file] [-d] [-h] [-p port]

 -c : specify the broker config file.
 -d : put the broker into the background after starting.
 -h : display this help.
 -p : start the broker listening on the specified port.
      Not recommended in conjunction with the -c option.
 -v : verbose mode - enable all logging types. This overrides
      any logging options given in the config file.

See http://mosquitto.org/ for more information.


]]></description><link>http://community.onion.io/topic/3885/how-to-install-mosquitto-mqtt-broker-on-omega2</link><guid isPermaLink="true">http://community.onion.io/topic/3885/how-to-install-mosquitto-mqtt-broker-on-omega2</guid><dc:creator><![CDATA[György Farkas]]></dc:creator><pubDate>Sun, 08 Dec 2019 11:45:04 GMT</pubDate></item><item><title><![CDATA[How to monitor network connectivity?]]></title><description><![CDATA[<p dir="auto">I'm playing with the new Omgea2S+ (Pro) board and I have it tethered to my cell phone for network connectivity. I'm not using the web interface at this moment, but doing everything over the USB serial connection on my computer through Teraterm. (it's like putty)</p>
<p dir="auto">I've noticed that when I walk away from my desk with my phone, the board loses network and the blue light goes out. When I come back with my phone, the blue light comes back on and a message gets written to the terminal: [17932.593554] Interface apcli0 link up! (WPA2PSK AES)</p>
<p dir="auto">I said to myself, that's neat! And tried to do it while sitting at my desk by turning off my wifi hotspot. When I turn off my hotspot, the blue light goes out like normal, when I turn on my hotspot, I still get the "link up!" message, but the blue light doesn't come back on. Only when I walk far enough away to the point where it loses signal and then coming back in range does the blue light come back on. What process is controlling the blue LED?</p>
<p dir="auto">I checked the logs:  readlog -e link<br />
and I see<br />
Tue Feb 12 15:54:57 2019 daemon.notice netifd: Network device 'apcli0' link is down<br />
Tue Feb 12 15:54:57 2019 daemon.notice netifd: Interface 'wwan' has link connectivity loss<br />
Tue Feb 12 15:54:58 2019 daemon.notice netifd: Network device 'apcli0' link is up<br />
Tue Feb 12 15:54:58 2019 daemon.notice netifd: Interface 'wwan' has link connectivity</p>
<p dir="auto">so it must be netifd doing the detection? but something else is controlling the notification led, maybe?</p>
<p dir="auto">And seeing all of this made me want to create a script that monitors the network or a script that ties into the already running process that monitors the network, to keep track of when it's up and when it's down. When it's up, it could send a payload over MQTT with the times of "up" and "down" events, it could also send other cached data, (temp, location, photos) once there is a network connection again.</p>
<p dir="auto">I could use this in my car, geo-tagging photos taken while driving, caching everything locally, then when I pull into the garage, it offloads everything once the network connection is reestablished.</p>
]]></description><link>http://community.onion.io/topic/3456/how-to-monitor-network-connectivity</link><guid isPermaLink="true">http://community.onion.io/topic/3456/how-to-monitor-network-connectivity</guid><dc:creator><![CDATA[Daniel OBrien]]></dc:creator><pubDate>Wed, 13 Feb 2019 18:25:28 GMT</pubDate></item><item><title><![CDATA[DHCP Options fields]]></title><description><![CDATA[<p dir="auto">Is there a way to get at DHCP option content once booted? I'm looking around etc and whatnot, but am not able to find anything specific? I'm trying to pass an MQTT server address via DHCP so I can "discover" it.</p>
<p dir="auto">Or, another possibility, how do I get the Onion to resolve .local addresses? If this is a problem local to me, so be it, but I can resolve mosquitto.local on my other linux and Mac boxes, but not my Onions. That would also allow me to solve the problem quickly.</p>
]]></description><link>http://community.onion.io/topic/3412/dhcp-options-fields</link><guid isPermaLink="true">http://community.onion.io/topic/3412/dhcp-options-fields</guid><dc:creator><![CDATA[Peter Buelow]]></dc:creator><pubDate>Thu, 17 Jan 2019 13:29:46 GMT</pubDate></item><item><title><![CDATA[How to create myomega.local and bind to DHCP IP ?]]></title><description><![CDATA[Did you ever figure this out? I think if you just want a server running, install the latest firmware, and you have one running. Connect your omega to a local wifi network, and you have a .local available address on your subnet. I do this as I use an Omega2 as my MQTT server for my local network. I changed my hostname to mosquitto and now through my network via the web console app and I can connect to this server using mosquitto.local from other hosts. It doesn't take a lot of setup.
Or, was your question related to something else?
]]></description><link>http://community.onion.io/topic/3145/how-to-create-myomega-local-and-bind-to-dhcp-ip</link><guid isPermaLink="true">http://community.onion.io/topic/3145/how-to-create-myomega-local-and-bind-to-dhcp-ip</guid><dc:creator><![CDATA[Peter Buelow]]></dc:creator><pubDate>Thu, 17 Jan 2019 16:18:43 GMT</pubDate></item><item><title><![CDATA[Omega Onion connecting to Cloud Cloud IoT]]></title><description><![CDATA[@Lazar-Demin --
Thanks for the shout-out!
I didn't receive an email when you posted to this topic 
Yes, I'll revise the post to move the working content to the top.
So, may we have Google Cloud Platform added to your Connecting to Cloud Platforms?
Onioneer, yes! 
]]></description><link>http://community.onion.io/topic/2858/omega-onion-connecting-to-cloud-cloud-iot</link><guid isPermaLink="true">http://community.onion.io/topic/2858/omega-onion-connecting-to-cloud-cloud-iot</guid><dc:creator><![CDATA[Daz Wilkin]]></dc:creator><pubDate>Wed, 30 May 2018 03:09:31 GMT</pubDate></item><item><title><![CDATA[Losant + Onion Omega2 Single command not connecting....]]></title><description><![CDATA[<p dir="auto">Hi.</p>
<p dir="auto">I have succesfully entered the device id, access id &amp; access key.</p>
<p dir="auto">However when I run the subscribe command.  The losant is not changing its status.</p>
<p dir="auto">"Awaiting first connection to Losant .."</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/95">@Lazar-Demin</a> I dont think it is connecting to the mqtt ...</p>
]]></description><link>http://community.onion.io/topic/2519/losant-onion-omega2-single-command-not-connecting</link><guid isPermaLink="true">http://community.onion.io/topic/2519/losant-onion-omega2-single-command-not-connecting</guid><dc:creator><![CDATA[k t]]></dc:creator><pubDate>Tue, 21 Nov 2017 14:54:36 GMT</pubDate></item><item><title><![CDATA[paho-mqtt python]]></title><description><![CDATA[@k-t The fix for this is in our Docs!
See https://docs.onion.io/omega2-docs/installing-and-using-python.html#using-pip-to-install-python-modules
Specifically look at the section entitled: Fixing the Setup Tools Issue
]]></description><link>http://community.onion.io/topic/2278/paho-mqtt-python</link><guid isPermaLink="true">http://community.onion.io/topic/2278/paho-mqtt-python</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Wed, 23 Aug 2017 21:48:29 GMT</pubDate></item><item><title><![CDATA[MQTT stupid beginner question (react on subscription)]]></title><description><![CDATA[I've just gotten my Omega 2 board today, and I'm thinking along very similar lines — I want my Onion boards to either send MQTT messages when something happens to their connected hardware, or do something with that hardware according to MQTT messages received.
Like you (Sebastian), I see no point in running an MQTT broker on the device — the broker will be elsewhere; these are edge devices that should merely be MQTT clients.
I see you solved it by using some clever files and shell scripting.  But did you consider using Python?  From other threads, it looks like paho-mqtt can be installed for python, which should make it pretty easy (and possibly more efficient) to subscribe to topics and do stuff in response (or conversely, to publish MQTT messages in reaction to anything you can sense in Python).
Just wondering if I am somehow barking up the wrong tree, or whether this is a sensible way to do it.
]]></description><link>http://community.onion.io/topic/2220/mqtt-stupid-beginner-question-react-on-subscription</link><guid isPermaLink="true">http://community.onion.io/topic/2220/mqtt-stupid-beginner-question-react-on-subscription</guid><dc:creator><![CDATA[Joe Strout]]></dc:creator><pubDate>Mon, 30 Oct 2017 15:17:51 GMT</pubDate></item><item><title><![CDATA[Error 12 out of memory pip install paho_mqtt]]></title><description><![CDATA[Many others fail the same way, it's just not enough juice. If the package does not have C code to compile you may try to just use it "as is" from directory in PYTHONPATH.
]]></description><link>http://community.onion.io/topic/1944/error-12-out-of-memory-pip-install-paho_mqtt</link><guid isPermaLink="true">http://community.onion.io/topic/1944/error-12-out-of-memory-pip-install-paho_mqtt</guid><dc:creator><![CDATA[Jarek Zgoda]]></dc:creator><pubDate>Tue, 16 May 2017 09:26:39 GMT</pubDate></item><item><title><![CDATA[MQTT relay [MQTT] &quot;Omega2&quot;]]></title><description><![CDATA[@Mar-Adrian-Belen Our Omega2 Kits are a good place to start learning electronics: https://onion.io/kits/
Note that this is an Advanced Project and can be dangerous if not handled and wired properly. Proceed at your own risk.
However, if the instructions are followed precisely and carefully, it is definitely doable.
]]></description><link>http://community.onion.io/topic/1899/mqtt-relay-mqtt-omega2</link><guid isPermaLink="true">http://community.onion.io/topic/1899/mqtt-relay-mqtt-omega2</guid><dc:creator><![CDATA[Lazar Demin]]></dc:creator><pubDate>Tue, 15 Aug 2017 16:18:13 GMT</pubDate></item><item><title><![CDATA[Omega2 overclocking MT7688, heatsink]]></title><description><![CDATA[<p dir="auto">Can the MT7688 be overclocked and by how much?<br />
Would a cheap self adhesive Ali Express heatsink prevent overheating?</p>
<p dir="auto">Would overclocking need any special drivers, and what are benefits, e.g., better processing speeds?</p>
]]></description><link>http://community.onion.io/topic/1468/omega2-overclocking-mt7688-heatsink</link><guid isPermaLink="true">http://community.onion.io/topic/1468/omega2-overclocking-mt7688-heatsink</guid><dc:creator><![CDATA[Athar Mian]]></dc:creator><pubDate>Thu, 26 Jan 2017 14:44:39 GMT</pubDate></item><item><title><![CDATA[MQTT]]></title><description><![CDATA[@luz Thanks for correction.
]]></description><link>http://community.onion.io/topic/1176/mqtt</link><guid isPermaLink="true">http://community.onion.io/topic/1176/mqtt</guid><dc:creator><![CDATA[Claus Kühnel]]></dc:creator><pubDate>Wed, 01 Feb 2017 17:19:35 GMT</pubDate></item><item><title><![CDATA[Control of mosquitto&#x2F;MQTT]]></title><description><![CDATA[@mark-doutre Thanks - found that.   Though I think it would still be good if there was a more direct method of stopping it.
Regarding the running of the broker on the Omega, I agree with your comment.  So far I have just been playing with MQTT and having a local broker under one's own control is a valuable part of getting to understand it all.  In the real world, using a separate broker somewhere else is probably the way to go.
Any way, thanks for your interest and comments 
]]></description><link>http://community.onion.io/topic/623/control-of-mosquitto-mqtt</link><guid isPermaLink="true">http://community.onion.io/topic/623/control-of-mosquitto-mqtt</guid><dc:creator><![CDATA[Kit Bishop]]></dc:creator><pubDate>Tue, 15 Mar 2016 09:29:05 GMT</pubDate></item><item><title><![CDATA[For those interested. Working MQTT&#x2F;Rest broker in Node 0.10.5]]></title><description><![CDATA[@Bart-Peperkamp Nice! Thanks for sharing! 
]]></description><link>http://community.onion.io/topic/227/for-those-interested-working-mqtt-rest-broker-in-node-0-10-5</link><guid isPermaLink="true">http://community.onion.io/topic/227/for-those-interested-working-mqtt-rest-broker-in-node-0-10-5</guid><dc:creator><![CDATA[Boken Lin]]></dc:creator><pubDate>Sun, 06 Dec 2015 20:44:17 GMT</pubDate></item></channel></rss>