Commit Graph

44 Commits

Author SHA1 Message Date
a9dccae331 Extract Shade struct and create ShadeRepository 2024-05-04 20:40:07 +10:00
eee6cbef46 Update RFPowerView to v0.0.3 2024-04-04 21:22:07 +11:00
0a9e3c640c Use specific version of RFPowerView 2024-04-04 21:13:33 +11:00
39b61997d2 Add log message when a packet is received 2024-04-04 21:13:33 +11:00
7adbff6890 Add button to trigger a refresh in Home Assistant 2024-04-04 21:13:33 +11:00
97d450ab3e Add battery sensor in Home Assistant 2024-04-04 21:13:33 +11:00
55d114afd6 Add support for a refresh command 2024-04-04 21:13:32 +11:00
bbc54947b1 Changed command topic from /set to /command 2024-04-04 21:13:32 +11:00
01f2e267a9 Split discovery topic logic into smaller functions 2024-04-04 21:13:32 +11:00
42713c1bb1 Publish battery level to MQTT 2024-04-04 21:13:32 +11:00
0eba1a6f1b Create device in Home Assistant 2024-04-04 21:13:32 +11:00
be9de4a2f6 Add log when attempting to send a packet 2024-04-04 21:13:32 +11:00
a5c5a7ac19 Allow Home Assistant to discover the blinds 2024-04-04 21:13:32 +11:00
fcd4f81798 Add ArduinoJson library 2024-04-04 21:13:32 +11:00
3c190897ee Improve logic for fetching position while blind is moving or stopped 2024-04-04 21:13:32 +11:00
dbed260fd1 Publish a state topic for each shade 2024-04-04 21:13:31 +11:00
e02add87ff Fetch position every 2 seconds after sending a command 2024-04-04 21:13:31 +11:00
ccdbea4283 Allow controlling any blind in the house 2024-04-04 21:13:31 +11:00
8b835b6af0 Fetch position after stopping blind 2024-04-04 21:13:31 +11:00
62474c3911 Use timer to fetch position periodically after setting position 2024-04-04 21:13:31 +11:00
a1cd3656d4 Add arduino-timer library 2024-04-04 21:13:31 +11:00
9fb9c19a27 Added helper for sending a Packet 2024-04-04 21:13:31 +11:00
1838de5b35 Remove old comment 2024-04-04 21:13:31 +11:00
abd850399a Fetch the current position of the blind every 10 seconds 2024-04-04 21:13:31 +11:00
4d0af9e98d Add helper methods for sending various packets 2024-04-04 21:13:30 +11:00
c2c55d6764 Tracking rolling codes received from real hub 2024-04-04 21:13:30 +11:00
2bc7835dce Migrate Hotdog to RFPowerView 2024-04-04 21:13:30 +11:00
bdebcf83ff Shorten delay after sending command 2024-04-04 21:13:30 +11:00
194d1e96f3 Fetch position after sending a stop packet 2024-04-04 21:13:30 +11:00
18639220b8 Support building fetch position packets 2024-04-04 21:13:30 +11:00
f41e0edf56 Improve naming in PacketParser 2024-04-04 21:13:30 +11:00
cffae2bfe5 Publish blind position to MQTT when packet is received 2024-04-04 21:13:30 +11:00
80ea823fae Fix packetReceiver callback in Hotdog 2024-04-04 21:13:29 +11:00
0ec231cb0d Allow sending up, down, and stop packets from the hub address 2024-04-04 21:13:29 +11:00
7dfe523c52 Enable setting position from MQTT 2024-04-04 21:13:29 +11:00
f80cc9a6b9 Convert Hotdog sketch to PlatformIO 2024-04-04 21:13:29 +11:00
981c28f72e Add rolling codes for remote and hub 2024-04-04 21:13:29 +11:00
3051246cb2 Don't duplicate MQTT messages 2024-04-04 21:13:29 +11:00
d6a72c5811 Avoid initialising buffer twice 2024-04-04 21:13:29 +11:00
041f09896a Use PacketCRC helper 2024-04-04 21:13:29 +11:00
33551d7e01 Move print helpers to Hotdog.ino 2024-04-04 21:13:29 +11:00
207ffe9cc9 Update packet building logic to work with header byte 2024-04-04 21:13:29 +11:00
df13de502d Create Hotdog script to interface between MQTT and the radio 2024-04-04 21:13:28 +11:00
597a05fbc5 Initial commit 2024-04-04 21:12:54 +11:00