Robert Marshall
|
89fddc9d43
Change target to broadcast address to facilitate easy unit replacement.
|
2 سال پیش |
Robert Marshall
|
608febeed1
Convert to use ESP8266 (ESP-NOW)
|
4 سال پیش |
Robert Marshall
|
64db43eb82
Account for millis() overflow after 50 days.
|
4 سال پیش |
Robert Marshall
|
03923aa6ba
Fix include
|
4 سال پیش |
Robert Marshall
|
62b26ff593
Rename PIR to Motion and add parameter to wait on setup for if you're using a PIR sensor.
|
4 سال پیش |
Robert Marshall
|
1a9532e38a
If we don't get a status update for 30 seconds, turn off.
|
5 سال پیش |
Robert Marshall
|
728b0ba3b2
Add "calibration" for PIR at startup
|
5 سال پیش |
Robert Marshall
|
c7d6d13d08
Move parameters to variables file
|
5 سال پیش |
Robert Marshall
|
47a13f883b
Move LED code to common directory. Implement in transmitter
|
5 سال پیش |
Robert Marshall
|
106ac18833
Replace button for PIR sensor with 5 second on time.
|
5 سال پیش |
Robert Marshall
|
61148d767c
Move from RFTransmitter library to RadioHead for more reliable comms. Add timer to resend message at set interval.
|
5 سال پیش |
Robert Marshall
|
57697a5796
Move from RFTransmitter library to RadioHead for more reliable comms. Add timer to resend message at set interval.
|
5 سال پیش |
Robert Marshall
|
3dcdc41de9
Only reset LED state when there's a state change.
|
5 سال پیش |
Robert Marshall
|
07f6e1c1f0
Fix typo
|
5 سال پیش |
Robert Marshall
|
8b6e5efe2c
Committing totally untested code for a PIR sensor class with timing independent of sensor.
|
5 سال پیش |
Robert Marshall
|
75b6b600a6
Add different fade on and off times. Compensate for change mid cycle. Inadvertently fix bug where multiplier was wrong way round.
|
5 سال پیش |
Robert Marshall
|
0a586fc30c
Fade from current position.
|
5 سال پیش |
Robert Marshall
|
32e180685b
Make fade inclusive of upper bound
|
5 سال پیش |
Robert Marshall
|
fa11075e2f
Fade LED in and out
|
5 سال پیش |
Robert Marshall
|
3887540703
Add LED class for managing LED output
|
5 سال پیش |
Robert Marshall
|
8fd8faa313
Act on message
|
5 سال پیش |
Robert Marshall
|
c2808802cd
Change RF library for more reliable comms
|
5 سال پیش |
Robert Marshall
|
7b8498c7ee
Abstract receiver for later refactoring
|
5 سال پیش |
Robert Marshall
|
ad3c34dfeb
Abstract code for transmittion for later refactoring
|
5 سال پیش |
Robert Marshall
|
589067ab08
Parse and validate message
|
5 سال پیش |
Robert Marshall
|
05ba8c6729
Drive an output based on the message
|
5 سال پیش |
Robert Marshall
|
71ed75348c
Print debug and transmit message on same line
|
5 سال پیش |
Robert Marshall
|
7ae96a9b98
Update button constructor
|
5 سال پیش |
Robert Marshall
|
ba7b89ad5f
Send on and off signals
|
5 سال پیش |
Robert Marshall
|
cf8cf2908c
Add a button input
|
5 سال پیش |