News for hackers. Stuff that matters.
Re:Mozilla announces an open gateway for the internet of things by eggpy on Tuesday February 06, 2018 @06:34PM (#16321003)
Can't this already be accomplished via XMPP? The protocol already exists, you just need to register devices to services. I know people don't love xmpp, but it seems like this is already an open source gateway that can manage IOT. Why do we need to create a "new open standard"?

[0] https://xmpp.org/uses/internet-of-things.html

Re:Mozilla announces an open gateway for the internet of things by throwawayfinal on Tuesday February 06, 2018 @07:00PM (#16321146)
People don't love XMPP for a lot of reasons. Some of those reasons apply to IoT. Some reasons, like having to maintain state, are IoT specific.

Besides that, bandwidth and code complexity is a very real concern. MQTT, a lightweight message passing protocol, has become the de facto default.

Re:Mozilla announces an open gateway for the internet of things by fmntf on Tuesday February 06, 2018 @07:09PM (#16321199)
So true. We switched to MQTT (abandoning websockets and other protocols) to save (a lot of) network bandwidth.
Re:Mozilla announces an open gateway for the internet of things by ramzyo on Tuesday February 06, 2018 @11:16PM (#16322210)
Do you mean you were using MQTT over websockets before, and you've since moved to pure MQTT (still over TCP), without websockets in between? Are you sure websockets were the cause of your network bandwidth issues?
Re:Mozilla announces an open gateway for the internet of things by fmntf on Wednesday February 07, 2018 @02:22AM (#16322810)
I'm on a different team, AFAIK we where using simple JSON payloads on websocket connections. Dropping websockets and switching to MQTT saved a lot of bandwidth. I can ask for precise numbers or details if you wish.
Re:Mozilla announces an open gateway for the internet of things by solarkraft on Wednesday February 07, 2018 @06:16AM (#16323698)
I'm interested.
Re:Mozilla announces an open gateway for the internet of things by samstave on Tuesday February 06, 2018 @09:28PM (#16321828)
Please expand
Re:Mozilla announces an open gateway for the internet of things by icebraining on Tuesday February 06, 2018 @07:01PM (#16321154)
Running XMPP on an ESP8266 or similar is probably not a great experience. MQTT is a more adequate protocol if you want to save processing time and memory (and hence energy).
Re:Mozilla announces an open gateway for the internet of things by azinman2 on Tuesday February 06, 2018 @06:47PM (#16321070)
It’s a really complicated standard with all kinds of components, optional components, prorietary extensions, etc. Plus it has a lot of overhead in every packet.

I don’t know how many vendors use this IoT flavor of XMPP but my guess would be not many. Implementing it on a micro controller would not be fun.

Re:Mozilla announces an open gateway for the internet of things by ianburrell on Tuesday February 06, 2018 @07:29PM (#16321297)
Is there XMPP XEP for controlling devices? The "things" section of that site is empty. Need standardized messages for controlling devices. That is what HTTP Web Things API provides. The Web Things API could probably be adapted to XMPP. But HTTP has taken over the world.
Re:Mozilla announces an open gateway for the internet of things by Flowdalic on Wednesday February 07, 2018 @02:55AM (#16322901)
I would recommend XEP-0050: Ad-Hoc Commands [1] for this.

1: https://xmpp.org/extensions/xep-0050.html

Re:Mozilla announces an open gateway for the internet of things by tfar on Wednesday February 07, 2018 @02:55AM (#16322899)
One example is shown in this 2017 FOSDEM talk: https://archive.fosdem.org/2017/schedule/event/xmpp_iot/