MatterLink

MatterLink

10.9k Downloads

multi gateway

NikkyAI opened this issue ยท 1 comments

commented

support multipl gateways based on

  • position
  • dimension

we also want ot be able to map from gateway (incoming) to dimesnion and location as well as chat range

config sketch:

gateways.json

{
"default": "global",
"mapping": {
  "global": 
   [
     {
       "dimension": 0
     }
   ]
  "gateway1": 
    [
      {
       "x": 123, 
       "y": 456, 
       "z": 678, 
       "range": 90,
       "dimension": 0 
      },
      {
       "dimension": 2
      }
   ]
}
}

missing location / range values would imply to be dimension-global

dimension must be specified to define location restrictions

how do we handle chat in a not defined location ?
options

  • send to the default / global
    how do we handle chat coming back then ? make it all global ?
  • ignore it
    you are in a unmapped area .. maybe that is intended

this does not handle possibilities of priorities.. areas enclosing other areas, etc
for that we would likely need to use rulesengine

commented

this is effectively implemnted with the Locations feature, each location can be configured to receive from / sendt to a different gateway and it can be filtered what is sent / received as well