1
0
mirror of https://github.com/daniviga/bite.git synced 2024-11-22 21:16:12 +01:00
Commit Graph

35 Commits

Author SHA1 Message Date
2e0da9513d
Fix nginx upstream conf for the MQTT stream 2023-09-11 17:43:51 +02:00
c7db2bf1a8
Route MQTT via Nginx using strams. Remove Traefik 2023-09-11 17:39:26 +02:00
c020d2c9ad
Upgrade to PG15 (#30) 2023-09-09 13:24:13 +02:00
e4d6a15614 Complete API renaming into DPS. Add sample local_settings 2023-09-09 11:35:06 +02:00
79f5c516e0 Introduce DPS and improve kafka docker setup 2023-09-09 11:24:00 +02:00
398a62ded3 Run black 2023-09-09 10:00:48 +02:00
ea9f9ef705 Implement kafka in Docker compose and set group_id in handlers 2023-09-08 23:10:49 +02:00
49211437d2 WIP: extend docker compose 2023-09-08 18:14:14 +02:00
681f99d2f4
Allow to use a customer NTP server IP (#27)
* Add support for custom IP/Port for NTP on ESP32

* Backport changes from esp32

* NTP port is not currently used

* Make pytz dep explicit and update alpine
2021-12-08 22:27:42 +01:00
91b9c09c2b
Copyright update 2021-03-21 16:18:44 +01:00
e2203d0266
Project maintenance 2021-03-19 10:11:55 +01:00
fe61ebbd9d
Disable pip caching 2020-06-26 22:05:18 +02:00
c5418c0734
Better layering for Docker image 2020-06-26 22:03:30 +02:00
165ae3d3c0
API improvements (#22)
* Add swagger ui

* API improvements

* Fix nginx and pre-compile python to speedup start

* Add flake8 testing
2020-06-26 19:27:47 +02:00
ce88e47ed8
Add license headers (#21) 2020-06-21 23:34:54 +02:00
b0fe12f594
Reuse build cache in bite docker 2020-06-21 22:59:17 +02:00
be4c226955
Fix HTTP reverse proxy with embedded IoT (#20)
* Add an ENV far for custom docker binding

* Delay in Arduino can be customized

* Fix 400 error with Arduino telemetry and Nginx
This was caused by the client not waiting for a response.
Also Content-Length header was bogus.

* Do not crash mqtt-to-db if devices isn't proviosioned

* Update READMEs
2020-06-21 22:58:46 +02:00
b318c32485
Implement MQTT over WebSocket support (#19)
* Update README.md

* Change default port in EEPROM

* Add more docs

* Implement MQTT over WS

* Update diagrams

* Update README.md and fix travis

* Fix simulator.py

* Fix a warning in .travis.yml

* Sync travis with simulator.py

* Fix serial in EDGE composer
2020-06-21 15:21:00 +02:00
762605c5c4
Add testing suite (#18)
* Add some tests

* Add an example of NTP with encryption

* Enable TravisCI

* Run sims via Docker

* Improve simulators stage

* Final fix for travis

* Add README docs [skip ci]
2020-06-20 14:41:50 +02:00
b18030f5e5
Add static support and health-check (#17) 2020-06-18 19:09:46 +02:00
454c4b43cf
Use nginx by default as ingress (#16) 2020-06-18 00:02:28 +02:00
8e71d64f8f
Renaming to BITE (#15)
* Renaming, again

* Update README.md
2020-06-17 23:30:00 +02:00
09cf23554a
Project renaming (#14)
* Renaming

* Make Django migrations sync to DB availability
2020-06-17 20:08:10 +02:00
2a443815b0
Cleanup 2020-06-16 22:48:58 +02:00
8517190e72
Move edge-host in a custom compose 2020-06-15 22:53:02 +02:00
8e5a407b28
Implement MQTT ingestion and improve dockerization (#13)
* Add mqtt-to-db command

* Minor fixes

* Ignore production.py on git

* Add a production conf

* Add django container

* Add gunicorn for prod and traefik
2020-06-15 22:47:55 +02:00
0ee0b51078
Add time filtering to Telemetry (#12) 2020-06-10 23:17:30 +02:00
a7cebefbf5
Implement the MQTT protocol (#11)
* Add MQTT support on Arduino

* Add MQTT simulator

* Use a single python simulator

* Minor improvements to dockerfiles

* Add transport internal field to telemetry

* Add PubSubClient
2020-06-08 23:17:16 +02:00
bbb92100f8
Improve API endpoints (#10)
* Improve device API endpoints

* Arduino minor optimizations
2020-06-05 13:24:12 +02:00
b5e716ae5a
Send reasonable data with simulators 2020-06-04 18:06:37 +02:00
b6653c510d
Add a virtual EDGE which spawns http simulators (#8)
* Add dockerized python simulators

* Create an EDGE gateway via dind

* Fix README.md title
2020-06-03 19:26:35 +02:00
e4a3684951
Enable NTP (#6)
* Add ntpd server to the stack

* Enable NTP updates on Arduino

* Fix telemetry when clock is 0
2020-06-03 18:53:33 +02:00
0031a6420a
Add RabbitMQ to the stack and kombu 2020-06-02 23:20:34 +02:00
9e39d4c7d2
Implement IoT device and hub 2020-06-02 00:57:20 +02:00
c38622eaaf
Add docker-compose.yml placeholder 2020-05-29 14:28:38 +02:00