ckrack / hydrometer-public-server
Public server for electronic hydrometers for homebrewing
Installs: 21
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 1
Open Issues: 11
Type:project
Requires
- php: ^7.1
- adamwathan/bootforms: ^0.8.5
- beberlei/doctrineextensions: ^1.0
- ckrack/slim-league-container-bridge: ^3.1
- dflydev/fig-cookies: ^1.0
- doctrine/orm: ^2.5
- gedmo/doctrine-extensions: ^2.4
- jenssegers/date: ^3.2
- jenssegers/optimus: ^0.2.3
- league/oauth2-facebook: ^2.0
- league/oauth2-google: ^2.0
- monolog/monolog: ^1.22
- phpseclib/phpseclib: ^2.0
- projek-xyz/slim-plates: ^0.2.2
- slim/slim: ^3.7
- vlucas/phpdotenv: ^2.4
- vlucas/valitron: ^1.4
Requires (Dev)
- phpunit/phpunit: >=4.8 < 6.0
- dev-main
- dev-develop
- 1.0.0
- 0.1.2
- v0.1.1
- dev-dependabot/composer/main/phpstan/phpstan-symfony-1.4.3
- dev-dependabot/composer/main/phpstan/phpstan-doctrine-1.4.1
- dev-dependabot/composer/main/phpstan/phpstan-1.11.2
- dev-dependabot/composer/main/doctrine/orm-3.2.0
- dev-dependabot/composer/main/rector/rector-1.1.0
- dev-dependabot/composer/main/symfony/maker-bundle-1.59.1
- dev-dependabot/composer/main/doctrine/doctrine-bundle-2.12.0
- dev-dependabot/composer/main/symfony/flex-2.4.5
- dev-dependabot/composer/main/doctrine/dbal-4.0.0
- dev-dependabot/composer/main/phpunit/phpunit-11.0.3
- dev-feat/aggressive-qa
- dev-dependabot/composer/develop/symfony/translation-5.3.4
- dev-dependabot/composer/develop/symfony/templating-5.3.4
- dev-dependabot/composer/develop/symfony/dotenv-5.3.4
- dev-dependabot/composer/develop/symfony/http-client-5.3.4
- dev-dependabot/composer/develop/symfony/security-guard-5.2.12
- dev-dependabot/composer/develop/phpstan/phpstan-0.12.93
- dev-dependabot/composer/develop/symfony/browser-kit-5.3.0
- dev-dependabot/composer/develop/symfony/validator-5.3.0
- dev-dependabot/composer/develop/doctrine/doctrine-migrations-bundle-3.1.1
- dev-dependabot/composer/develop/phpseclib/phpseclib-2.0.31
- dev-dependabot/composer/develop/knpuniversity/oauth2-client-bundle-2.8.0
- dev-dependabot/composer/develop/league/oauth2-google-4.0.0
- dev-dependabot/composer/develop/symfony/http-kernel-5.1.11
- dev-dependabot/composer/develop/jenssegers/optimus-1.1.0
- dev-dev-old
- dev-feature/symfony-update
- dev-symfony-port
- dev-feature/authentication
This package is auto-updated.
Last update: 2024-12-01 00:06:41 UTC
README
A simple server to capture incoming data from fermentation tracking hydrometers.
Supported:
- ISpindle
- Tilt
Todo's
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)
Example data
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