gotthardp / lorawan-server

Compact server for private LoRaWAN networks
https://gotthardp.github.io/lorawan-server
MIT License
950 stars 327 forks source link

PUBNUB connection #536

Open arigus opened 5 years ago

arigus commented 5 years ago

Hi Petr, Do you have plan on PubNub connection? Any advice if i'd like to connect to IBM Bluemix via PubNub. Best Regards!

gotthardp commented 5 years ago

Hello. There appears to be a PubNub client in Erlang, which may make thing easier. https://github.com/tsloughter/epubnub

Is this the kind of PubNub you're looking for?

arigus commented 5 years ago

Yes, and i'd like to test. Would you include PubNub client?

gotthardp commented 5 years ago

How widely used it is? It the first time I hear about this protocol.

arigus commented 5 years ago

Each message sent to PubNub DSN will be delivered across 15 locations covering Asia, Europe, and Americas. Backed by 99.999 percent SLA, these messages are guaranteed to be delivered within 250ms anywhere in the world. And more interesting use case is functions, that could be trigger alarm send to other device while sending message to the cloud.

gotthardp commented 5 years ago

Yeah, but I wonder how many users would benefit from this.

arigus commented 5 years ago

I'm not sure, but should be nice if it includes in server connection flower, loriot has it.

arigus commented 5 years ago

done with mqtt://mqtt.pndsn.com:1883 in connector. PubNub supports MQTT too.