INSTEON built a reliable and secure realtime home automation solution using PubNub
pubnub.publish(
"light465_brightness ",
"dim",
callback );
[PubNub sendMessage:@"dim"
toChannel:light465_brightness
];
pubnub.publish({
channel : "light465_brightness ",
message : "dim" });
pubnub.Publish <string>(
channel="light465_brightness ",
publishMsg="dim" );
/***************
For all other languages,
check out the 70+ SDKs that PubNub supports
on our documentation page:
https://www.pubnub.com/documentation/
****************/
pubnub.subscribe(
"light465_brightness",
callback );
[PubNub subscribeOnChannel:light465_brightness];
pubnub.subscribe({
channel : "light465_brightness ",
message : callback });
pubnub.Subscribe <string>(
channel= "light465_brightness ",
callback );
/***************
For all other languages,
check out the 70+ SDKs that PubNub supports
on our documentation page:
https://www.pubnub.com/documentation/
****************/