Commit Graph

33 Commits

Author SHA1 Message Date
matt be9de4a2f6 Add log when attempting to send a packet 2024-04-04 21:13:32 +11:00
matt a5c5a7ac19 Allow Home Assistant to discover the blinds 2024-04-04 21:13:32 +11:00
matt fcd4f81798 Add ArduinoJson library 2024-04-04 21:13:32 +11:00
matt 3c190897ee Improve logic for fetching position while blind is moving or stopped 2024-04-04 21:13:32 +11:00
matt dbed260fd1 Publish a state topic for each shade 2024-04-04 21:13:31 +11:00
matt e02add87ff Fetch position every 2 seconds after sending a command 2024-04-04 21:13:31 +11:00
matt ccdbea4283 Allow controlling any blind in the house 2024-04-04 21:13:31 +11:00
matt 8b835b6af0 Fetch position after stopping blind 2024-04-04 21:13:31 +11:00
matt 62474c3911 Use timer to fetch position periodically after setting position 2024-04-04 21:13:31 +11:00
matt a1cd3656d4 Add arduino-timer library 2024-04-04 21:13:31 +11:00
matt 9fb9c19a27 Added helper for sending a Packet 2024-04-04 21:13:31 +11:00
matt 1838de5b35 Remove old comment 2024-04-04 21:13:31 +11:00
matt abd850399a Fetch the current position of the blind every 10 seconds 2024-04-04 21:13:31 +11:00
matt 4d0af9e98d Add helper methods for sending various packets 2024-04-04 21:13:30 +11:00
matt c2c55d6764 Tracking rolling codes received from real hub 2024-04-04 21:13:30 +11:00
matt 2bc7835dce Migrate Hotdog to RFPowerView 2024-04-04 21:13:30 +11:00
matt bdebcf83ff Shorten delay after sending command 2024-04-04 21:13:30 +11:00
matt 194d1e96f3 Fetch position after sending a stop packet 2024-04-04 21:13:30 +11:00
matt 18639220b8 Support building fetch position packets 2024-04-04 21:13:30 +11:00
matt f41e0edf56 Improve naming in PacketParser 2024-04-04 21:13:30 +11:00
matt cffae2bfe5 Publish blind position to MQTT when packet is received 2024-04-04 21:13:30 +11:00
matt 80ea823fae Fix packetReceiver callback in Hotdog 2024-04-04 21:13:29 +11:00
matt 0ec231cb0d Allow sending up, down, and stop packets from the hub address 2024-04-04 21:13:29 +11:00
matt 7dfe523c52 Enable setting position from MQTT 2024-04-04 21:13:29 +11:00
matt f80cc9a6b9 Convert Hotdog sketch to PlatformIO 2024-04-04 21:13:29 +11:00
matt 981c28f72e Add rolling codes for remote and hub 2024-04-04 21:13:29 +11:00
matt 3051246cb2 Don't duplicate MQTT messages 2024-04-04 21:13:29 +11:00
matt d6a72c5811 Avoid initialising buffer twice 2024-04-04 21:13:29 +11:00
matt 041f09896a Use PacketCRC helper 2024-04-04 21:13:29 +11:00
matt 33551d7e01 Move print helpers to Hotdog.ino 2024-04-04 21:13:29 +11:00
matt 207ffe9cc9 Update packet building logic to work with header byte 2024-04-04 21:13:29 +11:00
matt df13de502d Create Hotdog script to interface between MQTT and the radio 2024-04-04 21:13:28 +11:00
matt 597a05fbc5 Initial commit 2024-04-04 21:12:54 +11:00