debacleI invited Martin Kollaard to this MUC, because he lets "things" talk XMPP and I'm curious as a cat to learn about it ;-)
Martin KollaardYes, mostly it are computer btw, but doing different things. Mostly it are narrowcasting screens in supermarkets across the country :)
Martin Kollaardsome versions ago it did check every 30 minutes if it is running the latest content, but we wanted to make changes realtime. so we needed a way that makes a stable connection between backend and device.
debacleand this is realised via bots in MUCs?
debacleor direct chat messages between bots?
debacleMartin Kollaard ^
Martin Kollaarddirect messages
Martin Kollaardit started with displays with prices on it, this needs to be able to update fast when there is a wrong price on it :)
Martin Kollaardbut slowly we moved everything to it
debacledoesn't that sound like a perfect fit for PubSub?
Martin KollaardMost of devices do not use the same content, so it was easier not using pubsub
debaclesure, makes sense!
Martin Kollaarddifterent per supermarket, and different per area in supermarket.
Martin KollaardNow we just send json in messages. But I guess it was also possible to use just send stanzas with data or use rpc model.
debacleMartin Kollaard "XEP-0335: JSON Containers"? This is what we will use in my company, but over PubSub.
Martin Kollaardah I did not know that one, is that only for over pubsub?
Martin Kollaardoh can also be used in a iq, ok nice :)
Martin Kollaardwhy is it deferred :(
MattJThings get deferred due to inactivity
MattJIt can be revived if there is interest in it, and if there are enough implementations and feedback from community members, it can get advanced to the next stage
MattJ(from which it will never become deferred)
Martin Kollaardok :)
SouL> sure, makes sense!
Why?
MattJI guess because pubsub is for broadcasting data to multiple entities, but if you just have a single subscriber then you may as well send directly to them
MattJpubsub would have the nice feature that it can persist the data and if you needed to e.g. replace the device, it could fetch the latest published data automatically
MattJand would also solve for any connection reliability issues without needing to resort to MAM
Martin Kollaardoffcourse you can create a pubsub per player, but that is a overhead I think :P
debacleyou could use PEP btw. if every thingy has their own JID, but the thingy owns the node and must give publish permission on PEP - is this even possible?
MattJPretty sure you can affiliate other entities with your PEP service, though I've never seen it done
MattJand obviously the server can always do anything