Pim van Pelt
862803b87b
Remove SSL mqtt; Switch to upstream OTA
2019-09-29 21:09:23 +02:00
Pim van Pelt
51ca1de390
Move to published Prometheus Sensors library
2018-11-21 00:10:46 +01:00
Pim van Pelt
9af4c4b3a6
Add notes for Sonoff 4CH updates (ensure to copy out timespec.chan*; remove 1MB build
2018-11-04 19:41:14 +01:00
Pim van Pelt
8624473386
Bump version to 1.4 -- now with timespec handling!
2018-11-04 19:19:36 +01:00
Pim van Pelt
af9db0395d
Add SNTP library
2018-11-04 15:42:08 +01:00
Pim van Pelt
5ebd4b112a
Make default app.config be nodemcu v2 board; Clear sensors.dht_gpio, make users actually set this
2018-11-04 14:11:10 +01:00
Pim van Pelt
3140cc72b8
Log to chumbucket by default, set the device hostname to 'test-device'
2018-11-01 14:48:01 +01:00
Pim van Pelt
08453f3b5d
Log by default to stderr/stdout, make user disable this explicitly for units which use GPIO 1,3
2018-11-01 14:11:21 +01:00
Pim van Pelt
7a5507d691
Set FLASH_SIZE to 1MB to flash ESP8285 Sonoff 4CH devices
2018-10-31 13:51:26 +01:00
Pim van Pelt
818c27c7ce
Add rpc-ws library; Remove UDP logging
2018-10-28 13:11:54 +01:00
Pim van Pelt
9ee393bc8a
Rebase private OTA libs on 2.7
2018-10-28 12:12:24 +01:00
Pim van Pelt
56a2ec21ab
Refactor prometheus-sensors into top-level directory; pull in DHT library
2018-04-17 18:12:41 +02:00
Pim van Pelt
8bf7b919cc
Factor out DHT
...
It's now its own library (in git@git.ipng.nl:pim/prometheus-sensors)
2018-03-04 16:38:54 +01:00
Pim van Pelt
6898ff8349
Add a simple Prometheus exporter.
2018-02-25 19:59:32 +01:00
Pim van Pelt
13d1ab1fa5
Add app.dht_gpio flag to find DHT sensors
...
Parse this comma separated string to find GPIO pins on which we must
enable DHT sensors. Seperators are space and comma.
Can be empty, single GPIO pins, or a list:
app.dht_gpio=""
app.dht_gpio="5"
app.dht_gpio="5,4,14"
app.dht_gpio="5 4 14"
app.dht_gpio="5, 4 14"
2018-02-13 01:15:14 +01:00
Pim van Pelt
bb62e9b6ae
Add DHT support.
...
Very rough stab just to test the waters -- this will need some
more work.
For now, hard code 4,5,15 pins (as per Sonoff SV), but before
rolling this out, add a config flag for this behavior.
Neat trick -- the presence of dht library in mos.yml triggers
inclusion of the code via define -DMGOS_HAVE_DHT=1
2018-02-11 13:20:36 +01:00
Pim van Pelt
a0909ab6a0
Blink statusled on recv/xmit MQTT messages; debounce 200ms; trigger button on release; Prime for sonoff-basic // sonoff-sv
2018-01-25 14:52:55 +01:00
Pim van Pelt
4679636fdc
Initial checkin.
2018-01-05 16:58:15 +01:00