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

48 Commits

Author SHA1 Message Date
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
b15b88aab4
Update diagram [skip ci] 2020-06-22 11:17:40 +02:00
ff9157dc7e
Commit forgotten changes from last night 2020-06-22 09:48:45 +02:00
ce88e47ed8
Add license headers (#21) 2020-06-21 23:34:54 +02:00
d474dbe587
Minor README.md edit 2020-06-21 23:02:57 +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
76c60d96dd
Update README.md 2020-06-21 16:09:06 +02:00
fb92cd3198
Minor README.md change [skip ci] 2020-06-21 16:07:02 +02:00
ddf6334b18
Add badges [skip ci] 2020-06-21 16:02:59 +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
05a5271e9a
Add schemas [skip ci] 2020-06-20 16:36:28 +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
648608525d
Fix eeprom_prog.ino indent 2020-06-17 20:13:02 +02:00
09cf23554a
Project renaming (#14)
* Renaming

* Make Django migrations sync to DB availability
2020-06-17 20:08:10 +02:00
32b6350c35
Use shared subscription 2020-06-16 23:09:14 +02:00
2a443815b0
Cleanup 2020-06-16 22:48:58 +02:00
ffc12992c4
Switch Arduino to MQTT 2020-06-16 13:12:09 +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
253411c0fd
Telemetry is a POST only and filter GET by device (#9) 2020-06-05 00:15:31 +02:00
973ca2decb
Convert submodules in http 2020-06-04 22:31:34 +02:00
23de743fdf
Add Arduino libraries submodules 2020-06-04 22:29:54 +02:00
b5e716ae5a
Send reasonable data with simulators 2020-06-04 18:06:37 +02:00
bb0e043bf9
Add API subscription to Arduino sketch 2020-06-03 23:53:25 +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
4cebe6a8f5
Manage serial numbers on POST (#7)
* Update subscription if exists

* POST with serial #
2020-06-03 18:57:53 +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
5768ed9390
Merge pull request #3 from daniviga/hyperscale
Convert Telemetry into an hyperscale table
2020-06-02 23:35:05 +02:00
634746105a
Convert Telemetry into an hyperscale table 2020-06-02 23:34:11 +02:00
0031a6420a
Add RabbitMQ to the stack and kombu 2020-06-02 23:20:34 +02:00
d993da8d47
Merge pull request #1 from daniviga/eeprom
Move Arduino settings to EEPROM
2020-06-02 22:41:19 +02:00
2cb8a1b537
Add Arduino sketch svg 2020-06-02 22:39:41 +02:00
1b0d069b1d
Read config from EEPROM 2020-06-02 22:38:20 +02:00
09b90e41f0
Add ino sketch to program EEPROM 2020-06-02 22:38:05 +02:00
64def2a70e
EEPROM experiments 2020-06-02 00:58:01 +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
0431285a0d
Bootstrap Django project 2020-05-29 14:27:38 +02:00
c162b22488
Initial commit 2020-05-29 14:20:21 +02:00