Belkin WeMo devices use uPnP and SOAP messages for control so can be easily controlled from any number of languages and options. Some details on the work I've done working out the protocol can be found here
There are also the Sonoff devices that can be flashed with firmware to allow them to be controlled using MQTT
IKEA's new TRÅDFRI light system use CoAP (...
Any read/write operations will be slower. However, if you don't want to stream Full HD videos or other heavy content that requires that kind of data transmission rates you'll be fine. Most of the time people just tend to recommend the new stuff. Especially in IoT surroundings just using the one that is enough is often better since it's often using less ...
Turns out there is no broker running on the Arch system whereas installing mosquitto on Raspbian automatically starts it. Simply enable and start the broker.
Start the systemd service.
systemctl start mosquitto
Enable the systemd service to run on boot.
systemctl enable mosquitto
The solution is to install mosquitto-clients as well.
pi@raspberrypi:/ $ apt-get install mosquitto-clients
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
The following NEW packages will be installed:
libc-ares2 libmosquitto1 mosquitto-...
Most cellular providers use Private IP (RFC-1918) ranges (e.g. 10.0.0.0/8) and NAT for their networks which means it is not possible to directly access a device connected via these networks remotely as it is behind a proxy server. Even if they are using fully routed networks the IP addresses are handed out dynamically and can change at any time.
Having said ...
After some further investigation, I think the issue in the question is that although the power (rate of energy transfer) was reduced, the overall energy consumption was increased by using Docker, so there is no benefit in terms of reduced electricity costs.
Based on the paper's figures for 100,000 requests, we can calculate the energy usage through the ...
Question 2.) Are there any other ideas that anyone can think of to solve this - even crazy ideas like XSS vectors to PUSH content into the captive portal from external servers?
If I may suggest, you consider using the AllJoyn framework?
runs on the local network.
enables devices and apps to advertise and discover each other
Looking at your problem ...
There are 4 standard SDA ratings that I'm aware of: 2, 4, 6, and 10. Basically, the number corresponds to the minimum write speed in MB/s that the card is capable. So for instance, a Class 4 would have a minimum write speed of 4 MB/s, whereas a Class 10 would have a minimum write speed of 10 MB/s.
As Helmar mentioned, this means that the Class 4 will be ...
The Raspberry Pi Zero (and Model A) have just one USB port and as such can be used in device mode (it's the USB hub used to give the extra ports and the ethernet that stops the USB controller working device mode on the bigger raspberry pis).
There are several guides online to using a Pi Zero in "USB Gadget" mode
CTS and RTS are for flow signaling (Clear To Send) and (Request To Send). If you want to use 4 pins and you find out nothing is flowing through, you may want to pull CTS down to GND.
In one post OP claimed I have the Arduinos communicating properly without these pins in use.. There OP had Arduinos communicating, they at least can survive without flow ...
Right click on Computer and open Properties.
Select Advanced System Properties
Click Advanced tab
Under Performance, click Settings
Under Performance Options, click Advanced tab
Here under Virtual memory pane, select Change
Uncheck Automatically manage paging file size for all drives
Highlight your system drive
Select Custom size
Change the Initial size ...
There are sooooo many ways to do what you ask for.
There are proprietary solutions with API's and there are Open solutions with total openness.
Your question is broad and hard to give a straight answer depending on what your criteria is like: the size of your wallet, technical spec, availability in your market your preferences on color and so on.
If you ...
There are several ways that you can create a modified distro, and the best approach will depend on your environment and how you anticipate that evolving over time.
Yocto is good if you need to apply some patches and build your own custom kernel/distribution. It seems like you are not working at this level.
Package Managers would be good if you want to be ...
One of the choices for creating Embedded Linux distributions is Yocto.
Yocto is open source collaboration project that provides templates, tools and methods to help you create custom Linux-based systems for embedded products regardless of the hardware architecture.
When someone/device manufacturer uses Yocto to create the Linux distro, they may choose to ...
A Full sized Raspberry Pi ( not a Pi Zero or Pi A) with more than 1 USB port can not act as a USB device. This is because to get 4 USB ports the USB controller is hard wired to a USB hub on the board.
This means that when you plug the iPad into the Pi the iPad will act as the peripheral, not the host a it would when you plugged a printer directly into the ...
Precise Description for the Query
Initial NTP time sync
In the Yocto build system under conf/local.conf add ntp recipe as follows:
IMAGE_INSTALL_append = " ntp"
on Target board initially stop the systemd service:
systemctl stop ntp
Assuming board is connected to the internet:
Info: Check time using date
For safe side also sync the ...
Don't try and solve this with trying to connect to the device the wrong way through NAT.
Approach this the other way round, have the device connect out to a known point (e.g. a cloud host) which can then be used to connect back to the device. e.g. Have a button/config option on the device that starts the VPN connection to a known point when you want to do ...
The local work-around for me was run rng-tools directly from rc.local:
$ cat /etc/rc.local
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
# In order to enable or disable this script just change the execution
# By ...
Mediatek provide it's own binary wifi driver in its feeds based on old 15.05 OpenWrt version. It seems not updated since years (https://github.com/MediaTek-Labs/linkit-smart-7688-feed). Hard to know it they still support it or not.
Luckily, some nice people build a new driver, more open called mt76 (https://github.com/openwrt/mt76). It's included in OpenWrt ...
If I get your question correctly, you want to gather data from the IoT devices using a serial protocol over rs232/485. and then send this data onto some remote server using the cellular data.
If that is the case then you could use a gsm modem to connect and send data over the cellular data network (gprs). This is a standard practice. It would look something ...
You are facing these build errors as you are missing the sysroot corresponding to the arm-gcc that you are using as your CC.
You may try changing the Makefile as follows:
diff --git a/Makefile b/Makefile
index 49cbb13..1123f27 100755
@@ -67,7 +67,7 @@ endif
-CC ?= gcc
+CC ?= /path/to/arm-linux-gnueabi/...
In order to use USB gadget mode, you either need two USB controllers native on the device (so one can act as master, and one as slave), or all of the other peripherals (Bluetooth, Wifi, Ethernet, Keyboard, etc) will need to be connected by serial, SPI or something similar.
Since the 'normal' use case of a single board Linux computer will be to support some ...
Assuming you need to handle firmware updates (otherwise, you're insecure by default) then you will also need to sign the updates (and manage updates in a secure way). Otherwise, an attacker can simply present your device with a compromised update package. Clearly, if you do this, you make it impossible for the user to apply firmware updates in the same way, ...
Great question! Several things you should keep in mind.
1. Default passwords
This is really basic, and you've probably already thought of it, but let me reiterate: default or easy passwords are deadly. When I asked this question, I learned that the way the Mirai worm works is simply to attack via default usernames and passwords. Whatever you do, do not ...
I'll bet ESP-Now frames can be sniffed by tshark using something like tshark -n -l -i wlp0s29u1u2 -I -y IEEE802_11_RADIO (add a -t type such as ek or json), then add a filter like -Y 'wlan.fc.type_subtype eq 4' to find the packets you want.
You can use any wireless-aware packet injection tool to send WiFi packets. (i.e. Scapy)
If you're looking to keep clutter off of your wifi network, you could use Z-Wave or Zigbee lights (bulbs, sockets, or switches). Each of those network protocols can be run using a USB controller that would plug into your Linux machine. Both standards have active open-source communities. As MatsK said, it is pretty easy to integrate those into power scripts ...
If I am not wrong in understanding you question, You are trying to connect to the broker via a device which is not on the same network as the broker is.
If that's the case then the thing is that MQTT broker is present only in your private network and it's not public even if you know the public IP as the public IP address is handled by NAT on your router.
From sensors you can register a listener to sensor events  and on every value you send it to a ByteArrayWriter/Listener pair over socket connection .
Socket needs only WLAN from the gateway, the rest of it is java code .
Complete solution needs some coding effort with the building blocks I gave.
This depends on the WiFi adapter you are using; some grant this level of access, others do not, or at least not in any documented or discovered way.
Given that the ESP-series modules are comparable in price to USB WiFi adapters and without the concern of a vendor changing the internals without changing the part number, if you don't need other networking or ...
paraphrased from my answer here:
You could use the Belkin Wemo Light Switch, if you can find one (apparently Belkin aren't making new ones any more).
The initial configuration has to be done using the Belkin Wemo phone app, but once it's connected to your wireless network then you can forget the app and use Home Assistant instead.
I personally run Home ...