1
0
mirror of https://github.com/daniviga/bite.git synced 2024-12-23 16:51:25 +01:00
Commit Graph

15 Commits

Author SHA1 Message Date
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
adcaa6104f
Add ESP32 example 2021-03-21 23:57:00 +01:00
91b9c09c2b
Copyright update 2021-03-21 16:18:44 +01:00
ce88e47ed8
Add license headers (#21) 2020-06-21 23:34:54 +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
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
ffc12992c4
Switch Arduino to MQTT 2020-06-16 13:12:09 +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
bb0e043bf9
Add API subscription to Arduino sketch 2020-06-03 23:53:25 +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
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
9e39d4c7d2
Implement IoT device and hub 2020-06-02 00:57:20 +02:00