liamcottle / rustplus.js

Unofficial NodeJS library for controlling Smart Switches in the PC game Rust
232 stars 47 forks source link

How to list entities and/or get entity ids #6

Closed Tomcu closed 3 years ago

Tomcu commented 3 years ago

First thanks for this work, it's pretty cool.

I'm wondering if you can provide some examples on how to get entity ids. I've paired and am able to do things like send a team message, but I want to react to smart alarms and I can't see how to find the entity id. Also, are the entities a poll mechanism as opposed to an event?

Tomcu commented 3 years ago

Nevermind, I see you have to be running the pair app whenever you intend to pair with a smart device and snag the entity id from there.