Probably the shittiest package known to man
- Changes device properties emission to single topic, comma-separated
- Ensures inputs not being modified are still emitting
- Removes submit button
- Fixes live data
- Bugfixes
- Entirely re-works how TUI works
- Adds
initialValue
to inputs and sensors
- Adds
locationID
to topic/config
Input
is nowRandomInput
orArrayInput
depending on how you've configured the input (see example)
- Improves example box on the right
- Adds options for
cameraTopic
,deviceTopic
, andmanagementTopic
- Splits up CLI for later improvements
- Emits scan date
- Adds click to scan in TUI
- New TUI
- Added Camera device
- Fixed emissionRate bug
- Adds ws-discover util
- Mapping of Input values
- Spawns MQTT client for each device
- Increases max device count
- Initial commit
$ npx tibulator ./tibulator.json
Example of tibulator.json
{
"locationID": 1,
"tibboCount": 0,
"tibboTopic": "dev/unit",
"cameraCount": 0,
"cameraTopic": "dev/camera",
"firmwareVersion": "1.0",
"firmwareName": "Test",
"scanRate": 50000,
"sensors": [
{
"type": "HUMIDITY"
},
{
"type": "TEMPERATURE",
"emissionRate": 10000
}
],
"inputs": [
{
"name": "motion",
"probability": 0.5
},
{
"name": "door",
"values": ["opening", "closing", "open", "closed"]
},
{
"name": "armed",
"probability": 0.5,
"trueValue": "yes",
"falseValue": "no",
"initialValue": "yes"
},
{
"name": "alarm",
"values": ["DOOR", "MOTION", "HUMIDITY", "TEMPERATURE", "NORMAL"],
"initialValue": "NORMAL"
}
],
"mqtt": {
"options": {
"url": "mqtt://mqtt.vipbackend.com",
"username": "prostor-api",
"password": "password"
},
"rootTopic": "prostor-test"
}
}