Commit Graph

  • 32e0462a69 Move packet building and sending logic out of main.cpp main matt 2025-05-24 14:36:32 +10:00
  • b50edfa4aa Move configuration to json matt 2025-02-09 22:45:45 +11:00
  • 41af7b508f Replace arduino-timer with PositionWatcher matt 2025-01-20 22:46:01 +11:00
  • 680b6b3b6a Ignore .vscode/settings.json matt 2025-02-09 22:41:02 +11:00
  • 049037a0a1 Update ArduinoJson to 7.3.0 matt 2025-01-20 22:52:28 +11:00
  • ba6cca8992 Update RF24 to 1.4.11 matt 2025-01-20 22:52:13 +11:00
  • f90fa34a07 Move RF_ID to platformio.ini matt 2024-05-04 23:44:38 +10:00
  • a4c49bd3a5 Update ArduinoJson to v7.0.4 matt 2024-05-04 23:13:16 +10:00
  • 82fdc29f2a Modify helpers for publishing to accept a std::string matt 2024-05-04 23:11:29 +10:00
  • e8003772ef Configure shades via MQTT messages matt 2024-05-04 23:08:21 +10:00
  • 0458c70b47 Make topic prefix configurable matt 2024-05-04 22:54:02 +10:00
  • 7c24d6b411 Use a randomly generated suffix in MQTT client ID matt 2024-05-04 21:46:15 +10:00
  • 244af38c2b Continue setup if setting up RFPowerView fails matt 2024-05-04 21:44:42 +10:00
  • a71eeb1dec Setup environments to allow running tests matt 2024-05-04 21:37:10 +10:00
  • e60fa052df Log a warning when setting max packet size fails matt 2024-05-04 22:56:27 +10:00
  • 59b6ed281c Extract Home Assistant discovery logic matt 2024-05-04 20:54:38 +10:00
  • a9dccae331 Extract Shade struct and create ShadeRepository matt 2024-05-04 15:40:58 +10:00
  • eee6cbef46 Update RFPowerView to v0.0.3 matt 2024-04-04 21:22:07 +11:00
  • 0a9e3c640c Use specific version of RFPowerView matt 2024-02-18 23:40:56 +11:00
  • 39b61997d2 Add log message when a packet is received matt 2024-02-13 11:51:40 +11:00
  • 7adbff6890 Add button to trigger a refresh in Home Assistant matt 2024-02-13 11:51:31 +11:00
  • 97d450ab3e Add battery sensor in Home Assistant matt 2024-02-13 11:50:31 +11:00
  • 55d114afd6 Add support for a refresh command matt 2024-02-13 11:50:08 +11:00
  • bbc54947b1 Changed command topic from /set to /command matt 2024-02-13 11:49:57 +11:00
  • 01f2e267a9 Split discovery topic logic into smaller functions matt 2024-02-13 11:48:59 +11:00
  • 42713c1bb1 Publish battery level to MQTT matt 2024-02-13 11:39:17 +11:00
  • 0eba1a6f1b Create device in Home Assistant matt 2024-02-12 23:01:36 +11:00
  • be9de4a2f6 Add log when attempting to send a packet matt 2024-02-12 22:59:50 +11:00
  • a5c5a7ac19 Allow Home Assistant to discover the blinds matt 2024-01-04 21:16:05 +11:00
  • fcd4f81798 Add ArduinoJson library matt 2024-01-04 21:15:32 +11:00
  • 3c190897ee Improve logic for fetching position while blind is moving or stopped matt 2024-01-04 20:07:06 +11:00
  • dbed260fd1 Publish a state topic for each shade matt 2024-01-03 13:41:01 +11:00
  • e02add87ff Fetch position every 2 seconds after sending a command matt 2024-01-03 12:59:41 +11:00
  • ccdbea4283 Allow controlling any blind in the house matt 2024-01-03 11:34:15 +11:00
  • 8b835b6af0 Fetch position after stopping blind matt 2024-01-03 10:19:37 +11:00
  • 62474c3911 Use timer to fetch position periodically after setting position matt 2024-01-03 10:19:28 +11:00
  • a1cd3656d4 Add arduino-timer library matt 2024-01-03 10:18:49 +11:00
  • 9fb9c19a27 Added helper for sending a Packet matt 2024-01-03 10:18:30 +11:00
  • 1838de5b35 Remove old comment matt 2024-01-02 21:57:22 +11:00
  • abd850399a Fetch the current position of the blind every 10 seconds matt 2024-01-02 21:57:10 +11:00
  • 4d0af9e98d Add helper methods for sending various packets matt 2024-01-02 21:56:55 +11:00
  • c2c55d6764 Tracking rolling codes received from real hub matt 2024-01-02 21:56:22 +11:00
  • 2bc7835dce Migrate Hotdog to RFPowerView matt 2024-01-02 21:41:43 +11:00
  • bdebcf83ff Shorten delay after sending command matt 2023-12-15 22:40:20 +11:00
  • 194d1e96f3 Fetch position after sending a stop packet matt 2023-12-15 22:40:07 +11:00
  • 18639220b8 Support building fetch position packets matt 2023-12-15 22:39:52 +11:00
  • f41e0edf56 Improve naming in PacketParser matt 2023-12-15 15:55:31 +11:00
  • cffae2bfe5 Publish blind position to MQTT when packet is received matt 2023-12-13 20:59:03 +11:00
  • 80ea823fae Fix packetReceiver callback in Hotdog matt 2023-12-13 20:58:40 +11:00
  • 0ec231cb0d Allow sending up, down, and stop packets from the hub address matt 2023-12-11 07:31:06 +11:00
  • 7dfe523c52 Enable setting position from MQTT matt 2023-12-11 07:30:27 +11:00
  • f80cc9a6b9 Convert Hotdog sketch to PlatformIO matt 2023-12-11 07:11:17 +11:00
  • 981c28f72e Add rolling codes for remote and hub matt 2023-12-09 22:40:02 +11:00
  • 3051246cb2 Don't duplicate MQTT messages matt 2023-12-09 09:57:51 +11:00
  • d6a72c5811 Avoid initialising buffer twice matt 2023-12-09 09:57:26 +11:00
  • 041f09896a Use PacketCRC helper matt 2023-12-09 09:57:11 +11:00
  • 33551d7e01 Move print helpers to Hotdog.ino matt 2023-12-09 09:56:47 +11:00
  • 207ffe9cc9 Update packet building logic to work with header byte matt 2023-12-09 09:56:04 +11:00
  • df13de502d Create Hotdog script to interface between MQTT and the radio matt 2023-12-02 11:38:31 +11:00
  • 597a05fbc5 Initial commit matt 2024-04-04 21:12:54 +11:00