question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I’ve added homebridge/to/set/reachability

topic: homebridge/to/set/reachability
payload: {"name": "flex_lamp", "reachable": true}
or
payload: {"name": "flex_lamp", "reachable": false}

Please install from GitHub:

sudo npm install -g cflurin/homebridge-mqtt

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:15 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
ArnieXcommented, Oct 24, 2016

@tvillingett that is a good idea and less overkill than pinging the device every 60second.

1reaction
tvillingettcommented, Oct 20, 2016

@ArnieX maybe you can use a “last Will and Testament” if your mqtt client supports that, which helps to see if it is unreachable, instead of writing extra client code. See example of use: http://www.hivemq.com/blog/mqtt-essentials-part-9-last-will-and-testament

Read more comments on GitHub >

github_iconTop Results From Across the Web

Reach the top of the iPhone screen with one hand
Use Reachability to lower the top half of the iPhone screen and make it more easily accessible with one hand.
Read more >
What Is Reachability Mode on iPhone, and How Do You Use It?
Luckily, Apple created a feature called “Reachability” that virtually lowers the upper portion of the screen so you can reach it.
Read more >
Reachability - Wikipedia
In graph theory, reachability refers to the ability to get from one vertex to another within a graph. A vertex s {\displaystyle s}...
Read more >
How to turn on Reachability on iPhone - iMore
Swipe up on the bottom edge of the screen or tap the blank space at the top of the screen to return to...
Read more >
reachability - Wiktionary
NounEdit · (uncountable) The condition of being reachable · (countable, mathematics) The extent to which a node in a graph is reachable from...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found