MCPcopy Index your code
hub / github.com/cisco/senml

github.com/cisco/senml @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
43 symbols 116 edges 4 files 5 documented · 12% updated 5y ago★ 3820 open issues

Browse by type

Functions 37 Types & classes 6
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

senmlCat

Tool to convert SenML between formats and act as gateway server to other services

usage

convert JSON SenML to XML

senmlCat -json -i data.json > data.xml

convert JSON SenML to CBOR

senmlCat.go -ijson -cbor data.json > data.cbor

convert to Excel spreadsheet CSV file

senmlCat -expand -ijsons -csv -print data.json > foo.csv

Note that this moves times to excel times that are days since 1900

listen for posts of SenML in JSON and send to influxdb

This listens on port 880 then writes to an influx instance at localhost where to the database called "junk"

The -expand is needed to expand base values into each line of the Line Protocol

senmlCat -ijsons -http 8880 -expand -linp -print -post http://localhost:8086/write?db=junk

Docker

Core symbols most depended-on inside this repo

Shape

Function 31
Method 6
Struct 4
TypeAlias 2

Languages

Go100%

Modules by API surface

senml_test.go19 symbols
senml.go15 symbols
cmd/senmlServer/senmlServer.go5 symbols
cmd/senmlCat/senmlCat.go4 symbols

For agents

$ claude mcp add senml \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page