Most Popular

1500 questions
7
votes
3 answers

Sonoff Dual - Where to find GPIOs

I'm looking for the GPIO's I can use in SonOff Dual ( after flashing my own software ). In SonOff Basic - there are GPIOs to acess LED, Relay, and what is most needed for me - GPIO14 for external input as shown here Since I need 2 Relays solution, I…
guyd
  • 899
  • 9
  • 17
7
votes
1 answer

Philips Hue Out of home control won't log in

I have some Philips Hue bulbs and a Bridge set up in my house. When I am at home the Philips Hue App can connect to and control everything. However, when I am away from home (or simulate such by turning off WiFi on my phone) the App is unable to…
Shevek
  • 279
  • 1
  • 2
  • 7
7
votes
2 answers

Upload measurements with unix script ( RESTful API?)

A thermostat device returns JSON like data from the command line: curl -s http://192.168.X.Y/tstat/humidity {"humidity":51.00} It would be interesting to setup a UNIX cron job to periodically script the upload of the data to a host so that it can…
gatorback
  • 381
  • 1
  • 5
7
votes
1 answer

How could I create an LPG indicator?

The LPG gas is commonly used for cooking, and it is a very common practice to cut off the gas supply by closing the valve. Suppose I am away from my home and I forgot to check whether my LPG supply is cut-off. Is it possible to make a device that…
Chinmaya B
  • 181
  • 8
7
votes
1 answer

KeyError while connectiong to a MQTT broker

This is my code and on the bottom is the error I keep getting. import configparser from time import localtime, strftime import json import paho.mqtt.client as mqtt config = configparser.ConfigParser() config.read('/home/pi/bin/py.conf') #…
pivk95
  • 115
  • 5
7
votes
5 answers

Is it possible to control a home appliance remotely as well as using the switch to which it is connected?

Suppose I want to control my room lights over WiFi using mobile phone. But I also want to control them by using the switches in my room to which they are connected. Is it possible to implement them both? I watched and read a couple of tutorials on…
7
votes
1 answer

mosquitto - persistence configuration options

I want to understand the persistence related options in Mosquitto as described here. To begin with, do these options apply only in case of QoS > 0 and/or retained messages? persistence If true, connection, subscription and message data will be…
cogitoergosum
  • 1,091
  • 7
  • 18
7
votes
2 answers

Solution for IoT web UI

I try to describe my issue with an example. Just imagine, that I manufacture some device and every device has its own ID and optionally some password. Alice as customer bought my device and established it. And Alice wants to control this device and…
Uraty
  • 171
  • 1
7
votes
1 answer

Do simple, wirelessly connected, but not battery powered switches exist?

I can’t find this despite lots of googling: I want to flip a switch in my living room and have every floor lamp turn on also. But I don’t need a remote, I don’t need internet connectivity, I don’t need schedules, and I definitely don’t want anything…
7
votes
1 answer

Cheap PoE board with TCP/IP support

I have a small IoT project where I want a network enabled electrical relay. I do not need full network plug nor linux on it. It just should be small and cheap. I feel smart enough to write a small http server in C/C++ (if required) to change the…
rekire
  • 313
  • 2
  • 11
7
votes
1 answer

How to make mosquitto to update topics in database not from memory?

As suggested in another question, we have added destination path as db and autosave_interval as 3000, but after few days memory is getting reducing automatically. Please let me know if there is any other solution to store in only db file.
bhuva nesh
  • 71
  • 2
7
votes
1 answer

Device authentication

How should I authenticate my device? I have an arduino yun, running an "daemon" on the OpenWRT side. The daemon reads commands from my message broker, executes them, and returns the value. Before communicating with the broker, the device should be…
user6334
7
votes
2 answers

SSH to Raspberry with Windows 10 IoT

I set up a Raspberry Pi 3b with Windows 10 IoT to try it out. In the past I had Linux running and I would just ssh connect to it. However when trying to ssh from powershell to the Windows 10 IoT it would fail with this error: Unable to negotiate…
findusl
  • 213
  • 1
  • 6
7
votes
1 answer

Control Samsung Smart TV (Infrared Remote) via Hue / Zigbee?

Is there any possible way to remote control my Samsung Smart TV (which has an infrared remote) via my Philips Hue system, which communicates over Zigbee? It seems like ORVIBO is producing such stuff, but I can't find any further information, nor a…
Simon
  • 173
  • 5
7
votes
1 answer

Rapid pairing of Bluetooth low energy interface

I'm looking at making a remote control for a custom IoT device using Bluetooth low energy (BLE) and I want the battery in the remote to last a very long time (primary battery, non rechargeable) so I don't want the remote to draw power (at all)…
Josh Wales
  • 93
  • 3