4 ms·
That's amusing. Everything has to be "cloud" oriented. This is a simple temperature and humidity sensor which requires a web server to which it can report. It
by Animats 10y ago
That's amusing. Everything has to be "cloud" oriented. This is a simple temperature and humidity sensor which requires a web server to which it can report. It can't talk to a local machine, unless it has a local DNS name and routing. How did we manage to screw up networking so bad that you can't talk to a local machine easily?
- joezydeco 10y agoHow would you suggest getting that information (say, a fixed IP address and gateway) into a part that has no user interface and no removable storage? How about after deployment?
- Animats 10y agoThe device here had to be configured with a URL for the user's web server. The real problem is, how do you securely introduce your home devices to each other? Various schemes have been tried - proximity, reading serial numbers off labels, and pushing the "pair" button at both ends at roughly the same time.
- deleted 10y ago[deleted]
- laichzeit0 10y agoIsn't the usual approach for these things to not use IP or wireless at all, but some other simple serial protocol like ZigBee and have them talk to a gateway "controller" that's connected to the outside world? The last time I played with wireless sensor networks that's how it worked, and they can actually form their own mesh network.
- jordz 10y agoThat's still the case indeed.
- Isamu 10y agoZeroconf networking? I've done a bit of that, both Bonjour (Apple) and UPnP (Microsoft). It is doable. I recognize that these things are tiny, but I've worked with extremely limited, real-time devices too - it can be done. https://en.wikipedia.org/wiki/Zero-configuration_networking https://en.wikipedia.org/wiki/Zero-configuration_networking
- CountSessine 10y agoSo the fact that this isn't possible easily is the answer to Animat's question, "how did we screw up networking." As for how I would solve it, it seems like something like mDNS should be in the solution space. But I don't think consumer routers or operating systems make this easy enough.
- Taniwha 10y agoWe have a similar device, using better sensors, runs off 2 AAs (the DH11 is cheap but us not very accurate) - we run in deep sleep to get good battery life - we'll open source it soon. We configure it by making the device an AP an offering up a list of local APs on a tiny web server
- roymurdock 10y agoWell the point of this project was to provide an introduction to IoT sensors, so the main requirement was to connect the sensor to a web server. If you had hundreds of these things connected, and wanted to run analytics, push the data to other devices off the local network, or store the data efficiently then a cloud networking architecture might be exactly what you're looking for. If not, there are plenty of non-IoT sensors you can connect to a local machine or gateway with your choice of wired/wireless comms protocols. You could just leave also just leave this sensor connected to the computer via USB. It wouldn't be practical for much, but it would be simple!