A simple server to capture incoming data from fermentation tracking hydrometers.
Supported:
- ISpindle
- Tilt
Add console command to run tcp serverImplement dispatch ofAddDataCommand
in consoleImplement projections forHydrometerDataReceivedEvent
(just save to a json file named by hydrometer-id)Implement displaying data withc3.js
- Document event flows
Give better instructions onnew hydrometer
page.- Add and implement
DataArchivedEvent
(just copy the data to a newly generated id)
Push to tcp:
telnet 127.0.0.1 10860
telnet 127.0.0.1 10860 <<JSON
{
"name": "eSpindel",
"ID": "123456",
"angle": 71.10,
"temperature": 18.25,
"battery": 5.54,
"gravity": 12.89,
"token": "01HQ1E4H91MNFPPH905TMN8BDJ"
}
JSON
telnet 127.0.0.1 10860 <<JSON
{
"name": "eSpindel",
"ID": "123456",
"angle": 65.0,
"temperature": 18.00,
"battery": 5.54,
"gravity": 10.98,
"token": "01HQ1E4H91MNFPPH905TMN8BDJ"
}
JSON
telnet 127.0.0.1 10860 <<JSON
{
"name": "eSpindel",
"ID": "123456",
"angle": 54.32,
"temperature": 20.00,
"battery": 5.54,
"gravity": 7.65,
"token": "01HQ1E4H91MNFPPH905TMN8BDJ"
}
JSON
telnet 127.0.0.1 10860 <<JSON
{
"name": "eSpindel",
"ID": "123456",
"angle": 35.67,
"temperature": 10.00,
"battery": 5.54,
"gravity": 4.32,
"token": "01HQ1E4H91MNFPPH905TMN8BDJ"
}
JSON