Giter VIP home page Giter VIP logo

Comments (13)

geoffwhittington avatar geoffwhittington commented on August 18, 2024 1

Cool ! I'm thinking of pushing this up and iterating over it

image

from meshtastic-matrix-relay.

vchrizz avatar vchrizz commented on August 18, 2024 1

Ah, sorry, I didn't know you implemented that as plugins and expected the functionality to be enabled already. After I added them to the config, it works perfectly!
Thank you very much! Works really great!
Maybe you want to add all the plugins (but disabled by default) to the sample_config.yaml ?

from meshtastic-matrix-relay.

geoffwhittington avatar geoffwhittington commented on August 18, 2024

Thanks for sharing your idea - can you provide a mock output example ?

from meshtastic-matrix-relay.

vchrizz avatar vchrizz commented on August 18, 2024

I am not sure what data can be optained or what data you are able to get from the device, whatever data can be shown could be interesting. Maybe something like that:

Nodes: $nodecount
$shortname $longname / $devicemodel / $battery $voltage / $rssi $snr / $lastseen [ / $optional telemetry data like gps, temperature, pressure, whatever the device provides]

for example:
input:

@botName: !nodes

bot output:

Nodes: 5
2f8d CHiLtastic_2f8d / t-echo / 92% 4,07V / 6,0 / now / 48.24425 16.36195 / 24,6°C / 39% 991,6hPa
641c hei76tastic_641c / t-beam v1.1 / 98% 4,13V / -50 7,0 / 2 min
a212 Solartastic_a212 / rak4631 / 73% 3,96V / -52 6,0 / 12 min
b38c hei76rooftastic_b38c / t-beam v0.7 / 55% 3,82V / -77 6,5 / now / 48.24453 16.36211
ec6d Meshtastic_ec6d / rak4631 / 98% 4,13V / -76 6,5 / 3 min

Thank you!

from meshtastic-matrix-relay.

geoffwhittington avatar geoffwhittington commented on August 18, 2024

The challenge with this rendering is that mobile doesn't support tables. Is the intended use case for desktop or mobile? If the target use case is mobile, tables are not a good fit. Your example above is a better choice I think

from meshtastic-matrix-relay.

geoffwhittington avatar geoffwhittington commented on August 18, 2024

What do you think of

image

from meshtastic-matrix-relay.

vchrizz avatar vchrizz commented on August 18, 2024

I didn't even know that tables are possible. How does a table look like on mobile if tables are not supported?
I would see the target use case generic for every device. Depending if the table on mobile is somewhat readable, you could implement it as table and wait for the table-implementation on mobile. Or implement it as simple text and optimize as table as soon as table is supported on mobile.

Your screenshot looks nice, just that I would put every device in an own line.

from meshtastic-matrix-relay.

geoffwhittington avatar geoffwhittington commented on August 18, 2024

image

from meshtastic-matrix-relay.

vchrizz avatar vchrizz commented on August 18, 2024

👍 great! Maybe add some description, add V to battery and dB to snr to know what the values mean :)

from meshtastic-matrix-relay.

geoffwhittington avatar geoffwhittington commented on August 18, 2024

I've pushed up an initial implementation that is available in 0.3.22

There are some missing data points like GPS location. I'm not jazzed about sharing that private detail in public locations but perhaps owners know best. I'm happy to discuss further

from meshtastic-matrix-relay.

geoffwhittington avatar geoffwhittington commented on August 18, 2024

Thank-you for your idea submission!

from meshtastic-matrix-relay.

vchrizz avatar vchrizz commented on August 18, 2024

Thank you for the update, I tried using the source from the repo, but for some reason it does not work. I wondered why it does not work and to be sure I downloaded the release you mentioned and installed it again from scratch, but still it does not work. When I send @botname: !help or @botname: !nodes in the matrix room the bot just sends this as typical message over to meshtastic.

from meshtastic-matrix-relay.

geoffwhittington avatar geoffwhittington commented on August 18, 2024

Have you activated both plugins in your config.yaml file?

from meshtastic-matrix-relay.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.