Rust+ companion app and smart devices?
So I found the one plugin for this new feature, the Rust+ is default enabled on all servers as long as your firewall port 28082 is open. The tabs give
  • Server Info: Title/Name, Desc, Image, Players, Mapsize
  • Map: Active live map! Crates, heli's, last corpse, etc.
  • Team: Chat to teammmemers
  • Devices.....

So devices seems the forsure place to mod since there's already a mod for basic dmg/destroy=notification. Tested that plugin and its cool. So most info i can find on Devices just name the `Smart Switch` and ramble on imagination and creativity but what 'could' be configured via the Devices Tab on the Rust+ Companion App out of the box (vanilla). I'm assuming tripwires/lazers for an alarm system would be a configuration. or maybe an inner circle of turrets to save on power until outer layer is breached. idk thoughts on more vanilla setups to give modders ideas to launch from?

I know the mod I'm most interested in snagging/making is cctv -> rust+ but streaming the video feed and pushing text notifications are two completely diff things so probably just a pipe dream.

What's your question? )
5df88d179ce26.jpg AVOCoder
What's your question? )

 "I'm most interested in snagging/making is cctv -> rust+ but streaming the video feed and pushing text notifications are two completely diff things so probably just a pipe dream." (c) TC

Main question is WTH to do with the devices tab, cuz the only mod on uMod for the Rust+ App uses the global android/ios notifications not the inapp device tab/etc. Online sites just talk about creativity of configurations but what vanilla uses have people found to use this for? trying to see what aspects or info could be pushed through the notifications or require entities like the smart switch/alarm but for custom device mods. Or just people's general thoughts on aspects of the Rust+ app that could be integrated with mods. Like devices is mainly what i'm thinking but maybe peeps have other idea's on the team tab or map labels or idk. Just didnt find another post on brainstorming on the mobile app. It wasn't really a specific question on anything more or less brainstorming specifically about the Rust+ Companion App for Android/iOS.

I was experimenting with modding the smart devices about 2 months ago but got side tracked. My initial idea, for which I implemented a proof of concept, was to be able to pair a TC as a "virtual" smart alarm. Then you could configure preferences about which types of notifications you want, like when the base is damaged, when a turret has a target, when a HBHF sensor detects a player, etc. Other players could pair the same base and have separate notification preferences.

One thing I noticed is that the notifications/subscriptions are basically separate from the alarms. For example, notifications for smart alarms are throttled to at most every 30 seconds (though you can bypass this), but the state of the smart alarm devices in the App can toggle on/off more frequently. As far as I can tell, when you pair a smart alarm/switch, it sends entity info to the Rust+ Companion Server which will query the game server periodically for the status.

Natively, players can mute notifications for a single alarm via the App, and this behavior would be good to preserve to avoid issues where players are unable to mute an alarm unless in the server (only alternative is to mute the whole server). From what I remember, muting/unmuting actually sends messages to subscribe/unsubscribe of the underlying notification list of the alarm entity. I was thinking we could do a hybrid where you get the mute ability of alarms, but also custom notifications (just have to check the subscription before sending notifications outside of the alarm entity). Since I had trouble using fake entities, I was planning on just creating real smart alarm entities when players pair TCs, then use a separate method to send the actual notifications so I can have separate cooldowns per type of notification for instance.

I was also thinking about use cases such as having multiple TCs roll up to the same alarm, and/or inversely having only individual devices like turrets have their own alarms (would like to support both variants). I was thinking of calling the plugin Rust++, allowing pairing of theoretically any entity, possibly through an extensible plugin API so that other plugins can define the implementation details of each entity type without requiring the main plugin to support everything directly.

okok so that query is the key. Most recent thought I had on it is that the Toggle could activate "modes" that could set base into... farming, smelting, defense, and like a low-energy/airplane mode ^_^

I believe the limit for the Rust+ app is 3 smart devices per server (it'd be legit if that were moddable), but to make use of 3 togglable switches was thinking like a macro key the modded smart switch could actually activate/deactivate many smart switches.